dansanderson / picotool

Tools and Python libraries for manipulating Pico-8 game files. http://www.lexaloffle.com/pico-8.php
MIT License
371 stars 45 forks source link

Support in-place binary operations ^= &= |= ^^= <<= >>= >>>= #104

Open hsandt opened 2 years ago

hsandt commented 2 years ago

I've noticed that binary operations were now supported, but not in-place binary operations: ^= &= |= ^^= <<= >>= >>>=

In addition, the in-place integer division is missing: \=

This is based on personal testing and looking at lexer(_test).py

(in practice I also found more operations failing in my use case, such as \. @, %, $, but since they are working in the unit tests I'm running locally, I think this is caused by my specific code, so I'll have to dig this further) (never mind, this was luamin failing, not p8tool)