I'm trying to make an esolang for fun, and I'm running into some problems with the parser. However, I keep getting the error
ParserGeneratorWarning 4 shift/reduce conflicts
in my parser.py file.
I'm not quite sure what to do, as I'm fairly new to this area of programming.
def get_parser(self):
return self.pg.build()
What should happen is that a separate input file should run the command print(4 + 4 - 2);
which should output to 6, but I just get the error
ParserGeneratorWarning 4 shift/reduce conflicts return self.pg.build()