Skip to content

0.0.1-alpha.22

Pre-release
Pre-release

Choose a tag to compare

@theMackabu theMackabu released this 27 Feb 21:57
· 26 commits to master since this release
d3b3286

New Features

  • Interpreter:
    • Implemented const expressions and added function validation.
    • Implemented tail call optimization (TCO).
    • Added detection for self-recursive calls in tail position.
  • Parser:
    • Added support for const functions and generic trait bounds.
  • Runtime:
    • Added tail call optimization support with a new ValueType variant.

Refactoring & Improvements

  • Interpreter:
    • Optimized using the trampoline pattern.
    • Improved control flow handling and scope management.
  • Scope:
    • Optimized variable resolution with an iterative approach.
  • Runtime:
    • Implemented a proper call stack for function execution.

Bug Fixes

  • Interpreter:
    • Fixed propagation of break labels and resolved work queue enqueuing issues.

Caution

This is an alpha release and is not recommended for production use.