- highly reworked variable support, variable declarations now are declared with 'var', uses are prefixed with '$', merged constant handling into variables

- minor changes: don't allow any token for labels, run ParseStatement from the next token

- removed tkAny as the default value of Lexer::MustGetNext to prevent problems like the one last commit fixed

- whoopsie, cannot allow garbage variable names there

- variables: merged const and mutable variables into one system, added constexpr variable support. still no locals

- removed some no longer needed debug stuff

- changed the syntax of funcdef to something sane

- loop structures now work again

- worked away some limitations

- ternary operator now works properly

- fixed verification with unary operators

- expression evaluation implemented! Expressions are now complete for the most part aside from some unary operator quirks in verification.

- Expression verification done

- now compiles again, further work on expressions (proper parsing + assignment operator handling (albeit unrelated) + operator adjusting)

- committed work so far done on expressions

(0) -100 -15 +15 tip

mercurial