scrabsha / expandable

What if we could check declarative macros before using them?
MIT License
45 stars 4 forks source link

feat: add minimal support for the Lifetime token description #72

Closed scrabsha closed 1 month ago

scrabsha commented 1 month ago

For some reason, I completely forgot to add the Lifetime token description, which disabled me from writing parts of the parser.

This MR does the minimal amount of work on this side, and adds it in grammar-gen and in rust-grammar-dpdfa. I don't think the lifetime is correctly parsed in the frontend. This will be done later, in another PR :sparkles:.