2012-07-30 |
Teemu Piippo |
Committed the other changes done during a failed attempt of else
|
changeset |
files
|
2012-07-30 |
Teemu Piippo |
Fixed mark positioning - multiple if statements should work properly now
|
changeset |
files
|
2012-07-30 |
Teemu Piippo |
Added if() support
|
changeset |
files
|
2012-07-29 |
Teemu Piippo |
Added mark/reference system to be able to refer to positions in the buffered bytecode. Labels and go-to support.
|
changeset |
files
|
2012-07-29 |
Teemu Piippo |
Parser can now read expressions 100% properly and can perform variable assignment. I'd call this a milestone!
|
changeset |
files
|
2012-07-28 |
Teemu Piippo |
Negative literal integers work properly now..
|
changeset |
files
|
2012-07-28 |
Teemu Piippo |
Expression parser mostly up and running!! Still work to do on it though.
|
changeset |
files
|
2012-07-17 |
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
|
2012-07-16 |
Teemu Piippo |
- The output cmd-line argument is now optional - one is generated from the input file if not given.
|
changeset |
files
|
2012-07-16 |
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
|
2012-07-16 |
Teemu Piippo |
Negative numbers are now considered numbers too...
|
changeset |
files
|
2012-07-16 |
Teemu Piippo |
Moved CharByte inside DataBuffer since that's where it belongs anyway.
|
changeset |
files
|
2012-07-16 |
Teemu Piippo |
Added comment support
|
changeset |
files
|
2012-07-15 |
Teemu Piippo |
Rid the qbyte type as I just use long everywhere anyway
|
changeset |
files
|
2012-07-15 |
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
|
2012-07-15 |
Teemu Piippo |
Fixed unary operators..
|
changeset |
files
|
2012-07-15 |
Teemu Piippo |
Variables can now be assigned values, unfortunately not at top level.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Forgot the actual new code files out of previous commit
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Added rudimentary global var support
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Added -l command line parameter, if given, botc will list all available commands and exit.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Added string table and support for string parameters in commands.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Commands w/ arguments are now written correctly.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
New rule: a semicolon is now required after events, mainloop, onexit and onenter definitions.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Events and commands are now treated properly case-insensitively.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Added mainloop/onenter/onexit support, fixed state writing.. this thing can compile the script for the `jumping arghbot` now!
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Moved command parser to a new function.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
If any optional parameters are skipped, default values are now filled in.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Parser now can read optional arguments properly.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
MustString now behaves more like its siblings - sets token to result rather than returning it
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Removed extdelimeters member, said delimeters are always enabled now.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Restructured the command def parser, added parameter lists to definition file.
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Added proper string checking
|
changeset |
files
|
2012-07-14 |
Teemu Piippo |
Commands are now read properly.
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Improved error handling; added parser warnings
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Command definitions are now read into memory.
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Added command definition file
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Removed unused parser.h file
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
oh blerb.
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Added event definitions
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Added support for #include directives, added basic header and statistics printing.
|
changeset |
files
|
2012-07-13 |
Teemu Piippo |
Initial commit
|
changeset |
files
|