csyonghe / Spire

Other
174 stars 22 forks source link

Refactor syntax #63

Closed tangent-vector closed 7 years ago

tangent-vector commented 7 years ago

This is initial work on some refactoring of the AST and front-end. The main "accomplishment" in this batch of changes is to remove the StructSymbol type, in favor of just using the front-end StructSyntaxNode directly.

Other changes that happened, to enable this:

I intend to systematically remove all the Symbol types, but to do so piece by piece. The StructSymbol case seemed like the least entangled one, and so the easiest place to start.