yeslogic / fathom

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

Improve readability of literal elaboration #403

Closed brendanzab closed 2 years ago

brendanzab commented 2 years ago

I altered the literal parser methods on the elaboration context to take the literal constructors, which cleans up some of the multi-line match arms in the elaborator.