Closed andersk closed 8 years ago
that's very weird. even =.TQ
compiles properly, its only when you put something before it that this bug pops up.
the same thing happens with things like =S.ZQ
. might be a problem in the parser.
But it doesn't happen with =S.!Q
or =S.aQ
where there isn't a variable called !
or a
.
Another case of the same bug: https://pyth.herokuapp.com/?code=%3D%2a"blah"Tb&debug=1
To fix this, what Pyth really needs is a tokenizer
This is fixed.
=s.TQ
compiles toassign('T',Psum(transpose(Q)))
, even thoughT
is not mentioned. Shouldn’t that assign toQ
?