Skip to content

v0.1.2 - Command-line options support

Choose a tag to compare

@tosh7 tosh7 released this 04 Oct 06:45
· 12 commits to main since this release

Features:

  • Added command-line options support with CompilerOption enum
  • Implemented --verbose/-v flag for detailed compilation output
  • Integrated verbose mode throughout the compilation pipeline
  • Conditional output for Tokens, AST, and LLVM IR based on verbose flag

Improvements:

  • Better argument parsing to separate options from filename
  • Cleaner output in non-verbose mode
  • Pass options through Compiler and LLVMCompiler constructors
  • Fixed all compilation warnings related to options handling

Documentation:

  • Updated README with verbose option usage
  • Added options.rs to project structure documentation
  • Included examples for both default and verbose output modes

Full Changelog: v0.1.1...v0.1.2