Open billdenney opened 5 years ago
Can you investigate it a little more? I will not be able to check this issue for couple of days.
My immediate fix was to use a regexp. I don't think I understand the p$set function sufficiently.
Could you perhaps add documentation of the functions in the parser and lexer objects (like p$set()
)? I think that would help me with my issue.
Can you check your example with https://github.com/dabeaz/ply ? rly is more or less a one to one clone of python ply.
When running the code below, I get an error about trying to index into an environment. I think that a safety check is needed in the
p$callable()
function, but I'm not sure what.Created on 2018-12-08 by the reprex package (v0.2.0).