Lerche.jl icon indicating copy to clipboard operation
Lerche.jl copied to clipboard

A Julia port of the Lark parser

Results 9 Lerche.jl issues
Sort by recently updated
recently updated
newest added

@JuliaRegistrator register Release notes: * Added `@terminal` macro for token processing callbacks (supplied by @peterahrens) * Token processing is now within 25% of non-token-processing speed.

This was noticed during work on #30. Because the relevant structure is immutable, and priority inversion is done after the structure is initialised, it fails.

Please check PR #30

Thanks for Lerche.jl, it looks great. The Python Lark supports also Earley(SPPF) parsing. Any plans to implement this also for Lerche.jl?

Feature request: I have several Lerche parsers that read various file formats and output an object through a transformer for each parser. Now I'd like to have another parser that...

enhancement

Clicking on the «Docs | stable» badge in the README triggers a 404 error. («Docs | devel» works fine.) **Disclaimer**: this issue was opened following the review happening here: https://github.com/openjournals/joss-reviews/issues/3497.

I'm attempting to run the calc.jl example, and for some reason running Lark(...) takes a very long time. Not sure that this is on my end or how to know...

Building parse trees from very large files (e.g.> 200MB data file) can occupy considerable memory. If the transform is applied immediately at the point that the syntactical construct is recognised,...

enhancement

It's a great tool, but parsing strings is too hard. Tried the example JSON parser. text = read("large-file.json", String) j = Lerche.parse(json_parser,text) The file large-file.json can be downloaded here: https://github.com/json-iterator/test-data/blob/master/large-file.json...