This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

1.9 KiB

Lark

A modern parsing library for Python

Overview

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, inferred from your grammar
  • Fast unicode lexer with regexp support, and automatic line-counting

Lark’s code is hosted on Github: https://github.com/lark-parser/lark

Install

$ pip install lark-parser

Syntax Highlighting


Documentation Index