dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
6 stars 0 forks source link

Implement ++ and -- #213

Closed dplassgit closed 1 year ago

dplassgit commented 1 year ago

I'm tired of writing i = i + 1 and besides there is already an opcode Inc and Dec.

dplassgit commented 1 year ago

I can't find a good way to represent this without introducing another node type...

dplassgit commented 1 year ago

Need to rewrite for longs