titan-lang / titan

The Titan programming language
http://titan-lang.org
MIT License
406 stars 13 forks source link

Arrays with holes #224

Closed hugomg closed 6 years ago

hugomg commented 6 years ago

Allow the hash part of the array to be used as well.

One awkward thing about this commit is that it undid the "Lvalue" abstraction a bit. I wonder if it might be better to fix this when we do the IR rewrite though...