Closed jillyj closed 2 years ago
@erezsh could you please take a look at this issue?
Fixed in PR https://github.com/lark-parser/Lark.js/pull/26
Can you test that it works as expected?
(now also merged to master
)
@erezsh how do I test with the master? I usually generated the parser by the larkJS package.
I got it worked by pip install -e
. :)
The fix works! Thanks.
Great! It will get into the next release.
Grammar file: https://github.com/opencybersecurityalliance/kestrel-lang/blob/develop/src/kestrel/syntax/kestrel.lark Generated parser: kestrelParser.js.zip
Code
Expected: can stop parsing and get error info.