Skip to content

feat: add Go AST panel with tsgo-ast integration#313

Open
younggglcy wants to merge 3 commits into
oxc-project:mainfrom
younggglcy:feat/go-ast-panel
Open

feat: add Go AST panel with tsgo-ast integration#313
younggglcy wants to merge 3 commits into
oxc-project:mainfrom
younggglcy:feat/go-ast-panel

Conversation

@younggglcy

@younggglcy younggglcy commented Mar 24, 2026

Copy link
Copy Markdown

Add a new Go AST tab to the output panel that displays the TypeScript AST using Go's type names via tsgo-ast WASM.

Works done via Claude Code and Codex under my supervision.

Demo:
image

Closes #306

Add a new "Go AST" tab to the output panel that displays the TypeScript
AST using Go's type names via tsgo-ast WASM. Includes a null-safety fix
for goParseAST which returns null (not []) for errors due to Go nil
slice serialization.
…ceFileInfo

- Link tsgo-ast to local build for enriched WASM output
- Add sourceFileInfo ref to goAst composable
- Display sourceFileInfo metadata bar in GoAstPanel
- loc, flags, and comments render automatically via AstProperty
@younggglcy younggglcy marked this pull request as ready for review March 31, 2026 09:13
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.

[Feature Request] support Go AST panel

1 participant