Skip to content

v0.2.0

Latest

Choose a tag to compare

@tosh7 tosh7 released this 23 Oct 06:19

Features:

  • Added support for variable declarations with 'let' keyword
  • Implemented variable references in expressions
  • Added stack allocation for variables using LLVM alloca/store/load instructions
  • Support for type inference in variable declarations
  • Variables stored in HashMap for scoped access

Improvements:

  • Enhanced lexer with new tokens (Let, Assign, Colon, Identifier)
  • Extended AST with VarDecl, Assignment, and Variable nodes
  • Updated parser with parse_declaration and variable parsing
  • Fixed lexer token string bugs (Colon and Assign tokens)
  • Fixed pattern matching with proper String to &str conversion

Documentation:

  • Removed large Example Output sections from READMEs
  • Removed Project Structure sections from documentation
  • Started moving file descriptions to source file comments

Full Changelog: v0.1.2...v0.2.0