Skip to content

Unary operators and TACKY IR

Choose a tag to compare

@0xpantera 0xpantera released this 22 Nov 10:05
· 28 commits to main since this release

0.2.0.0 -- 2024-11-22

Added

  • Support for unary operators (negation and bitwise complement)
  • New TACKY intermediate representation between AST and Assembly
  • Stack frame management in generated assembly
  • Function prologue and epilogue handling
  • Pseudoregister allocation and replacement
  • Invalid instruction detection and fixing
  • New compiler passes in pipeline:
    • TACKY generation
    • Pseudoregister replacement
    • Stack allocation
    • Instruction fixing

Changed

  • Compiler pipeline now includes TACKY transformation stage
  • Assembly generation now works from TACKY rather than directly from AST
  • Parser improved to handle nested expressions correctly