Mercurial
>
botc
/ graph
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
graph
The revision graph only works with JavaScript-enabled browsers.
- and --help works now correctly too
default
tip
2014-07-24
, by Teemu Piippo
- now works properly (still debugging --help)
2014-07-24
, by Teemu Piippo
- having fun with version macros..
2014-07-22
, by Teemu Piippo
- added proper commandline interface with options. synergizes very nicely with named enums. :-) added a verbosity level which does nothing just yet
2014-07-22
, by Teemu Piippo
- even more rework
2014-07-22
, by Teemu Piippo
- a bit more refactoring, adjusted the main commandline interface
2014-07-22
, by Teemu Piippo
- major refactoring pretty much done, compiles now
2014-07-21
, by Teemu Piippo
- massive refactoring continues (doesn't compile yet)
2014-07-21
, by Teemu Piippo
- massive refactoring
2014-07-20
, by Teemu Piippo
- changed all source files to use my correct legal name instead of my calling name
2014-07-12
, by Teemu Piippo
- corrected more instances of "OPER_erand" and stuff like that
2014-05-12
, by Teemu Piippo
- OPER_erator -> operator. bleh.
2014-05-12
, by Teemu Piippo
- add macro to string
2014-05-04
, by Teemu Piippo
- expand the asserts into nothingness if not in a debug build
2014-05-04
, by Teemu Piippo
- refactor the string class
2014-05-04
, by Teemu Piippo
- check for arg count before printing the header so the header doesn't appear when displaying usage
2014-05-02
, by Teemu Piippo
- updated also lexerScanner with the new assert
2014-05-02
, by Teemu Piippo
- now with a smarter assert
2014-05-02
, by Teemu Piippo
- commence refactoring
2014-05-02
, by Teemu Piippo
- added the branch name to the first line of the generated gitinfo.h to trigger regeneration on branch switch
2014-03-30
, by Teemu Piippo
- only use the git description if it's available and if making a debug build, use short-form version number otherwise
2014-03-30
, by Teemu Piippo
- print the branch name onto the header if not master
2014-03-30
, by Teemu Piippo
- updated .gitignore
2014-03-30
, by Teemu Piippo
- renamed source files to camelCase
2014-03-30
, by Teemu Piippo
- doubled the buffer sizes of updaterevision to prevent GIT_BRANCH from being cut short and added GIT_BRANCH.
2014-03-30
, by Teemu Piippo
- reserved 'constexpr' as a keyword because I know I will need it someday
2014-03-03
, by Teemu Piippo
- added using statement for specifying the target zandronum version. will be used later
2014-03-02
, by Teemu Piippo
- reformatting... again
2014-03-02
, by Teemu Piippo
- fixed: array assignment operators pushed the bytecode parameters the wrong way around...
2014-02-26
, by Teemu Piippo
- now uses a variadic template formatter instead of a macro
2014-02-26
, by Teemu Piippo
- changed the PROPERTY macro to a simper version and brought some refactoring with it
2014-02-23
, by Teemu Piippo
- removed goto, it's evil
2014-02-23
, by Teemu Piippo
- extended refactor to EToken (now TokenType)
2014-02-12
, by Teemu Piippo
- added named enumerations to botc source, this should help with debugging
2014-02-12
, by Teemu Piippo
- refactored enums, macros split from Main.h to Macros.h
2014-02-12
, by Teemu Piippo
- implemented arrays, don't quite work 100% yet
2014-02-11
, by Teemu Piippo
- improved error handling a tad
2014-02-09
, by Teemu Piippo
- highly reworked variable support, variable declarations now are declared with 'var', uses are prefixed with '$', merged constant handling into variables
2014-02-09
, by Teemu Piippo
- minor changes: don't allow any token for labels, run ParseStatement from the next token
2014-02-09
, by Teemu Piippo
- removed tkAny as the default value of Lexer::MustGetNext to prevent problems like the one last commit fixed
2014-02-09
, by Teemu Piippo
- whoopsie, cannot allow garbage variable names there
2014-02-09
, by Teemu Piippo
- variables: merged const and mutable variables into one system, added constexpr variable support. still no locals
2014-02-09
, by Teemu Piippo
- removed some no longer needed debug stuff
2014-02-09
, by Teemu Piippo
- changed the syntax of funcdef to something sane
2014-02-09
, by Teemu Piippo
- loop structures now work again
2014-02-09
, by Teemu Piippo
- worked away some limitations
2014-02-04
, by Teemu Piippo
- ternary operator now works properly
2014-02-04
, by Teemu Piippo
- fixed verification with unary operators
2014-02-04
, by Teemu Piippo
- expression evaluation implemented! Expressions are now complete for the most part aside from some unary operator quirks in verification.
2014-02-04
, by Teemu Piippo
- Expression verification done
2014-02-04
, by Teemu Piippo
- now compiles again, further work on expressions (proper parsing + assignment operator handling (albeit unrelated) + operator adjusting)
2014-02-04
, by Teemu Piippo
- committed work so far done on expressions
2014-02-03
, by Teemu Piippo
- don't clear marks after merging them in...
2014-02-03
, by Teemu Piippo
- blargh. buffers weren't initialized properly
2014-02-02
, by Teemu Piippo
- reformatting
2014-02-02
, by Teemu Piippo
- further reformat
2014-02-01
, by Teemu Piippo
- merged object writer into parser
2014-01-26
, by Teemu Piippo
- use the Skulltag 97c2 license which is slightly differently worded
2014-01-19
, by Teemu Piippo
- removed simple_exception, that was stupid
2014-01-19
, by Teemu Piippo
- removed .hgignore
2014-01-19
, by Teemu Piippo
- added the public-domain updaterevision so I can have access to git stuff
2014-01-19
, by Teemu Piippo
- further lexer corrections
2014-01-18
, by Teemu Piippo
- forgot to rename these header guards when i ported the lexer from an earlier project of mine
2014-01-17
, by Teemu Piippo
- parser now processes commands.def properly
2014-01-17
, by Teemu Piippo
- added .gitignore
2014-01-17
, by Teemu Piippo
- various corrections
2014-01-17
, by Teemu Piippo
- removed bots.h
2014-01-13
, by Teemu Piippo
- renamed files to .cxx, restructured parser.cc
2014-01-13
, by Teemu Piippo
more rework
2014-01-12
, by Teemu Piippo
- *hot stuff coming through*
2014-01-11
, by Teemu Piippo
- major refactoring begins
2014-01-10
, by Teemu Piippo
- moved sources to src/, migrated to cmake
2014-01-10
, by Teemu Piippo
test
2013-01-02
, by 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.
2012-12-19
, by 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.
2012-12-19
, by Teemu Piippo
Some rework on variables
2012-12-19
, by Teemu Piippo
Good bunch of changes
2012-12-19
, by Teemu Piippo
Don't try to read expressions as statements. That yields nothing useful and inevidently bombs out anyway.
2012-08-26
, by Teemu Piippo
Fixed: parser allowed command calls with one too few arguments
2012-08-26
, by Teemu Piippo
- Fixed error display - peeking was pushing recorded `cursor` position out of sync
2012-08-26
, by Teemu Piippo
renamed to undefined labels, not unmarked labels...
2012-08-25
, by Teemu Piippo
goto is now allowed to reference labels that will get defined afterwards.
2012-08-25
, by Teemu Piippo
only print revision in version header if it's non-zero
2012-08-25
, by Teemu Piippo
Added support for continue-statements
2012-08-25
, by Teemu Piippo
Renamed 'block stack' to scope stack for more clarified code..
2012-08-25
, by Teemu Piippo
Fixed: else was alloed even without if strictly preceding it
2012-08-25
, by Teemu Piippo
Added support for else-statements
2012-08-25
, by Teemu Piippo
Added support for the ternary operator.
2012-08-25
, by Teemu Piippo
Added floating point support for the most part. However, decimals are somehow lost during a cast..
2012-08-13
, by Teemu Piippo
Added support for operators &&, ||, &, | and ^
2012-08-13
, by 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.
2012-08-13
, by 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 >>.
2012-08-13
, by Teemu Piippo
Added default label for switch
2012-08-13
, by Teemu Piippo
rename ObjWriter::RecordBuffer to SwitchBuffer, as it is designed specifically for switch and will break if used genericly
2012-08-13
, by Teemu Piippo
Added switch support... fixed more problems with marks in the process
2012-08-13
, by Teemu Piippo
some cleanup
2012-08-12
, by Teemu Piippo
Expressions now allow multiple operators
2012-08-12
, by Teemu Piippo
Removed mark types as they served absolutely zero purpose
2012-08-12
, by Teemu Piippo
Added do-while loop support
2012-08-12
, by Teemu Piippo
Added for-loop support
2012-08-12
, by Teemu Piippo
FINALLY, marks and references work smoothly without hacks. if and while work properly.
2012-08-11
, by Teemu Piippo
Added while loop support. However, script marks keep getting wrong position numbers..
2012-08-11
, by Teemu Piippo
Committed the other changes done during a failed attempt of else
2012-07-30
, by Teemu Piippo
Fixed mark positioning - multiple if statements should work properly now
2012-07-30
, by Teemu Piippo
Added if() support
2012-07-30
, by Teemu Piippo
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
Parser can now read expressions 100% properly and can perform variable assignment. I'd call this a milestone!
2012-07-29
, by Teemu Piippo
Negative literal integers work properly now..
2012-07-28
, by Teemu Piippo
Expression parser mostly up and running!! Still work to do on it though.
2012-07-28
, by 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..
2012-07-17
, by Teemu Piippo
- The output cmd-line argument is now optional - one is generated from the input file if not given.
2012-07-16
, by 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
2012-07-16
, by Teemu Piippo
Negative numbers are now considered numbers too...
2012-07-16
, by Teemu Piippo
Moved CharByte inside DataBuffer since that's where it belongs anyway.
2012-07-16
, by Teemu Piippo
Added comment support
2012-07-16
, by Teemu Piippo
Rid the qbyte type as I just use long everywhere anyway
2012-07-15
, by 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 :)
2012-07-15
, by Teemu Piippo
Fixed unary operators..
2012-07-15
, by Teemu Piippo
Variables can now be assigned values, unfortunately not at top level.
2012-07-15
, by Teemu Piippo
Forgot the actual new code files out of previous commit
2012-07-14
, by Teemu Piippo
Added rudimentary global var support
2012-07-14
, by Teemu Piippo
Added -l command line parameter, if given, botc will list all available commands and exit.
2012-07-14
, by Teemu Piippo
Added string table and support for string parameters in commands.
2012-07-14
, by Teemu Piippo
Commands w/ arguments are now written correctly.
2012-07-14
, by Teemu Piippo
New rule: a semicolon is now required after events, mainloop, onexit and onenter definitions.
2012-07-14
, by Teemu Piippo
Events and commands are now treated properly case-insensitively.
2012-07-14
, by Teemu Piippo
Added mainloop/onenter/onexit support, fixed state writing.. this thing can compile the script for the `jumping arghbot` now!
2012-07-14
, by Teemu Piippo
Moved command parser to a new function.
2012-07-14
, by Teemu Piippo
less
more
|
(0)
-128
tip