Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 15:45
· 71 commits to main since this release
  • Update rust to 1.89 and dependencies to the latest version.
  • Breaking: Implement proper label scoping to prevent label overwriting in macro invocations. (fixes #82)
    • Each macro invocation now has its own label scope.
    • Duplicate labels within the same scope are properly detected and reported.
    • Label shadowing across different scopes is supported.
    • Fixes issue where multiple invocations of the same macro would cause all jumps to target the last label definition.
  • Fix nested macro invocation with labels causing panic. (fixes #77)
    • Correctly handle bytecode offset tracking when macros are expanded as arguments.
  • Handle circular macro recursion and prevent stack overflow. (fixes #75)
    • Add detection for circular macro invocations with clear error messages.
  • Implement first-class macro arguments. (fixes #41)
    • Macros can now be passed as arguments to other macros.
    • New syntax: <arg>() to invoke a macro passed as an argument.