Open cominixo opened 3 years ago
These tokens should be processed with parentheses around the second value, for example, from a += b to a = a + (b), otherwise something like this:
a += b
a = a + (b)
a=2 a=a/(7-4/2) print(a) a=2 a/=7-4/2 print(a)
will print different things in pemsa, but they're the same value in PICO-8.
Man, I guess we do need a more advanced lua parser
These tokens should be processed with parentheses around the second value, for example, from
a += b
toa = a + (b)
, otherwise something like this:will print different things in pemsa, but they're the same value in PICO-8.