Pages: 1
  Print  
Author Topic: WHAT IS THIS I DON'T EVEN  (Read 9128 times)
Offline (Male) Josh @ Dreamland
Posted on: April 25, 2010, 12:06:21 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Most of the progress reports have been going on at ENIGMA's composed-due-to-popular-opinion IRC channel on Freenode, #enigma-dev.
However, I figure it's a good idea to post what's been happening here as well.

Several bugs between platforms have been found, isolated, and corrected. ENIGMA now operates correctly on every Windows version and Linux distro on which it has been tested thus far. That includes mostly Ubuntu 9.xx and Windows XP, Vista, and 7. I could not test on 98 due to Code::Blocks not starting and me being too lazy to do anything about that. :P

Further, the fixed bugs include the following:
- Some string fixes (waiting for Ism's confirmation)
- x() being randomly defined as a function due to ## mishandling
- Freezing on XP if sprite load fails (which it always does for now)
- Variable overlap on systems where sizeof(size_t) != sizeof(unsigned)
- Failure to load function names for syntax check due to any of the above
- Many smaller things that just needed dealt with

Things that still need to be fixed:
- Minuscule memory leak during C parsing: I will run Valgrind when this is the most pressing of my concerns

Things that need done in general:
- Makeflies need written: I've learned enough make (it was surprisingly easy) and will do this next
- Sprites need added to exe after build: This couldn't be done without the makefile
- Pieces of R3 need salvaged now that the rest seems stable; these include script "linking" and build mode.
- Some pieces of individual graphics systems and window systems need moved to a parent file in ../ to simplify further implementation
- There are at least ten "TODO:" notes lying around the project.

I'm content to leave ENIGMA in the SVN for a while longer, but can probably put out the zip file for those who for some reason do not like operating on a direct line to updates.
Perhaps Ism can implement something to call a quick makefile in CompilerSource in order to allow for easy distribution... I will discuss that with her shortly.
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) The 11th plague of Egypt
Reply #1 Posted on: April 25, 2010, 01:22:15 pm
Member
Joined: Dec 2009
Posts: 274

View Profile
Good luck fixing.
Logged
Offline (Male) retep998
Reply #2 Posted on: April 25, 2010, 03:44:45 pm

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
GOGOGO
YOUCANDOIT
Logged
Offline (Male) RetroX
Reply #3 Posted on: April 25, 2010, 07:46:10 pm

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
!give
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) retep998
Reply #4 Posted on: April 25, 2010, 09:51:54 pm

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
!gaf
Attempting to give fuck...
Lacking sufficient resources...
Aborting...
Logged
Offline (Male) kkg
Reply #5 Posted on: April 25, 2010, 10:06:01 pm

Member
Location: Australia
Joined: Nov 2009
Posts: 84
MSN Messenger - kamikazigames@gmail.com
View Profile Email
It's always good you typing it up here though, sometimes when you say stuff on IRC i have to go googling for a bit to find out what half of the stuff means :D It's a good learning experience though, so I don't mind. Once sprites get added, does that mean we can start using colligma? or is that still under progress?
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.
Offline (Male) Josh @ Dreamland
Reply #6 Posted on: April 25, 2010, 10:21:05 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Luda lost the entirety of Colligma in a hard drive crash. He has someone trying to recover it. ...Think I better get his code versioned so things like this don't keep happening. <_<
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) luiscubal
Reply #7 Posted on: April 26, 2010, 12:04:15 pm
Member
Joined: Jun 2009
Posts: 452

View Profile Email
Quote
Luda lost the entirety of Colligma in a hard drive crash. He has someone trying to recover it. ...Think I better get his code versioned so things like this don't keep happening. <_<
That is the point of versioning and (one of the reasons) why most modern dev teams use versioning systems.
You really should put the whole ENIGMA in SVN, HG, GIT or something and update it regularly(otherwise it is pointless).
Logged
Offline (Male) retep998
Reply #8 Posted on: April 26, 2010, 12:50:36 pm

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
Quote
Luda lost the entirety of Colligma in a hard drive crash. He has someone trying to recover it. ...Think I better get his code versioned so things like this don't keep happening. <_<
You really should put the whole ENIGMA in SVN, HG, GIT or something and update it regularly(otherwise it is pointless).
Josh already did a long time ago, and I've been seeing a lot of updates recently
Colligma isn't part of enigma yet, so it's not in the svn.
Logged
Offline (Unknown gender) luiscubal
Reply #9 Posted on: April 27, 2010, 10:58:10 am
Member
Joined: Jun 2009
Posts: 452

View Profile Email
Quote
Colligma isn't part of enigma yet
Then it should have its own SVN.
Logged
Offline (Male) retep998
Reply #10 Posted on: April 27, 2010, 11:04:58 am

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
Quote
Quote
Colligma isn't part of enigma yet
Then it should have its own SVN.
Quote
Think I better get his code versioned so things like this don't keep happening. <_<
Josh, we're waiting for you to get Luda's code versioned!
Logged
Offline (Unknown gender) freezway
Reply #11 Posted on: May 02, 2010, 09:52:41 pm

Member
Joined: Dec 2009
Posts: 220

View Profile
Code: [Select]
Makefile:51: target `link-standalone' given more than once in the same rule.
g++ -Wall -g  -fPIC -c cfile_parse/cfile_parse.cpp -o cfile_parse/cfile_parse.o
g++ -Wall -g  -fPIC -c cfile_parse/cfile_parse_macros.cpp -o cfile_parse/cfile_parse_macros.o
g++ -Wall -g  -fPIC -c cfile_parse/cfile_pushing.cpp -o cfile_parse/cfile_pushing.o
g++ -Wall -g  -fPIC -c cfile_parse/cparse_components.cpp -o cfile_parse/cparse_components.o
g++ -Wall -g  -fPIC -c cfile_parse/cparse_shared.cpp -o cfile_parse/cparse_shared.o
g++ -Wall -g  -fPIC -c cfile_parse/expression_evaluator.cpp -o cfile_parse/expression_evaluator.o
g++ -Wall -g  -fPIC -c cfile_parse/handle_letters.cpp -o cfile_parse/handle_letters.o
g++ -Wall -g  -fPIC -c cfile_parse/keyword_operator.cpp -o cfile_parse/keyword_operator.o
g++ -Wall -g  -fPIC -c cfile_parse/macro_functions.cpp -o cfile_parse/macro_functions.o
g++ -Wall -g  -fPIC -c cfile_parse/main.cpp -o cfile_parse/main.o
g++ -Wall -g  -fPIC -c cfile_parse/skipping.cpp -o cfile_parse/skipping.o
g++ -Wall -g  -fPIC -c cfile_parse/template_handlers.cpp -o cfile_parse/template_handlers.o
g++ -Wall -g  -fPIC -c compiler/compile.cpp -o compiler/compile.o
compiler/compile.cpp:53:34: error: compile_organization.h: No such file or directory
compiler/compile.cpp: In function ‘int compileEGMf(EnigmaStruct*, const char*, int)’:
compiler/compile.cpp:168: error: ‘parsed_script’ was not declared in this scope
compiler/compile.cpp:168: error: ‘scripts’ was not declared in this scope
compiler/compile.cpp:169: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:169: error: template argument 2 is invalid
compiler/compile.cpp:169: error: template argument 4 is invalid
compiler/compile.cpp:169: error: invalid type in declaration before ‘;’ token
compiler/compile.cpp:177: error: ‘E_ERROR_SYNTAX’ was not declared in this scope
compiler/compile.cpp:179: error: expected type-specifier before ‘parsed_script’
compiler/compile.cpp:179: error: expected ‘;’ before ‘parsed_script’
compiler/compile.cpp:196: error: ‘curscript’ was not declared in this scope
compiler/compile.cpp:199: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:199: error: template argument 2 is invalid
compiler/compile.cpp:199: error: template argument 4 is invalid
compiler/compile.cpp:199: error: expected initializer before ‘subscr’
compiler/compile.cpp:200: error: ‘subscr’ was not declared in this scope
compiler/compile.cpp:200: error: request for member ‘end’ in ‘scr_lookup’, which is of non-class type ‘int’
compiler/compile.cpp:211: error: ‘curscript’ was not declared in this scope
compiler/compile.cpp:216: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:216: error: template argument 2 is invalid
compiler/compile.cpp:216: error: template argument 4 is invalid
compiler/compile.cpp:216: error: expected initializer before ‘subscr’
compiler/compile.cpp:217: error: ‘subscr’ was not declared in this scope
compiler/compile.cpp:217: error: request for member ‘end’ in ‘scr_lookup’, which is of non-class type ‘int’
compiler/compile.cpp:262: error: ‘E_ERROR_SYNTAX’ was not declared in this scope
compiler/compile.cpp:289: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:289: error: template argument 2 is invalid
compiler/compile.cpp:289: error: template argument 4 is invalid
compiler/compile.cpp:289: error: expected initializer before ‘subscr’
compiler/compile.cpp:290: error: ‘subscr’ was not declared in this scope
compiler/compile.cpp:290: error: request for member ‘end’ in ‘scr_lookup’, which is of non-class type ‘int’
compiler/compile.cpp:295: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:295: error: template argument 2 is invalid
compiler/compile.cpp:295: error: template argument 4 is invalid
compiler/compile.cpp:295: error: expected initializer before ‘subscr’
compiler/compile.cpp:296: error: ‘subscr’ was not declared in this scope
compiler/compile.cpp:296: error: request for member ‘end’ in ‘scr_lookup’, which is of non-class type ‘int’
compiler/compile.cpp:416: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:416: error: template argument 2 is invalid
compiler/compile.cpp:416: error: template argument 4 is invalid
compiler/compile.cpp:416: error: expected initializer before ‘subscr’
compiler/compile.cpp:417: error: ‘subscr’ was not declared in this scope
compiler/compile.cpp:417: error: request for member ‘end’ in ‘scr_lookup’, which is of non-class type ‘int’
compiler/compile.cpp:475: error: ‘parsed_script’ cannot appear in a constant-expression
compiler/compile.cpp:475: error: template argument 2 is invalid
compiler/compile.cpp:475: error: template argument 4 is invalid
compiler/compile.cpp:475: error: expected initializer before ‘subscr’
compiler/compile.cpp:476: error: ‘subscr’ was not declared in this scope
compiler/compile.cpp:476: error: request for member ‘end’ in ‘scr_lookup’, which is of non-class type ‘int’
compiler/compile.cpp:589: error: ‘E_ERROR_SYNTAX’ was not declared in this scope
compiler/compile.cpp:623: error: ‘E_ERROR_BUILD’ was not declared in this scope
make: *** [objects] Error 1

rev. 202
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 #12 Posted on: May 03, 2010, 11:56:55 pm

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
r203 replaces those errors with complaints about stdio and fflush, at the very least in parser/collect_variables.cpp and parser/parser.cpp
Logged
Pages: 1
  Print