changelog
- Mon, 13 Aug 2012 23:10:39 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 13 Aug 2012 23:10:39 +0300] rev 50
- Added default label for switch
- Mon, 13 Aug 2012 19:12:21 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 13 Aug 2012 19:12:21 +0300] rev 49
- rename ObjWriter::RecordBuffer to SwitchBuffer, as it is designed specifically for switch and will break if used genericly
- Mon, 13 Aug 2012 19:04:29 +0300
- 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
- Sun, 12 Aug 2012 04:45:27 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:45:27 +0300] rev 47
- some cleanup
- Sun, 12 Aug 2012 04:40:33 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:40:33 +0300] rev 46
- Expressions now allow multiple operators
- Sun, 12 Aug 2012 04:13:27 +0300
- 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
- Sun, 12 Aug 2012 04:10:25 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 04:10:25 +0300] rev 44
- Added do-while loop support
- Sun, 12 Aug 2012 03:23:33 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 12 Aug 2012 03:23:33 +0300] rev 43
- Added for-loop support
- Sun, 12 Aug 2012 01:52:42 +0300
- 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.
- Sat, 11 Aug 2012 19:35:47 +0300
- 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..
- Mon, 30 Jul 2012 11:34:57 +0300
- 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
- Mon, 30 Jul 2012 11:14:02 +0300
- 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
- Mon, 30 Jul 2012 03:38:02 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 30 Jul 2012 03:38:02 +0300] rev 38
- Added if() support
- Sun, 29 Jul 2012 16:55:32 +0300
- 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.
- Sun, 29 Jul 2012 04:02:07 +0300
- 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!
- Sat, 28 Jul 2012 17:57:37 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sat, 28 Jul 2012 17:57:37 +0300] rev 35
- Negative literal integers work properly now..
- Sat, 28 Jul 2012 17:41:24 +0300
- 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.
- Tue, 17 Jul 2012 20:35:43 +0300
- 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..
- Mon, 16 Jul 2012 16:15:16 +0300
- 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.
- Mon, 16 Jul 2012 04:33:09 +0300
- 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
- Mon, 16 Jul 2012 04:26:27 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 04:26:27 +0300] rev 30
- Negative numbers are now considered numbers too...
- Mon, 16 Jul 2012 04:15:49 +0300
- 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.
- Mon, 16 Jul 2012 04:07:15 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Mon, 16 Jul 2012 04:07:15 +0300] rev 28
- Added comment support
- Sun, 15 Jul 2012 19:01:47 +0300
- 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
- Sun, 15 Jul 2012 18:56:26 +0300
- 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 :)
- Sun, 15 Jul 2012 03:31:35 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 03:31:35 +0300] rev 25
- Fixed unary operators..
- Sun, 15 Jul 2012 03:24:46 +0300
- 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.
- Sun, 15 Jul 2012 00:32:26 +0300
- 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
- Sun, 15 Jul 2012 00:31:08 +0300
- by Teemu Piippo <crimsondusk64@gmail.com> [Sun, 15 Jul 2012 00:31:08 +0300] rev 22
- Added rudimentary global var support
- Sat, 14 Jul 2012 22:03:34 +0300
- 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.