changelog
- 2012-08-13
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 13 Aug 2012 19:04:29 +0300] rev 48
- Added switch support... fixed more problems with marks in the process
- 2012-08-12
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:45:27 +0300] rev 47
- some cleanup
- 2012-08-12
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:40:33 +0300] rev 46
- Expressions now allow multiple operators
- 2012-08-12
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:13:27 +0300] rev 45
- Removed mark types as they served absolutely zero purpose
- 2012-08-12
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:10:25 +0300] rev 44
- Added do-while loop support
- 2012-08-12
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 03:23:33 +0300] rev 43
- Added for-loop support
- 2012-08-11
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 01:52:42 +0300] rev 42
- FINALLY, marks and references work smoothly without hacks. if and while work properly.
- 2012-08-11
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 11 Aug 2012 19:35:47 +0300] rev 41
- Added while loop support. However, script marks keep getting wrong position numbers..
- 2012-07-30
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 30 Jul 2012 11:34:57 +0300] rev 40
- Committed the other changes done during a failed attempt of else
- 2012-07-30
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 30 Jul 2012 11:14:02 +0300] rev 39
- Fixed mark positioning - multiple if statements should work properly now
- 2012-07-30
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 30 Jul 2012 03:38:02 +0300] rev 38
- Added if() support
- 2012-07-29
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 29 Jul 2012 16:55:32 +0300] rev 37
- Added mark/reference system to be able to refer to positions in the buffered bytecode. Labels and go-to support.
- 2012-07-29
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 29 Jul 2012 04:02:07 +0300] rev 36
- Parser can now read expressions 100% properly and can perform variable assignment. I'd call this a milestone!
- 2012-07-28
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 28 Jul 2012 17:57:37 +0300] rev 35
- Negative literal integers work properly now..
- 2012-07-28
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 28 Jul 2012 17:41:24 +0300] rev 34
- Expression parser mostly up and running!! Still work to do on it though.
- 2012-07-17
- by Teemu Piippo <crimsondusk64@gmail.com> [Tue, 17 Jul 2012 20:35:43 +0300] rev 33
- 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..
- 2012-07-16
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 16:15:16 +0300] rev 32
- - The output cmd-line argument is now optional - one is generated from the input file if not given.
- All data is now buffered before being written into the file. This way, no incomplete data is written in case an error occurrs.
- 2012-07-16
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 04:33:09 +0300] rev 31
- 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
- 2012-07-16
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 04:26:27 +0300] rev 30
- Negative numbers are now considered numbers too...
- 2012-07-16
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 04:15:49 +0300] rev 29
- Moved CharByte inside DataBuffer since that's where it belongs anyway.
- 2012-07-16
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 04:07:15 +0300] rev 28
- Added comment support
- 2012-07-15
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 19:01:47 +0300] rev 27
- Rid the qbyte type as I just use long everywhere anyway
- 2012-07-15
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 18:56:26 +0300] rev 26
- 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 :)
- 2012-07-15
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 03:31:35 +0300] rev 25
- Fixed unary operators..
- 2012-07-15
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 03:24:46 +0300] rev 24
- Variables can now be assigned values, unfortunately not at top level.
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 00:32:26 +0300] rev 23
- Forgot the actual new code files out of previous commit
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 00:31:08 +0300] rev 22
- Added rudimentary global var support
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 14 Jul 2012 22:03:34 +0300] rev 21
- Added -l command line parameter, if given, botc will list all available commands and exit.
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 14 Jul 2012 20:35:50 +0300] rev 20
- Added string table and support for string parameters in commands.
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 14 Jul 2012 18:03:37 +0300] rev 19
- Commands w/ arguments are now written correctly.
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 14 Jul 2012 17:39:43 +0300] rev 18
- New rule: a semicolon is now required after events, mainloop, onexit and onenter definitions.
- 2012-07-14
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 14 Jul 2012 17:35:19 +0300] rev 17
- Events and commands are now treated properly case-insensitively.