csyonghe / Spire

Other
174 stars 22 forks source link

Typedef support (and a bunch of small refactoring changes) #71

Closed tangent-vector closed 7 years ago

tangent-vector commented 7 years ago

The most interesting bit of this change is that rudimentary typedef declarations now work (at least, my one test case passes). I made a lot of simple refactorings before pushing through this change, most of which are continuing to unify the way that declarations are represented so that we can have more freedom to have any kind of declaration in any kind of context.