userIan Hendersoncancel
branchrust_reboot/main/hackweek_vi_rust_expressioncancel

32 Commits over 0 Days - ∞cph!

1 Year Ago
Fixed more type errors
1 Year Ago
Fixed a bunch of type errors with maths expressions and binary expressions. Added type error checking.
1 Year Ago
Added persistent variables to symbol table.
1 Year Ago
Added accumulator. Fixed conversions and literals not being converted to floats.
1 Year Ago
Updated WIP in game chip.
1 Year Ago
Added input and output expressions to link chip code with rust in game io.
1 Year Ago
Added bunch of trig functions: cos, sin, tan, acos, asin, atan Added pi and tau as preset variables.
1 Year 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
1 Year 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
1 Year 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.
1 Year Ago
Fixed in game console not pushing stack messages correctly.
1 Year Ago
Setup stack system for messages and errors.
1 Year Ago
Added console and basic instructions to in game code editor.
1 Year Ago
Added editor in game.
1 Year Ago
Added scripting menu item
1 Year 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.
1 Year Ago
Fixed printing issue. Fixed issue with parser clearing tokens. Parser now listens for end of file token.
1 Year Ago
Interpreter now runs multi line expressions as well as statements. Parser now returns list of expressions rather than single one. Added AST printing.
1 Year Ago
Added assignment expression.
1 Year Ago
Clear symbol table between code runs. Broke variable assignement. Print statement just runs on evaluation. Fixed lexer issues between runs.
1 Year Ago
Fixed parser skipping last token. Added debug print for symbol table Lexer numbers handled better. Fixed issue with variable declaration.
1 Year Ago
Fixed a bunch of lexing errors.
1 Year Ago
Fixed issue with number lexing.
1 Year 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
1 Year Ago
Added global symbol table. Implemented support for variables and their identifiers into parser.
1 Year Ago
Added block expression support
1 Year Ago
Wrote basic recusrive descent parser. Added support for Unary Expressions,
1 Year Ago
Added definitions for grouping, binary and literal expressions. Removed redundant token types. Forced all lower case input to lexer.
1 Year Ago
Added lexing support for keywords.
1 Year Ago
Added lexing support for literals and single character tokens
1 Year Ago
Fixed caret. Added blinking and ensured it respects text editor width/height
1 Year Ago
Basic blockout in game code editor added. Not useable yet.