pyth
pyth copied to clipboard
Error creating Python code from Pyth Source
I was working on this problem, and I created a very basic starting point.
As I tried executing the code, there were more errors than I'd expected, including "parse_token", which I didn't have in my code. I opened the debugger to see what I did, and it did not show the converted python code, just lines on lines of compiler errors.
The code was VzIqHN=Z?qJ\\hZtZ)+*dZN=HN
, link is here
Issue was I typed "J" instead of "H" on character 11. I guess the auto-init tripped up the compiler
Yeah, this sort of error usually means that you messed up the arity somewhere. This could be because you actually gave the wrong number of arguments, or as you did, used a wrong command, which messed stuff up down the line.
We may want to look into catching these errors and doing our own compile-time error reporting, but that may be hard.