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
|