Log In  

Cart #a_parsing_bug-0 | 2019-09-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

So, there is a parsing bug with the unique "+=", "-=", "*=", "/=", and "%=" PICO-8 flavored lua syntax. In normal lua, something like this:


is valid syntax, treated as two separate expressions. That works in PICO-8, but this:


throws a syntax error. It's odd because this:


does not throw a syntax error. It seems to be only with the unique PICO-8 equals operators and directly after square brackets.

Fixing this could benefit people working on tweet carts as well as carts that are token & character/compression sensitive.

P#67711 2019-09-15 21:24 ( Edited 2019-09-29 01:49)


You posted this under Voxatron bugs not Pico-8 bugs.

P#68241 2019-09-29 00:21

Ah, good point. EDIT: now it is under pico-8.

P#68245 2019-09-29 01:49 ( Edited 2019-09-29 01:50)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-03-23 21:36:01 | 0.011s | Q:18