Repository navigation
Prerelease v0.1 (Parser only)
Pre-release
Pre-release
Prerelease v0.1 (Parser only)
Added
Lexer, with the following tokens:
- Number (Any number, not a float)
- Identifier (Any text, unless reserved)
- IntType ("int", reserved)
- Operator (Any operator, "+" "-" "*" "/" "%")
- Equals (Equals operator, "=")
- OpenParen ("(")
- CloseParen (")")
- Semicolon (";")
- EOF (End Of File)
Parser, added ability to parse basic math equations. For Example: 90 * (x + foo)
Can't parse variable declaration or assignment operators yet.