Sun, 12 Aug 2012 01:52:42 +0300 |
Teemu Piippo |
FINALLY, marks and references work smoothly without hacks. if and while work properly.
|
changeset |
files
|
Sat, 11 Aug 2012 19:35:47 +0300 |
Teemu Piippo |
Added while loop support. However, script marks keep getting wrong position numbers..
|
changeset |
files
|
Mon, 30 Jul 2012 11:34:57 +0300 |
Teemu Piippo |
Committed the other changes done during a failed attempt of else
|
changeset |
files
|
Mon, 30 Jul 2012 11:14:02 +0300 |
Teemu Piippo |
Fixed mark positioning - multiple if statements should work properly now
|
changeset |
files
|
Mon, 30 Jul 2012 03:38:02 +0300 |
Teemu Piippo |
Added if() support
|
changeset |
files
|
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.
|
changeset |
files
|
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!
|
changeset |
files
|
Sat, 28 Jul 2012 17:57:37 +0300 |
Teemu Piippo |
Negative literal integers work properly now..
|
changeset |
files
|
Sat, 28 Jul 2012 17:41:24 +0300 |
Teemu Piippo |
Expression parser mostly up and running!! Still work to do on it though.
|
changeset |
files
|
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..
|
changeset |
files
|
Mon, 16 Jul 2012 16:15:16 +0300 |
Teemu Piippo |
- The output cmd-line argument is now optional - one is generated from the input file if not given.
|
changeset |
files
|
Mon, 16 Jul 2012 04:33:09 +0300 |
Teemu Piippo |
Lifted the ';'-after-events rule, though it can still be present. C++ allows it for functions, so this feels like the best solution regarding consistency.. I'm not even sure am I going overboard with this kind of stuff
|
changeset |
files
|
Mon, 16 Jul 2012 04:26:27 +0300 |
Teemu Piippo |
Negative numbers are now considered numbers too...
|
changeset |
files
|
Mon, 16 Jul 2012 04:15:49 +0300 |
Teemu Piippo |
Moved CharByte inside DataBuffer since that's where it belongs anyway.
|
changeset |
files
|
Mon, 16 Jul 2012 04:07:15 +0300 |
Teemu Piippo |
Added comment support
|
changeset |
files
|
Sun, 15 Jul 2012 19:01:47 +0300 |
Teemu Piippo |
Rid the qbyte type as I just use long everywhere anyway
|
changeset |
files
|
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 :)
|
changeset |
files
|
Sun, 15 Jul 2012 03:31:35 +0300 |
Teemu Piippo |
Fixed unary operators..
|
changeset |
files
|
Sun, 15 Jul 2012 03:24:46 +0300 |
Teemu Piippo |
Variables can now be assigned values, unfortunately not at top level.
|
changeset |
files
|
Sun, 15 Jul 2012 00:32:26 +0300 |
Teemu Piippo |
Forgot the actual new code files out of previous commit
|
changeset |
files
|
Sun, 15 Jul 2012 00:31:08 +0300 |
Teemu Piippo |
Added rudimentary global var support
|
changeset |
files
|
Sat, 14 Jul 2012 22:03:34 +0300 |
Teemu Piippo |
Added -l command line parameter, if given, botc will list all available commands and exit.
|
changeset |
files
|
Sat, 14 Jul 2012 20:35:50 +0300 |
Teemu Piippo |
Added string table and support for string parameters in commands.
|
changeset |
files
|
Sat, 14 Jul 2012 18:03:37 +0300 |
Teemu Piippo |
Commands w/ arguments are now written correctly.
|
changeset |
files
|
Sat, 14 Jul 2012 17:39:43 +0300 |
Teemu Piippo |
New rule: a semicolon is now required after events, mainloop, onexit and onenter definitions.
|
changeset |
files
|
Sat, 14 Jul 2012 17:35:19 +0300 |
Teemu Piippo |
Events and commands are now treated properly case-insensitively.
|
changeset |
files
|
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!
|
changeset |
files
|
Sat, 14 Jul 2012 16:31:21 +0300 |
Teemu Piippo |
Moved command parser to a new function.
|
changeset |
files
|
Sat, 14 Jul 2012 16:28:42 +0300 |
Teemu Piippo |
If any optional parameters are skipped, default values are now filled in.
|
changeset |
files
|
Sat, 14 Jul 2012 16:24:57 +0300 |
Teemu Piippo |
Parser now can read optional arguments properly.
|
changeset |
files
|
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
|
changeset |
files
|
Sat, 14 Jul 2012 15:58:50 +0300 |
Teemu Piippo |
Removed extdelimeters member, said delimeters are always enabled now.
|
changeset |
files
|
Sat, 14 Jul 2012 15:44:38 +0300 |
Teemu Piippo |
Restructured the command def parser, added parameter lists to definition file.
|
changeset |
files
|
Sat, 14 Jul 2012 04:17:06 +0300 |
Teemu Piippo |
Added proper string checking
|
changeset |
files
|
Sat, 14 Jul 2012 04:03:25 +0300 |
Teemu Piippo |
Commands are now read properly.
|
changeset |
files
|
Sat, 14 Jul 2012 02:16:48 +0300 |
Teemu Piippo |
Improved error handling; added parser warnings
|
changeset |
files
|
Sat, 14 Jul 2012 01:49:32 +0300 |
Teemu Piippo |
Command definitions are now read into memory.
|
changeset |
files
|
Fri, 13 Jul 2012 20:35:18 +0300 |
Teemu Piippo |
Added command definition file
|
changeset |
files
|
Fri, 13 Jul 2012 20:20:56 +0300 |
Teemu Piippo |
Removed unused parser.h file
|
changeset |
files
|
Fri, 13 Jul 2012 20:14:46 +0300 |
Teemu Piippo |
oh blerb.
|
changeset |
files
|
Fri, 13 Jul 2012 20:10:08 +0300 |
Teemu Piippo |
Added event definitions
|
changeset |
files
|
Fri, 13 Jul 2012 18:41:40 +0300 |
Teemu Piippo |
Added support for #include directives, added basic header and statistics printing.
|
changeset |
files
|
Fri, 13 Jul 2012 17:20:51 +0300 |
Teemu Piippo |
Initial commit
|
changeset |
files
|