leostera / caramel

:candy: a functional language for building type-safe, scalable, and maintainable applications
https://caramel.run
Apache License 2.0
1.06k stars 25 forks source link

added parser entry point for terms #53

Closed progman1 closed 2 years ago

progman1 commented 3 years ago

I modified the expr_list at the last moment to include comments (attached to expressions!) instead of dropping them.

I would imagine erlang would actually entertain dangling separators because it makes commenting out code easy, which the wxapi.conf file alerted me to :)

the tuple rule is shared between expr/type so type is inheriting that dangliness. is an empty tuple {} valid? if not then list0... needs to become list1...

leostera commented 2 years ago

Hi! 👋🏽 since I'm currently not working on and have no plans to continue working on this version of the compiler, I'll close this PR. Thanks a lot for your contribution 🙏🏽