Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

add scala_bindings_gen tool - #9

Merged
xavierpinho merged 2 commits into
mainfrom
xavierp/scala-gen-tool
Apr 21, 2026
Merged

xavierpinho merged 2 commits into
mainfrom
xavierp/scala-gen-tool

Conversation

@xavierpinho

Copy link
Copy Markdown
Contributor
  • add scala_bindings_gen tool that automatically generates a single .scala file with the JSON bindings.
  • the (JSON nodeKind <-> Ungrammar node names) correspondence was done manually. Fortunately, non-terminal nodes follow a simple rule - it was only tokens (and Self, the keyword) that required effort. Ideally we'd also auto-generate these. Future work to check if that's feasible.

@xavierpinho
xavierpinho merged commit 0673e34 into main Apr 21, 2026
4 checks passed
@xavierpinho
xavierpinho deleted the xavierp/scala-gen-tool branch April 21, 2026 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant