tac08 is an an emulation of the runtime part of the Pico-8 fantasy console. It takes a .p8 (text format) pico-8 cart file and runs it as closely posible
Pico8 supports some unusual lua syntax that allows users to save on tokens. In particular, you can call split() on a string without using the parenthesis.
I have a program that throws this error when run in tac08
col=split"2,13,6,7,14,8,14,7,6,13" [time()*5\1%10+1]: ']' expected near '\'
But the same line will run correctly in Pico8. There are a few token-optimization tricks in this line, so I'm not quite sure if it's split"...." or something else, but this definitely runs correctly on Pico-8 0.2.4.
Pico8 supports some unusual lua syntax that allows users to save on tokens. In particular, you can call split() on a string without using the parenthesis.
I have a program that throws this error when run in tac08
col=split"2,13,6,7,14,8,14,7,6,13" [time()*5\1%10+1]: ']' expected near '\'
But the same line will run correctly in Pico8. There are a few token-optimization tricks in this line, so I'm not quite sure if it's split"...." or something else, but this definitely runs correctly on Pico-8 0.2.4.