Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codegen/Rust: allow breaking up schema file #17523

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

redsun82
Copy link
Contributor

This supersedes #17514 as a mechanism to split up the schema file in multiple modules (that can be reverted), with an example applied to Rust.

@aibaars I don't know exactly how schema.py is meant to be generated from ungrammar, but this should allow you to specifically only generate the AstNode hierarchy. We can then use @annotate to bring back docstrings there.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Sep 19, 2024
@redsun82 redsun82 marked this pull request as ready for review September 19, 2024 14:57
@redsun82 redsun82 requested a review from a team as a code owner September 19, 2024 14:57
@redsun82 redsun82 merged commit 6a540d8 into main Sep 19, 2024
24 checks passed
@redsun82 redsun82 deleted the redsun82/rust-break-up-schema branch September 19, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants