logo
Pages: [1] 2 3 ... 6
  Print  
Author Topic: Happy New Year  (Read 1970 times)
Offline (Male) Josh @ Dreamland
Posted on: January 01, 2010, 02:55:36 AM

Pragma
Dev Team
Posts: 1078
MSN Messenger - JoshV@zoominternet.net
View Profile Email
And a happy new decade along with that.

I just finished getting cpp_type_traits.h to parse correctly. That's an accomplishment. Along with that, however, is a regular type_traits.h, which I will be attacking next.

I don't want to give a release date after what happened last time, but I realize now that release dates are the only reason releases happen, so I guess I'm going to have to set one before the end of the month. I don't want to name the date I'm fancying now, some may be able to guess, but the rest of you can just not get your hopes up until I see what the rest of STL brings.

Anyway, a happy new year (and decade) to everyone, and quick recovery to some of my drunker friends.

...I can't stay awake much longer.
I thought this was working a minute ago, but evidently it was just something similar.

Code: [Select]
  template<bool, typename>
    struct __enable_if
    { };

  template<typename _Tp>
    struct __enable_if<true, _Tp>
    { _Tp __type; };

Honestly, it'd help to have a list of all template hacks up front. No, not just a reference on templates. A list of these goddamn hacks.

Anyway, good night.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Fede-lasse
Reply #1 Posted on: January 01, 2010, 07:34:43 AM

AI Programmer
Member
Posts: 185
Warn: 45% (watched)

MSN Messenger - lasse1706@hotmail.com
View Profile Email
Sounds good that you can finally tell us a loose release date.

And again, have a good time in dreamland.
Logged
Go to my topic for some nifty tips, and here if you want to see my public folder.
Offline (Unknown gender) freezway
Reply #2 Posted on: January 01, 2010, 11:04:28 PM

Member
Posts: 181

View Profile
"so I guess I'm going to have to set one before the end of the month." <- do you mean R4 will be released or u'll set a release date?
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Female) IsmAvatar
Reply #3 Posted on: January 02, 2010, 03:03:25 AM

LateralGM Developer
LGM Developers
Posts: 300

View Profile Email
add $year $year 1
beq $year 2012 END_OF_THE_WORLD
jump NEW_YEARS_DAY
Logged
Offline (Male) Fede-lasse
Reply #4 Posted on: January 02, 2010, 05:46:54 AM

AI Programmer
Member
Posts: 185
Warn: 45% (watched)

MSN Messenger - lasse1706@hotmail.com
View Profile Email
add $year $year 1
beq $year 2012 END_OF_THE_WORLD
jump NEW_YEARS_DAY
Hoax.
Logged
Go to my topic for some nifty tips, and here if you want to see my public folder.
Offline (Male) kkg
Reply #5 Posted on: January 02, 2010, 08:29:45 AM

Member
Posts: 56
MSN Messenger - kamikazigames@gmail.com
View Profile Email
Also for all the newbies, I >>assume<< that when he means R4 is released it's just the ENIGMA parser itself, not 100% complete with all GM functions.

But that also means that once that's released, the gm functions will very quickly be filled in ;p

Thanks Josh you update k1ng, and Happy New Years everyone :D:D
Logged
Corei7-930 OC'd @ 3.5ghz | 6gb G.Skill Trident DDR3-1600 | 2x GeForce GTX 260 SLi | Win7 Pro 64-Bit / AcromOS 64-bit / Kubuntu 9.10 64+32-Bit
[GML, PHP/SQL, HTML(XHTML,XML etc)]
Time may be the greatest teacher, however it unfortunately kills all its pupils.
Offline (Male) Josh @ Dreamland
Reply #6 Posted on: January 02, 2010, 10:10:39 AM

Pragma
Dev Team
Posts: 1078
MSN Messenger - JoshV@zoominternet.net
View Profile Email
kkg--
Correct. The parser will need some testing by the general userbase. I have a file of general GML to run it on, but there are so many new scenarios... It'll be best just to have a bunch of users bombard it with test code while some other C coders and I do more functions.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) freezway
Reply #7 Posted on: January 02, 2010, 01:41:27 PM

Member
Posts: 181

View Profile
If it works on Linux i'll test the hell out of it.
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Female) serprex
Reply #8 Posted on: January 02, 2010, 04:44:16 PM
Smooth ER
Dev Team
Posts: 92

View Profile
R4 isn't just a new parser. It'll also be when Josh decides to finally merge in my R3 branch's ENIGMAsystem which is a branch of his updated R3 ENIGMAsystem
Logged
Offline (Unknown gender) score_under
Reply #9 Posted on: January 02, 2010, 06:10:20 PM

Member
Posts: 314

View Profile
add $year $year 1
beq $year 2012 END_OF_THE_WORLD
jump NEW_YEARS_DAY
What horrible dialect of ASM is that, that starts variables with $ and mixes "B" and "JMP" ("JUMP"?) notations?
Logged
Offline (Female) IsmAvatar
Reply #10 Posted on: January 03, 2010, 02:06:33 AM

LateralGM Developer
LGM Developers
Posts: 300

View Profile Email
It's loosely MIPS. I actually copy pasted it from a friend. If I were to make it more accurate, I would have used "addi" instead of "add" and "j" instead of "jump"
Logged
Offline (Unknown gender) luiscubal
Reply #11 Posted on: January 03, 2010, 04:48:53 PM
Member
Posts: 256

View Profile Email
Ism's code:

Increments year
Branches on equal if year is 2012
then jumps to new years day

In C:
Code: [Select]
++year;
if(year==2012) goto END_OF_THE_WORLD;
goto NEW_YEARS_DAY;

All register names(such as $t0, $s0, $0, etc. start with a $) in MIPS 32.
Logged
Offline (Female) serprex
Reply #12 Posted on: January 03, 2010, 04:56:24 PM
Smooth ER
Dev Team
Posts: 92

View Profile
gnu99, single statement: goto*(++year==2012?&&END_OF_THE_WORLD:&&NEW_YEARS_DAY);
« Last Edit: January 03, 2010, 04:59:26 PM by serprex » Logged
Offline (Male) Fede-lasse
Reply #13 Posted on: January 04, 2010, 10:13:39 AM

AI Programmer
Member
Posts: 185
Warn: 45% (watched)

MSN Messenger - lasse1706@hotmail.com
View Profile Email
kkg--
Correct. The parser will need some testing by the general userbase. I have a file of general GML to run it on, but there are so many new scenarios... It'll be best just to have a bunch of users bombard it with test code while some other C coders and I do more functions.
Remember to remind me so that I can return back to C++ and make functions :D
Logged
Go to my topic for some nifty tips, and here if you want to see my public folder.
Offline (Unknown gender) score_under
Reply #14 Posted on: January 04, 2010, 02:27:55 PM

Member
Posts: 314

View Profile
It's loosely MIPS. I actually copy pasted it from a friend. If I were to make it more accurate, I would have used "addi" instead of "add" and "j" instead of "jump"
In that case... let me rewrite it in X86 ASM, slightly more relevant :p

Code: [Select]
inc dword[year]
cmp dword[year],2012
jz END_OF_THE_WORLD
jmp NEW_YEARS_DAY

Though really, a JMP after a JZ is only excusable if you're reusing that code somewhere else or if NEW_YEARS_DAY in fact contains this code and is the start of a loop.
Logged
Pages: [1] 2 3 ... 6
  Print