EladB1 / swervec

Toy compiler/interpreter for learning
0 stars 0 forks source link

Remove `mut` keyword from language #11

Closed EladB1 closed 10 months ago

EladB1 commented 10 months ago

Introduced mut keyword to give the developers the option to declare a const mut array which would be a constant reference to a mutable array (the variable can't be reassigned). That feature doesn't really make sense since the pointer will change when you change the first element anyway.

EladB1 commented 10 months ago

Done in commit c5cbe94.