yeslogic / fathom

🚧 (Alpha stage software) A declarative data definition language for formally specifying binary data formats. 🚧
Apache License 2.0
258 stars 14 forks source link

Make parenthesized terms explicit in the surface AST #474

Closed Kmeakin closed 1 year ago

Kmeakin commented 1 year ago

This would allow us to pretty print the user's input exactly in the future (eg if we want a fathom fmt command). Would also allow us to move the precedence logic from surface::pretty to core::distillation

brendanzab commented 1 year ago

Good idea!