JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
85 stars 3 forks source link

Refactor TP Iterator #126

Closed JSAbrahams closed 5 years ago

JSAbrahams commented 5 years ago

Relevant issues

fixes #125 fixes #124 fixes #102

Summary

Rather large refactor of the parsing stage. More application logic has been moved to the TPIterator so this isn't scattered over the place.

JSAbrahams commented 5 years ago

Turing out to be more ambitious than expected, especially due to Rust's borrow rules. So I will have to spend some extra time to make sure that the new design actually compiles is Rust.