PoignardAzur / venial

"A very small syn"
MIT License
196 stars 7 forks source link

Module support #31

Closed Bromeon closed 2 years ago

Bromeon commented 2 years ago

Adds support for mod and static.

Modules currently can contain these item types (which can now be top-level Declaration as well):

These item types can be inside mod, but are not parsed as top-level Declarations themselves:

Not supported:

Bromeon commented 2 years ago

Thanks for the feedback! 🙂

Fixed the use parsing and removed the FIXME. Postponed unsafe mod, which I'm going to work on in an hour or so.

Added one commit 79b6312c4a15370323b532cf65b60c6e2deecde8; if you're fine with that, we can merge.