Pablo Pissi
Pablo Pissi
The expected result shouldn't be this one? `(lexer.has("ws") ? {type: "ws"} : lexer.ws)`
But why the code generated is invalid? Which is the way to import the grammar? I'm using `const parser = new nearley.Parser(nearley.Grammar.fromCompiled(grammar));` And this is causing the error
I'm having the same issue, is there a fix or workaround for it?
> I was having this issue. Workaround when you're importing your grammar do this: > > ```ts > import { default as myGrammar } from './my-grammar-module'; > const myParser =...
Hi! make sense to me, I'll be reviewing it soon and let you know. It's not a workaround, but you can use the same queue for chained tasks until the...
Hi, I've tested this code and if check the results variable I get [True, True, True, True]. What are you expecting?