Commit Graph
174 Commits
Author SHA1 Message Date
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Eugene Sandulenko e135dad5ac DIRECTOR: Lingo: Added another if statement variant 2017-03-29 22:17:18 +02:00
Eugene Sandulenko 74e923d42a DIRECTOR: Lingo: Added tTHENNL token 2017-03-29 22:17:18 +02:00
Eugene Sandulenko 6a96a062c7 DIRECTOR: Lingo: Fix parsing D4 variant of 'on ...' clause 2017-03-07 19:34:41 +01:00
Eugene Sandulenko 45dcd06eff DIRECTOR: Lingo: Added definition for 'on' clauses without 'end' 2017-03-07 18:17:31 +01:00
Eugene Sandulenko bb4b96bcab DIRECTOR: Lingo: Avoid pushing fake values on stack 2017-02-22 13:42:01 +01:00
Eugene Sandulenko 0b64be9773 DIRECTOR: Lingo: Move repeat..with, repeat..while and when to relative addresses
This makes whole Lingo compiled code relocatable
2017-02-22 12:31:56 +01:00
Eugene Sandulenko 9dfb8ffd12 DIRECTOR: Lingo: Turned if() statement code into relative jumps
This will let us relocate code as we want, particularly when a
macro/handler is defined
2017-02-22 12:05:19 +01:00
Eugene Sandulenko ed1d606e9f DIRECTOR: Lingo: Implemented stub for REFERENCE built-ins 2017-02-12 11:35:50 +01:00
Eugene Sandulenko a243a479ae DIRECTOR: Lingo: Added grammar for assignment to references 2017-02-12 11:32:05 +01:00
Eugene Sandulenko cf8c0624a9 DIRECTOR: Lingo: Fixed parsing built-ins with arglist 2017-02-10 21:51:33 +01:00
Eugene Sandulenko 4872c0dadf DIRECTOR: Lingo: Fixed built-ins code generation 2017-02-10 09:46:54 +01:00
Eugene Sandulenko eb179c5241 DIRECTOR: Lingo: Documented D4 "Parent scripts" Lingo 2017-02-08 21:30:29 +01:00
Eugene Sandulenko 1b53a2ce75 DIRECTOR: Lingo: Fix 'when..then' statement 2017-02-08 17:30:17 +01:00
Eugene Sandulenko cf50378985 DIRECTOR: Lingo: Finally fixed grammar for BLTINARGLIST 2017-02-07 11:01:12 +01:00
Eugene Sandulenko b37a3e5224 DIRECTOR: Lingo: Documented D4 "Movie in a window" Lingo 2017-02-07 09:47:33 +01:00
Eugene Sandulenko 293d59f6ad DIRECTOR: Lingo: Further work on improved built-in grammar 2017-02-06 19:10:51 +01:00
Eugene Sandulenko 7f5ff6cac0 DIRECTOR: Lingo: Fixing grammar for 'cast XX' 2017-02-06 10:39:48 +01:00
Eugene Sandulenko e66961e1de JANITORIAL: Whitespace fixes 2017-01-23 19:39:51 +01:00
Eugene Sandulenko 83ab1fc441 DIRECTOR: Lingo: Fix all remaining reduce/reduce conflicts 2017-01-23 19:39:50 +01:00
Eugene Sandulenko 6d4bbc1586 DIRECTOR: Lingo: Clarified macro grammar.
Two reduce/reduce conflicts less. 4 to go.
2017-01-23 19:39:50 +01:00
Eugene Sandulenko b7e937a2d5 DIRECTOR: Lingo: Fix macro grammar parcing. Removes 2 more reduce/reduce 2017-01-23 19:39:50 +01:00
Eugene Sandulenko a1a42d3116 DIRECTOR: Lingo: Fix 57 more reduce/reduce conflicts in the grammar.
8 to go.
There was incorrect parsing for put..after command.
2017-01-23 19:39:50 +01:00
Eugene Sandulenko 7dd6e826e9 DIRECTOR: Lingo: Fix 35 reduce/reduce conflicts in grammar. 65 to go 2017-01-23 00:46:12 +01:00
Eugene Sandulenko 03765dbf18 DIRECTOR: Lingo: Implemented immediate mode used for 'playAccel'
In this mode we treat every parameter as a string, not a keyword
or built-in name
2017-01-15 17:33:25 +01:00
Eugene Sandulenko 08cdd94973 DIRECTOR: Lingo: Implemented grammar for arrays 2017-01-13 09:51:26 +01:00
stevenhoefel 1f95f5c161 DIRECTOR: Hook Lingo events through. Tie in frame events. 2017-01-12 08:58:48 +11:00
Eugene Sandulenko 74f008e14e DIRECTOR: Lingo: Proper processing of me() in factories 2017-01-11 19:27:19 +01:00
Eugene Sandulenko 895e02e1f6 DIRECTOR: Lingo: Fixed parsing of builtins with arglist 2017-01-11 19:27:19 +01:00
Eugene Sandulenko 23e0bc5d8d DIRECTOR: Lingo: Improvements to me() handling in factories 2017-01-11 10:38:14 +01:00
Eugene Sandulenko 3f491601f3 DIRECTOR: Lingo: Implemented 'duplicate cast' stub
That is yet-another deviation from clean grammar rules in origial.
In order to avoid mess, two-word builtins are implemented, and
'sound <op>' are also switched to that method.
2017-01-11 00:21:32 +01:00
Eugene Sandulenko 66624ef927 DIRECTOR: Smarter checks for 'end' clause in grammar/lexer 2017-01-10 11:06:42 +01:00
Eugene Sandulenko 677dd99bdb DIRECTOR: Lingo: Added stubs for D3 Text-related syntax 2017-01-10 01:02:56 +01:00
Eugene Sandulenko 525f916b2d DIRECTOR: Lingo: Implemented stub for char..of and char..to..of 2017-01-10 01:02:56 +01:00
Eugene Sandulenko bfc2fa8aa2 DIRECTOR: Lingo: Implemented stubs for put..after and put..before 2017-01-10 01:02:56 +01:00
Eugene Sandulenko 2c69ffc3ff DIRECTOR: Lingo: Added stub for handling symbols 2017-01-10 01:02:56 +01:00
Eugene Sandulenko 0e20548c15 DIRECTOR: Lingo: Disable ID presence requirement for handlers
It looks like they are optional. The proper grammar change will follow
2017-01-09 23:01:47 +01:00
Eugene Sandulenko 83c4cd19f0 DIRECTOR: Lingo: Allow 'me' as an argument to the handlers 2017-01-09 18:59:05 +01:00
Eugene Sandulenko b30971b03f DIRECTOR: Lingo: Removed 'me' as lexer token 2017-01-09 18:52:17 +01:00
Eugene Sandulenko 03638300cf DIRECTOR: Lingo: Stubbed "sound*" built-ins 2017-01-07 21:20:26 +01:00
Eugene Sandulenko 993418674e DIRECTOR: Lingo: Fix 'on' keyword parsing
It requires handler name after 'end' keyword
2017-01-07 17:08:48 +01:00
Eugene Sandulenko dd60bb88d1 DIRECTOR: Lingo: Implement 'on' statement parsing 2017-01-06 18:17:30 +01:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Eugene Sandulenko f57fa7c1e0 DIRECTOR: Lingo: Fix warning. Thanks to wjp. 2016-08-30 22:27:09 +02:00
Eugene Sandulenko 9517c39397 DIRECTOR: Lingo: Fix no-args built-ins code generation 2016-08-22 19:16:43 +02:00
Eugene Sandulenko fdd4e8369a DIRECTOR: Lingo: Defined 'mod' operator and specified operator precedence 2016-08-20 12:59:59 +02:00
Eugene Sandulenko 80b8fcf693 DIRECTOR: Lingo: Added stub for 'instance' keyword 2016-08-20 11:42:01 +02:00
Eugene Sandulenko 1660b859a1 DIRECTOR: Lingo: Implemented 'exit repeat' keyword 2016-08-20 11:37:17 +02:00
Eugene Sandulenko 0a3d891f6e DIRECTOR: Lingo: Fix when..then code generation 2016-08-19 18:49:01 +02:00
Eugene Sandulenko fa76351b67 DIRECTOR: Lingo: Proper stub for when..then 2016-08-18 20:46:43 +02:00