Sun, 19 Jan 2014 20:16:00 +0200 |
Teemu Piippo |
- added the public-domain updaterevision so I can have access to git stuff
|
changeset |
files
|
Sat, 18 Jan 2014 02:11:45 +0200 |
Teemu Piippo |
- further lexer corrections
|
changeset |
files
|
Fri, 17 Jan 2014 22:57:40 +0200 |
Teemu Piippo |
- forgot to rename these header guards when i ported the lexer from an earlier project of mine
|
changeset |
files
|
Fri, 17 Jan 2014 22:55:13 +0200 |
Teemu Piippo |
- parser now processes commands.def properly
|
changeset |
files
|
Fri, 17 Jan 2014 21:42:02 +0200 |
Teemu Piippo |
- added .gitignore
|
changeset |
files
|
Fri, 17 Jan 2014 21:39:25 +0200 |
Teemu Piippo |
- various corrections
|
changeset |
files
|
Mon, 13 Jan 2014 23:44:50 +0200 |
Teemu Piippo |
- removed bots.h
|
changeset |
files
|
Mon, 13 Jan 2014 23:44:15 +0200 |
Teemu Piippo |
- renamed files to .cxx, restructured parser.cc
|
changeset |
files
|
Mon, 13 Jan 2014 00:15:38 +0200 |
Teemu Piippo |
more rework
|
changeset |
files
|
Sat, 11 Jan 2014 22:36:31 +0200 |
Teemu Piippo |
- *hot stuff coming through*
|
changeset |
files
|
Fri, 10 Jan 2014 21:58:42 +0200 |
Teemu Piippo |
- major refactoring begins
|
changeset |
files
|
Fri, 10 Jan 2014 16:11:49 +0200 |
Teemu Piippo |
- moved sources to src/, migrated to cmake
|
changeset |
files
|
Wed, 02 Jan 2013 23:57:46 +0200 |
Teemu Piippo |
test
|
changeset |
files
|
Wed, 19 Dec 2012 22:01:42 +0200 |
Teemu Piippo |
So it turns out that the functions I thought were taking float are actually taking int. So, with the only reason for float removed, the float type is removed as well. I'd rather have fixed point anyway.
|
changeset |
files
|
Wed, 19 Dec 2012 13:44:18 +0200 |
Teemu Piippo |
Added constants, these are defined with const, take their value immediately and are replaced out with their value when used. The strlen operator can be used to get a string constant's length.
|
changeset |
files
|
Wed, 19 Dec 2012 04:20:02 +0200 |
Teemu Piippo |
Some rework on variables
|
changeset |
files
|
Wed, 19 Dec 2012 03:27:15 +0200 |
Teemu Piippo |
Good bunch of changes
|
changeset |
files
|
Sun, 26 Aug 2012 23:54:58 +0300 |
Teemu Piippo |
Don't try to read expressions as statements. That yields nothing useful and inevidently bombs out anyway.
|
changeset |
files
|
Sun, 26 Aug 2012 23:28:09 +0300 |
Teemu Piippo |
Fixed: parser allowed command calls with one too few arguments
|
changeset |
files
|
Sun, 26 Aug 2012 23:18:59 +0300 |
Teemu Piippo |
- Fixed error display - peeking was pushing recorded `cursor` position out of sync
|
changeset |
files
|
Sat, 25 Aug 2012 05:22:32 +0300 |
Teemu Piippo |
renamed to undefined labels, not unmarked labels...
|
changeset |
files
|
Sat, 25 Aug 2012 05:20:16 +0300 |
Teemu Piippo |
goto is now allowed to reference labels that will get defined afterwards.
|
changeset |
files
|
Sat, 25 Aug 2012 05:05:58 +0300 |
Teemu Piippo |
only print revision in version header if it's non-zero
|
changeset |
files
|
Sat, 25 Aug 2012 04:19:22 +0300 |
Teemu Piippo |
Added support for continue-statements
|
changeset |
files
|
Sat, 25 Aug 2012 04:02:37 +0300 |
Teemu Piippo |
Renamed 'block stack' to scope stack for more clarified code..
|
changeset |
files
|
Sat, 25 Aug 2012 03:53:10 +0300 |
Teemu Piippo |
Fixed: else was alloed even without if strictly preceding it
|
changeset |
files
|
Sat, 25 Aug 2012 03:40:36 +0300 |
Teemu Piippo |
Added support for else-statements
|
changeset |
files
|
Sat, 25 Aug 2012 03:04:14 +0300 |
Teemu Piippo |
Added support for the ternary operator.
|
changeset |
files
|
Tue, 14 Aug 2012 01:54:17 +0300 |
Teemu Piippo |
Added floating point support for the most part. However, decimals are somehow lost during a cast..
|
changeset |
files
|
Tue, 14 Aug 2012 00:59:39 +0300 |
Teemu Piippo |
Added support for operators &&, ||, &, | and ^
|
changeset |
files
|
Tue, 14 Aug 2012 00:48:02 +0300 |
Teemu Piippo |
Added ! operator support. It's not really an operator since it's just checked at the beginning of the expression value but eh.
|
changeset |
files
|
Tue, 14 Aug 2012 00:20:59 +0300 |
Teemu Piippo |
Added <<= and >>= operator support. Zandronum does not provide these, thus they are translated to their longer forms by the compiler. Also aded << and >>.
|
changeset |
files
|
Mon, 13 Aug 2012 23:10:39 +0300 |
Teemu Piippo |
Added default label for switch
|
changeset |
files
|
Mon, 13 Aug 2012 19:12:21 +0300 |
Teemu Piippo |
rename ObjWriter::RecordBuffer to SwitchBuffer, as it is designed specifically for switch and will break if used genericly
|
changeset |
files
|
Mon, 13 Aug 2012 19:04:29 +0300 |
Teemu Piippo |
Added switch support... fixed more problems with marks in the process
|
changeset |
files
|
Sun, 12 Aug 2012 04:45:27 +0300 |
Teemu Piippo |
some cleanup
|
changeset |
files
|
Sun, 12 Aug 2012 04:40:33 +0300 |
Teemu Piippo |
Expressions now allow multiple operators
|
changeset |
files
|
Sun, 12 Aug 2012 04:13:27 +0300 |
Teemu Piippo |
Removed mark types as they served absolutely zero purpose
|
changeset |
files
|
Sun, 12 Aug 2012 04:10:25 +0300 |
Teemu Piippo |
Added do-while loop support
|
changeset |
files
|
Sun, 12 Aug 2012 03:23:33 +0300 |
Teemu Piippo |
Added for-loop support
|
changeset |
files
|
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
|