74879 Commits

Author SHA1 Message Date
Eugene Sandulenko
5f0f0193f9 DIRECTOR: Lingo: Fix splitting code to sections 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
e1b2759d06 DIRECTOR: Lingo: Initial code for factory/method definition 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
2676e252e4 DIRECTOR: Lingo: Added bytecode doc from http://fileformats.archiveteam.org/wiki/Lingo_bytecode 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
7c0bb9e6a1 DIRECTOR: Lingo: Added 'factory' keyword test 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
a84d8c44e4 DIRECTOR: Lingo: Initial code for splitting factory and method input 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
8b20d3d67b DIRECTOR: Lingo: Distinguish same name the fields for different the entities 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
c6406042af DIRECTOR: Lingo: Extended 'the' test 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
fb81d0b823 DIRECTOR: Lingo: Better error handling for 'the' entities 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0ad467f832 DIRECTOR: Lingo: Do not error out on non-existent sprites/casts 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
d08e030da6 DIRECTOR: Lingo: Implement setting the entity fields 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
9763b62a78 DIRECTOR: Lingo: Implement getting the entity fields 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
e15915b6a3 DIRECTOR: Lingo: Process simple 'the' entities 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
8136267ada DIRECTOR: Lingo: Use namespace in lexer 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
3a4fbc9367 DIRECTOR: Lingo: Initial code for 'the' entity handling 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
52fa9646b0 DIRECTOR: Lingo: Improved support for multiple 'else if' statements 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
d72670e29d DIRECTOR: Lingo: Fix multiline if() statement 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
fa4c1710d1 DIRECTOR: Lingo: Smoother tests handling 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
847b1c0a03 DIRECTOR: Lingo: Do not error out on unacceptable characters in toLowercaseMac() 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
903f57ab2d DIRECTOR: Lingo: Fix loop test 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
5e99a9858b DIRECTOR: Lingo: Gracefully return when movie does not exits 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
4d2e4a8c73 DIRECTOR: Lingo: Nicer error recovery during execution 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
ffdb3f9d0f DIRECTOR: Lingo: Fix if() statement code generation 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
d86b95b307 DIRECTOR: Lingo: Fix compilation for scripts with no leading spaces 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
7f87a90179 DIRECTOR: Lingo: Fix crash on parse error 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
c4e1d08d4a DIRECTOR: Added default Mac palette 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
dff575bea4 DIRECTOR: Lingo: Further work on if() statement 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
aa45e48355 DIRECTOR: Lingo: Better error recovery and further work on if() statements 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
855db111fc DIRECTOR: Lingo: Execute test suite 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
bb7e9b64b6 DIRECTOR: Unify dumpScript() signature 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
9c8848b8ff DIRECTOR: Dump scripts before execution, not after 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
46138a2c9d DIRECTOR: Lingo: Made addCode() accept const char * 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
1f0005c4e2 DIRECTOR: Lingo: Initial code for Lingo test suite. Uses special game target 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
6b4cff2645 DIRECTOR: Added detection for Windows JMP version 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
31ec69c0e8 DIRECTOR: Added detection for Spaceship Warlock 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
e11c036ba8 DIRECTOR: Lingo: Fix multiline if() statements 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
1673eeba70 DIRECTOR: Lingo: Print VOID type 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
4552b2b056 JANITORIAL: Fix whitespaces 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
996b909b0e DIRECTOR: Lingo: FLOAT actually has to have double precision. Switching. 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
0b64438dbd DIRECTOR: Lingo: Added more 'the' entities. Implemented the floatPrecision entity 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
da408c0ad0 DIRECTOR: Lingo: Implement 'contains' and 'starts' string operators 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
8084989605 DIRECTOR: Lingo: Implemented chars() function and added more debug for type printing 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
bb8fd6a899 DIRECTOR: Lingo: Implemented length() built-in function 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
40856e6d06 DIRECTOR: Lingo: Implemented string() built-in function 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
a8498f41a0 DIRECTOR: Lingo: Made & and && work with any type 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
82f78708e7 DIRECTOR: Lingo: Fixed <> operator, added logical operations and && 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
458d1e5f78 DIRECTOR: Lingo: Aligned Datum and Symbol union member names 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
caa2988293 DIRECTOR: Lingo: Fixed c_eval and made correctly processing different types 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
cca71376b7 DIRECTOR: Lingo: Implemented '&' string operator 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
598be95ab4 DIRECTOR: Lingo: Support string Datum printing 2016-08-03 23:40:36 +02:00
Eugene Sandulenko
4763228ef3 DIRECTOR: Lingo: Added string constants as expressions 2016-08-03 23:40:36 +02:00