userIan Hendersoncancel
branchrust_reboot/main/hackweek_vi_rust_expressioncancel

32 Commits over 0 Days - ∞cph!

2 Years Ago
Fixed more type errors
2 Years Ago
Fixed a bunch of type errors with maths expressions and binary expressions. Added type error checking.
2 Years Ago
Added persistent variables to symbol table.
2 Years Ago
Added accumulator. Fixed conversions and literals not being converted to floats.
2 Years Ago
Updated WIP in game chip.
2 Years Ago
Added input and output expressions to link chip code with rust in game io.
2 Years Ago
Added bunch of trig functions: cos, sin, tan, acos, asin, atan Added pi and tau as preset variables.
2 Years Ago
Added infinite loop detection to try and stop these infinite loops from freezing everything :( Message stack clears itself between runs Omg I think I fixed the infinite loops Added support for true and false values
2 Years Ago
Fixed infinite loop bug Greatly improved error recovery Greatly improved block recognition Fixed errors with discovering new line New lines now seperate statments the same way as semi colon does in other languages
2 Years Ago
Code won't be run in parser if lexer has an issue. Lexer now outputs to error stack. All expressions now output to error stack. Symbol table now outputs to error stack.
2 Years Ago
Fixed in game console not pushing stack messages correctly.
2 Years Ago
Setup stack system for messages and errors.
2 Years Ago
Added console and basic instructions to in game code editor.
2 Years Ago
Added editor in game.
2 Years Ago
Added scripting menu item
2 Years Ago
Added in game WIP version of the programmable chip. Removed strings for the time being. Prevented a couple of infinite loops in the parser.
2 Years Ago
Fixed printing issue. Fixed issue with parser clearing tokens. Parser now listens for end of file token.
2 Years Ago
Interpreter now runs multi line expressions as well as statements. Parser now returns list of expressions rather than single one. Added AST printing.
2 Years Ago
Added assignment expression.
2 Years Ago
Clear symbol table between code runs. Broke variable assignement. Print statement just runs on evaluation. Fixed lexer issues between runs.
2 Years Ago
Fixed parser skipping last token. Added debug print for symbol table Lexer numbers handled better. Fixed issue with variable declaration.
2 Years Ago
Fixed a bunch of lexing errors.
2 Years Ago
Fixed issue with number lexing.
2 Years Ago
Added null and iif support to parser. Renamed lexer keywords. Added statement support Fixed binary epression bug Wrote basic interpreter Added system to run code wrote in game with editor Added null expression support
2 Years Ago
Added global symbol table. Implemented support for variables and their identifiers into parser.
2 Years Ago
Added block expression support
2 Years Ago
Wrote basic recusrive descent parser. Added support for Unary Expressions,
2 Years Ago
Added definitions for grouping, binary and literal expressions. Removed redundant token types. Forced all lower case input to lexer.
2 Years Ago
Added lexing support for keywords.
2 Years Ago
Added lexing support for literals and single character tokens
2 Years Ago
Fixed caret. Added blinking and ensured it respects text editor width/height
2 Years Ago
Basic blockout in game code editor added. Not useable yet.