Skip to content

feat(explorer-web): add live GDScript parsing - #3

Open
SuperIceCN wants to merge 2 commits into
masterfrom
feat/explorer-web
Open

SuperIceCN wants to merge 2 commits into
masterfrom
feat/explorer-web

Conversation

@SuperIceCN

Copy link
Copy Markdown
Owner

Summary

  • In 0.8.0, retire the Tree-sitter binding, native libraries, and legacy public facade, CST, and lowering APIs. Migrate callers to GdScriptParserFacade; the AST and its serialization remain available.
  • Add explorer-web as a Gradle subproject that depends on the parser project. The TeaVM explorer uses a native textarea and a Web Worker to show diagnostics and a bounded AST view while parsing locally, even offline.
  • Update the root CI path filters and add dedicated Ubuntu 24.04 checks for the JVM, Node, and Java Playwright browser tests.

Compatibility and validation

  • In the Unicode classification check, 20 cases matched exactly and four had documented differences. No unexpected differences were found in those cases.
  • Local checks passed: 1,912 targeted tests during removal; 41 Explorer JVM tests, 17 Node tests, and 16 Java Playwright tests in the final run. GitHub-hosted checks have not been verified.

- Remove the legacy parser, native binaries, and build tooling.
- Add a TeaVM Web Worker probe and browser implementation plan.
- Preserve AST and diagnostic coverage with pure Java tests.
- Update the migration docs and bump the version to 0.8.0.
- Run the TeaVM parser in a Web Worker and display the AST and diagnostics without uploading source.
- Debounce edits, discard stale replies, and bound input and output sizes.
- Add JVM, Node, and Java Playwright tests, including browser parity checks and known Unicode differences.
- Run Web builds and tests in a dedicated Ubuntu CI step and document verification and local preview.
Copilot AI balanced review requested due to automatic review settings November 24, 2026 15:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@SuperIceCN SuperIceCN changed the title feat(explorer-web)!: add live GDScript parsing feat(explorer-web): add live GDScript parsing Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants