Closed dvdrndlph closed 5 years ago
You either have to tell the parser what rule to start with or name it "start".
I'm not sure why the other one works in the first place. There's also $
to specify the end of input, I'd add that to your starting rule.
These are questions better asked on StackOverflow.
You probably need to check interactions with @@nameguard, which is turned on by default.
Confirmed that the results is unexpected even with @@nameguard :: False
Thanks for the quick turnaround. I learned a lot.
I am puzzled by this behavior:
Setting the grammar to the following works as expected:
Am I missing something?