This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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