cqcallaw / newt

The newt programming language
GNU General Public License v3.0
12 stars 2 forks source link

Refactor array variable parsing #37

Closed cqcallaw closed 8 years ago

cqcallaw commented 8 years ago

Array variables were implemented before the ":=" declaration syntax, and some inelegant code was written to work around parsing limitations. It would be cleaner for an array variable to be an operator on a variable reference instead of an identifier.