Results 61 comments of menduz

I tryed without success El jue, nov 20, 2014 18:08, turnersr [email protected] escribió: > Have you contacted the authors in order to learn more about the training > algorithm used...

In this case we have an invalid state machine for the parser, but the error isn't happy at all. `RValue -> InfixExpression -> RValue -> InfixExpression -> RValue -> InfixExpression...

Hello, So there are Constructions or Rules defined as `ConstructionName := Term Term Term {pin=1)`. In those constructions, terms have a number, starting at 0. - `pin=1` means that the...

This example parses a JSON file with error recovery and pinning: ``` { ws=implicit } /* JSON WITH ERROR RECOVERY https://www.ietf.org/rfc/rfc4627.txt */ value ::= false | null | true |...

You can define EOL in your grammar, you can also take a look at the tests for different grammars. https://github.com/menduz/node-ebnf/blob/194343232fd61da549abf3995d3dabdee0b7670b/test/NewLang.spec.ts#L140 Sadly EBNF or ABNF are not compatible across every implementation...

As far as I can see in those files as long as `\n` is used for error reporting or logs we are good to go!

Hi, thank you for sharing the use case. There are a couple of things we can do to optimize this kind of parsers: ### Look ahead of the first letter...

Yes, there is a way to export the parsed grammar. Every grammar was scaffolded using the previous one. 1. BNF was hand made. 2. Then W3CEBNF was created using BNF....

No, it wasn't updated since 2016 https://github.com/menduz/ebnf-highlighter