Releases: LeanSerra/lm-compiler-rust
Releases · LeanSerra/lm-compiler-rust
lm-compiler: v3.0.1
Before running read the docs
🔧 Chores
862f30a- set compiler version to 3.0.1 (PR #38 by @LeanSerra)
lm-compiler: v3.0.0
lm-compiler: v2.0.0
Before running read the docs
✨ New Features
ebee299- AST generation for arithmetic expressions (PR #25 by @LeanSerra)9b65c31- graph AST with Graphviz (PR #26 by @LeanSerra)37b8435- AST generation for booleanStatements and If (PR #27 by @LeanSerra)f6200e0- AST generation for else statements and nested ifs (PR #28 by @LeanSerra)d34333a- AST generation for while statements (PR #29 by @LeanSerra)1c7b872- AST generation for IO operations and support for multiple statements (PR #30 by @LeanSerra)8b59a74- AST generation for compiler builtins convDate and isZero (PR #31 by @LeanSerra)146920b- add basic type checking for expressions (PR #34 by @LeanSerra)
🐛 Bug Fixes
05feea1- statement order was reversed (PR #33 by @LeanSerra)
♻️ Refactors
63a1988- reorganize project structure (PR #24 by @LeanSerra)113610b- cleanup AST code (PR #32 by @LeanSerra)
✅ Tests
a92fa8b- add nested while loop in test.txt (PR #36 by @MatiBarcia)
🔧 Chores
03a79e2- set compiler version to 2.0.0 (PR #35 by @LeanSerra)
lm-compiler: v1.1.0
Before running read the docs
✨ New Features
7206517- add scripts to run the compiler (PR #18 by @LeanSerra)4b46fc4- remove requirement formain()(PR #19 by @LeanSerra)
🐛 Bug Fixes
eebfe40- move literal validations to lexer (PR #20 by @LeanSerra)95b2f6e- remove duplicates from symbol table, forbid var redeclarations (PR #21 by @LeanSerra)f5eb50b- convDate should be the right side of an assignment (PR #22 by @LeanSerra)
lm-compiler: v1.0.0
Before running read the docs
✨ New Features
0ad9e06- project structure (PR #1 by @LeanSerra)953b888- lexer tokenize input, write lexer output to file (PR #2 by @LeanSerra)6b869f9- rustemo parser generator (PR #3 by @LeanSerra)534aea3- symbol table (PR #5 by @LeanSerra)24cee26- complete grammar (PR #6 by @MatiBarcia)f6c863c- parsing and lexer error reporting (PR #8 by @LeanSerra)841d9e9- full test example (PR #13 by @MatiBarcia)2024187- add parser validations to float and integer literals (PR #14 by @LeanSerra)
🐛 Bug Fixes
b814928- string lexing error (PR #11 by @MatiBarcia)6975cb1- negative numbers (PR #12 by @MatiBarcia)0d89af1- parse date as a token (PR #15 by @MatiBarcia)6746ee0- remove default file arg from cli (PR #16 by @LeanSerra)
♻️ Refactors
f6e8113- use named rustemo actions, add compiler context (PR #4 by @LeanSerra)
✅ Tests
4069872- add integration test (PR #7 by @LeanSerra)