Closed wess closed 6 years ago
Hum, I've just fixed up a number of issues in the core of STLR parsing, I'll check to see if this is what was causing the noun issues or if I've introduced a new issue....
Thanks for taking the time to report.
Eurgh. I see the bug. It has to do with the way overriding of instances of rules is being done meaning that although there is a secondSubject, that secondSubject contains subject which contains noun, and noun isn't being hoisted.
I need to decide if the new way of overriding is wrong, or the grammar should change.
I think it's the former :-/
The fix was required to the STLR compiler the Bork project uses to build the command parser. I have updated the Bork repository with the newly generated Bork grammar swift file and the OysterKit master branch has the fix to the compiler in it.
I pulled the Bork repo, as well as my own, and when I run the example: "ATTACK SNAKE WITH SWORD" im getting the following error:
Just like your tutorial.
Thanks!