PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Context Free Grammar Python Packages

Python packages with the GitHub topic context-free-grammar. Sorted by relevance, with stars and monthly downloads.
Aunsiels
pyformlang

A python library to manipulate formal languages and various automata

64K 60 13
DES-Lab
aalpy

An Automata Learning Library Written in Python

5K 233 40
let-unimi
liblet

A teaching aid library for formal languages and compiler courses

2K 13 3
tree-sitter
tree-sitter-agda

Agda grammar for tree-sitter

1K 45 19
fergusq
suomilog

A tool for parsing context-free grammars with morphological information (mainly for the Finnish language)

366 4 1
negativefnnancy
nangram

Small little context-free expression generator and parser using user provided EBNF-like source.

245 7 1
parkervg
grammar-guide

Speculative grammar backtracking algorithm for LLM decoding conforming to some lark context-free grammar (CFG)

192 7 1
toda-lab
dhgraph

A Python module for directed hypergraphs

169 4 0
rrozansk
spag

A compiler to translate regular expressions (regular grammars) and LL1 BNF languages (subset of context free grammars) to generated scanners and/or parsers.

123 8 1
avidale
word-mover-grammar

A constituency grammar parser with support of morphology and word embeddings

96 2 0
cchaine
wrlparser

Python library to parse VRML files (.wrl)

93 5 0
nuchi
sublime-from-cfg

Generate a sublime-syntax file from a non-left-recursive, follow-determined, context-free grammar

87 11 0
CyberZHG
parsing-toys

Parsing toys

82 3 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery