badicsalex / peginator

PEG parser generator for creating ASTs in Rust
MIT License
34 stars 3 forks source link

Allow the names "state", "global", "result", etc. in field names #24

Open badicsalex opened 1 year ago

badicsalex commented 1 year ago

All field names that are not Rust keywords should be allowed during parsing. Either prefix internal stuff with __, or prefix the temporaries with something.

See #21