Lerche: A partial port of the Lark EBNF parser generator to Julia

A partial port of the Lark parser from Python to Julia has been released as Lerche (i.e. “Lark” in another language).

Like Lark, Lerche generates parsers from EBNF grammars. These parsers create parse trees from supplied text. Types and methods are provided to visit and transform the contents of the parse trees.

The port covers LALR parsing with both “standard” and “contextual” lexers. The other parsers and lexers provided by Lark have not (yet) been ported. All the relevant tests from Lark also pass in Lerche.

3 Likes