Skip to content

feat(rust): make generated Rust CST/AST hygienic against user-shadowe… - #25

Merged
rnortman merged 1 commit into
mainfrom
fltk-serde-followup
Aug 8, 2026
Merged

feat(rust): make generated Rust CST/AST hygienic against user-shadowe…#25
rnortman merged 1 commit into
mainfrom
fltk-serde-followup

Conversation

@rnortman

@rnortman rnortman commented Aug 8, 2026

Copy link
Copy Markdown
Owner

…d std

Name std items by absolute path in the emitted cst.rs and qualify std prelude spellings in the emitted ast.rs, so a grammar whose rule names collide with prelude items still produces compilable output. Extends the fixture crate with keyed and multi-keyed regions, adds a generated-code gate that shadows every qualified std spelling, and pins the AST guide's quick start on both backends.

…d std

Name std items by absolute path in the emitted cst.rs and qualify std
prelude spellings in the emitted ast.rs, so a grammar whose rule names
collide with prelude items still produces compilable output. Extends the
fixture crate with keyed and multi-keyed regions, adds a generated-code
gate that shadows every qualified std spelling, and pins the AST guide's
quick start on both backends.
@rnortman
rnortman merged commit f33015c into main Aug 8, 2026
1 check passed
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.

1 participant