Wed, 19 Dec 2012 13:44:18 +0200 |
Teemu Piippo |
Added constants, these are defined with const, take their value immediately and are replaced out with their value when used. The strlen operator can be used to get a string constant's length.
|
file |
diff |
annotate
|
Wed, 19 Dec 2012 03:27:15 +0200 |
Teemu Piippo |
Good bunch of changes
|
file |
diff |
annotate
|
Sun, 26 Aug 2012 23:54:58 +0300 |
Teemu Piippo |
Don't try to read expressions as statements. That yields nothing useful and inevidently bombs out anyway.
|
file |
diff |
annotate
|
Sat, 25 Aug 2012 04:19:22 +0300 |
Teemu Piippo |
Added support for continue-statements
|
file |
diff |
annotate
|
Sat, 25 Aug 2012 04:02:37 +0300 |
Teemu Piippo |
Renamed 'block stack' to scope stack for more clarified code..
|
file |
diff |
annotate
|
Sat, 25 Aug 2012 03:40:36 +0300 |
Teemu Piippo |
Added support for else-statements
|
file |
diff |
annotate
|
Sat, 25 Aug 2012 03:04:14 +0300 |
Teemu Piippo |
Added support for the ternary operator.
|
file |
diff |
annotate
|
Tue, 14 Aug 2012 00:59:39 +0300 |
Teemu Piippo |
Added support for operators &&, ||, &, | and ^
|
file |
diff |
annotate
|
Tue, 14 Aug 2012 00:20:59 +0300 |
Teemu Piippo |
Added <<= and >>= operator support. Zandronum does not provide these, thus they are translated to their longer forms by the compiler. Also aded << and >>.
|
file |
diff |
annotate
|
Mon, 13 Aug 2012 23:10:39 +0300 |
Teemu Piippo |
Added default label for switch
|
file |
diff |
annotate
|
Mon, 13 Aug 2012 19:04:29 +0300 |
Teemu Piippo |
Added switch support... fixed more problems with marks in the process
|
file |
diff |
annotate
|
Sun, 12 Aug 2012 04:10:25 +0300 |
Teemu Piippo |
Added do-while loop support
|
file |
diff |
annotate
|
Sun, 12 Aug 2012 03:23:33 +0300 |
Teemu Piippo |
Added for-loop support
|
file |
diff |
annotate
|
Sat, 11 Aug 2012 19:35:47 +0300 |
Teemu Piippo |
Added while loop support. However, script marks keep getting wrong position numbers..
|
file |
diff |
annotate
|
Mon, 30 Jul 2012 11:34:57 +0300 |
Teemu Piippo |
Committed the other changes done during a failed attempt of else
|
file |
diff |
annotate
|
Mon, 30 Jul 2012 03:38:02 +0300 |
Teemu Piippo |
Added if() support
|
file |
diff |
annotate
|
Sun, 29 Jul 2012 16:55:32 +0300 |
Teemu Piippo |
Added mark/reference system to be able to refer to positions in the buffered bytecode. Labels and go-to support.
|
file |
diff |
annotate
|
Sun, 29 Jul 2012 04:02:07 +0300 |
Teemu Piippo |
Parser can now read expressions 100% properly and can perform variable assignment. I'd call this a milestone!
|
file |
diff |
annotate
|
Sat, 28 Jul 2012 17:57:37 +0300 |
Teemu Piippo |
Negative literal integers work properly now..
|
file |
diff |
annotate
|
Sat, 28 Jul 2012 17:41:24 +0300 |
Teemu Piippo |
Expression parser mostly up and running!! Still work to do on it though.
|
file |
diff |
annotate
|
Tue, 17 Jul 2012 20:35:43 +0300 |
Teemu Piippo |
Added a preprocessor with proper #include support. Macro support via #define is planned too. God, was it a B-I-T-C-H to get working right, though..
|
file |
diff |
annotate
|
Mon, 16 Jul 2012 04:07:15 +0300 |
Teemu Piippo |
Added comment support
|
file |
diff |
annotate
|
Sun, 15 Jul 2012 18:56:26 +0300 |
Teemu Piippo |
Mainloop and onenter definitions are now written into separate buffers first and only written to file after state ends. Why? Zandronum seems to demand that mainloop definitions MUST be written right after any onenter one. This way, mainloop and onenter definitions can be written without this restriction in the script. Also now I have a cool uchar-buffer class :)
|
file |
diff |
annotate
|
Sun, 15 Jul 2012 00:31:08 +0300 |
Teemu Piippo |
Added rudimentary global var support
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 20:35:50 +0300 |
Teemu Piippo |
Added string table and support for string parameters in commands.
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 17:24:21 +0300 |
Teemu Piippo |
Added mainloop/onenter/onexit support, fixed state writing.. this thing can compile the script for the `jumping arghbot` now!
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 16:31:21 +0300 |
Teemu Piippo |
Moved command parser to a new function.
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 16:12:59 +0300 |
Teemu Piippo |
MustString now behaves more like its siblings - sets token to result rather than returning it
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 15:58:50 +0300 |
Teemu Piippo |
Removed extdelimeters member, said delimeters are always enabled now.
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 15:44:38 +0300 |
Teemu Piippo |
Restructured the command def parser, added parameter lists to definition file.
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 04:17:06 +0300 |
Teemu Piippo |
Added proper string checking
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 04:03:25 +0300 |
Teemu Piippo |
Commands are now read properly.
|
file |
diff |
annotate
|
Sat, 14 Jul 2012 02:16:48 +0300 |
Teemu Piippo |
Improved error handling; added parser warnings
|
file |
diff |
annotate
|
Fri, 13 Jul 2012 20:14:46 +0300 |
Teemu Piippo |
oh blerb.
|
file |
diff |
annotate
|
Fri, 13 Jul 2012 20:10:08 +0300 |
Teemu Piippo |
Added event definitions
|
file |
diff |
annotate
|
Fri, 13 Jul 2012 18:41:40 +0300 |
Teemu Piippo |
Added support for #include directives, added basic header and statistics printing.
|
file |
diff |
annotate
|
Fri, 13 Jul 2012 17:20:51 +0300 |
Teemu Piippo |
Initial commit
|
file |
diff |
annotate
|