Josh @ Dreamland
|
|
Posted on: December 20, 2009, 07:15:09 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Serp's been working on fixing up R3 with the R4 code. He's on Ubuntu, and stuff seems to just not want to work for him. The entire parser kinda stopped working for him, halting and all... Not really sure why.
As for me, I'm working on this last little piece of C++:
template<class c> struct squirrel { int nuts; int tree; }; squirrel<bool> epitome;
template<> struct squirrel<1> { int SHIIIIII; }; template<> struct squirrel<2> { int WEEEEEEE; }; As soon as that parses correctly, the STL headers should all parse, and then it'll all be over.
To be honest, I'll probably have R4 done before serp finishes making R3's compiler work on Linux.
|
|
|
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
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #3 Posted on: December 21, 2009, 09:14:16 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
That is test code for the parser. The actual code it will be parsing is much worse.
|
|
|
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
|
|
|
|
Josh @ Dreamland
|
|
Reply #5 Posted on: December 21, 2009, 11:09:50 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Serp chooses to use -1 in place of npos because string should never exceed 32 bit size limit anyway, which is rational, but I prefer to just use size_t because that's apparently the expectation and if it fails, it's STL's fault.
EDIT: *eats hat*
|
|
« Last Edit: December 21, 2009, 12:32:42 pm by Josh @ Dreamland »
|
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
|
|
|
|
Josh @ Dreamland
|
|
Reply #7 Posted on: December 21, 2009, 08:07:55 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
It does make a difference. Instead of size_t, R3 used unsigned int. Comparing it to npos would always return false. Serp's solution was to use unsigned(-1) instead, mine was to just use size_t instead of unsigned int.
|
|
|
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
|
|
|
|
Josh @ Dreamland
|
|
Reply #9 Posted on: December 22, 2009, 08:06:15 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
Yoyo prefers unfulfillable release dates to progress reports.
|
|
|
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
|
|
|
|
|