reaver-project / vapor

Vapor is a language made as a part of the Reaver Project effort. The name has originated as a word play on a word "vaporware" - the author often called this language a "vaporlang", and later decided to keep that name.
Other
5 stars 4 forks source link

Include AST info in serialized module files #52

Open griwes opened 5 years ago

griwes commented 5 years ago

Currently, the module files don't contain any AST info; this is bad, since it makes good error messages essentially impossible. It also makes a few places in code awkward, like, for instance, it makes it necessary to have two constructors in typeclass_expression, which is what I'd like to fix as I'm adding it, but it seems like a bigger effort than what I want to include in typeclasses themselves.

(Nevermind that I've already done some big changes not related to the feature on that branch. Everything is fine.)

griwes commented 5 years ago

...walking around this with silly hacks is proving to be more and more expensive as I proceed, so at this point I'll probably just fold this into #50.