Skip to content

v0.1.6

Choose a tag to compare

@ZtaMDev ZtaMDev released this 30 Dec 19:57
· 20 commits to main since this release

Release Notes - v0.1.6

round-core v0.1.6

Significant improvements to the compiler's robustness and control flow handling.

New Features

  • Sequential Control Flow: You can now chain multiple control statements within a single JSX expression block without syntax errors.
    {
        if(show()) { <div>Visible</div> }
        if(!show()) { <div>Hidden</div> }
    }
  • Recursive Parsing: The transformer now uses a recursive walker to accurately handle deeply nested control structures (e.g., if inside for inside switch).

Bug Fixes

  • Fixed "Unexpected token" errors when using multiple if statements in sequence.
  • Improved handling of apostrophes in JSX text within control blocks.

VS Code Extension v0.1.7

Synced with the new recursive compiler logic for accurate diagnostics.

Improvements

  • Recursive Walker: The LSP now mirrors the core compiler's parsing logic, eliminating false positives for "Expected identifier".
  • Robust Sequence Support: Fixed issues where sequential if statements were incorrectly flagged as syntax errors.
  • Accurate Offsets: maintain precise source positions for diagnostics even in complex nested structures.