DavePearce / Lil.rs

A low-level intermediate language written Rust.
Apache License 2.0
1 stars 2 forks source link

Variables should Index Declaration #3

Open DavePearce opened 3 years ago

DavePearce commented 3 years ago

At the moment, variables do not index their relevant variable declaration but they should. This requires modifying the parser and the AST. This would mean we don't need an Env any more which further reduces work done by TypeChecker, though of course it does mean using one in the parser!