This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.4 KiB

Lark - a modern parsing library for Python

Lark can parse any context-free grammar.

Lark provides

  • Advanced grammar language, based on EBNF
  • Three parsing algorithms to choose from: Earley, LALR(1) and CYK
  • Automatic tree construction, based on grammar
  • Fast unicode lexer with regexp support, and automatic line-counting

Code is hosted on Github: https://github.com/lark-parser/lark

Install

$ pip install lark-parser

Syntax Highlighting

Documentation Index