ptal / oak

A typed parser generator embedded in Rust code for Parsing Expression Grammars
Apache License 2.0
142 stars 14 forks source link

Pretty printer of annotated grammar #49

Closed ptal closed 3 years ago

ptal commented 9 years ago

Printing the grammar with type annotation could be useful to debug and obtain the type of a rule or expression.

ptal commented 3 years ago

Triage: Seems done with the attributes show_typing and debug_typing.