Josh @ Dreamland
|
 |
Posted on: January 01, 2010, 02:55:36 am |
|
|
Prince of all Goldfish
 Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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.
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
|
|
|
Post made January 01, 2010, 07:34:43 am was deleted at the author's request.
|
freezway
|
 |
Reply #2 Posted on: January 01, 2010, 11:04:28 pm |
|
|
 Joined: Dec 2009
Posts: 220
|
"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
|
|
|
|
Post made January 02, 2010, 05:46:54 am was deleted at the author's request.
|
kkg
|
 |
Reply #5 Posted on: January 02, 2010, 08:29:45 am |
|
|
 Location: Australia Joined: Nov 2009
Posts: 84
|
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
|
|
|
Logged
|
PC: Core i7-2600 @ 3.8ghz | 4x 4gb G.Skill RipjawZ DDR3-2000 | GTX580 | Win7 x64 Time is the greatest teacher, however it kills every single one of its pupils.
|
|
|
Josh @ Dreamland
|
 |
Reply #6 Posted on: January 02, 2010, 10:10:39 am |
|
|
Prince of all Goldfish
 Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
freezway
|
 |
Reply #7 Posted on: January 02, 2010, 01:41:27 pm |
|
|
 Joined: Dec 2009
Posts: 220
|
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
|
|
|
|
|
|
|
|
score_under
|
 |
Reply #13 Posted on: January 04, 2010, 02:27:55 pm |
|
|
 Joined: Aug 2008
Posts: 308
|
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 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
|
|
|
|
|
|