I am trying to parse a string using the yacc parser provided in the PLY library for Python. The parser itself is very long, but the problem that i am having is that it always gives me the same error, no matter what kind of string i put. The error is this:
yacc: Parse error in input. EOF
And the lexer is running perfectly, so i think the parser is the problem. But i do not understand this error, so i do not even know where to look first to solve this problem
Any ideas? Thank you very much!
python
interactive REPL,import
whichever packages you need to import, and then callyy_scan_string("an input string")
(or whatever it is called in your Python version of it). – Cruiser