Idorobots / spartan

A small Lisp dialect that serves me as a test bed for programming language features.
MIT License
13 stars 3 forks source link

Pass output validation #127

Closed Idorobots closed 3 years ago

Idorobots commented 3 years ago

Currently each pass re-uses the same AST even though some passes eliminate entire node classes from the output. It would be nice to have a schema defined for each pass that validates that the AST passed into it can actually be processed correctly.