Closed PFElements closed 8 years ago
This is a tokenizer directive: @singleLineComments
Those were supported by ParseKit, but are not supported by PEGKit. Search the PEGKit project for “.grammar” files for examples of how to create a grammar for PEGKit
TD
On Sat, Feb 28, 2015 at 2:42 PM, pixybaba notifications@github.com wrote:
- Downloaded Zip of PegKit
- Downloaded Zip of templateengine
- Opened the workspace of PegKit andadded templateengine project in that workspace
- Ran ParseGenApp target and generated code for minmath grammar successfully
- Ran ParseGenApp target and generated code for mysql grammar but got error
Failed to match next input token: Line : 3 Near : @ singleLineComments Expected : Word
Found : @
Any reason why? mysql grammar works, if the code is downloaded from http://itod.github.io/PEGKitMiniMathTutorial/
— Reply to this email directly or view it on GitHub https://github.com/itod/pegkit/issues/21.
Failed to match next input token: Line : 3 Near : @ singleLineComments Expected : Word
Found : @
Any reason why? mysql grammar works, if the code is downloaded from http://itod.github.io/PEGKitMiniMathTutorial/