Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Context Free Grammar Python Packages

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

A python library to manipulate formal languages and various automata

46K 64 14
tree-sitter
tree-sitter-agda

Agda grammar for tree-sitter

2K 48 20
let-unimi
liblet

A teaching aid library for formal languages and compiler courses.

1K 14 3
fergusq
suomilog

Collection of utilities for parsing natural languages using context-free grammars

264 5 1
parkervg
grammar-guide

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

235 7 1
negativefnnancy
nangram

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

200 7 1
avidale
word-mover-grammar

A constituency grammar parser with support of morphology and word embeddings

93 2 0
nuchi
sublime-from-cfg

Generate a Sublime Text syntax definition for a context-free grammar

87 11 0
toda-lab
dhgraph

A Python module for directed hypergraphs

79 4 0
CyberZHG
parsing-toys

An educational tool for visualizing Context-Free Grammar (CFG) parsing algorithms.

73 3 1
rrozansk
spag

A module containing scanner (regular expression) and parser (BNF) compilers as well as a base generator, which provides protection and validation, from which all target language generators must inherit from. A script is also included which reads the respective specification(s) from file and outputs the resulting code to disk.

71 8 1
cchaine
wrlparser

A VRML (.wrl) parser library

47 5 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology