sector-f / toylang

The most-creatively-named toy language in the world
3 stars 3 forks source link

Mutate one-dimensional arrays #6

Open dweipert-3138720606 opened 6 years ago

dweipert-3138720606 commented 6 years ago

So this only mutates one-dimensional arrays now because my Rust game isn't strong enough yet to find an efficient way for multi-dim. Maybe getting a pointer to the nested value and incrementing that so that I don't have to re-set the nested value. But I wouldn't know how to do that right now.

But this could be a new hacktoberfest issue. 😄