Skip to main content

t_lark is a modern general-purpose parsing library for Python. With t_lark, you can parse any context-free grammar, efficiently, with very little code. Main Features:

  • Builds a parse-tree (AST) automagically, based on the structure of the grammar
  • Earley parser
  • Can parse all context-free grammars
  • Full support for ambiguous grammars
  • LALR(1) parser
  • Fast and light, competitive with PLY
  • Can generate a stand-alone parser
  • CYK parser, for highly ambiguous grammars
  • EBNF grammar
  • Unicode fully supported
  • Automatic line & column tracking
  • Standard library of terminals (strings, numbers, names, etc.)
  • Import grammars from Nearley.js
  • Extensive test suite
  • And much more! Since version 1.4, only Python versions 3.14 and up are supported.

Metadata

Release files for t-lark 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for t-lark 1.4.0
File Size Uploaded
t_lark-1.4.0.tar.gz 291.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for t-lark 1.4.0
File Interpreter ABI Platform
t_lark-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 411.2 kB

Release files / t_lark-1.4.0.tar.gz

Download URL t_lark-1.4.0.tar.gz
Size 291.3 kB
Tags Source
SHA-256 checksum
How to use checksums
44eb27badf1ad777e1609ed1ceadf3eb0fa28fdb7e3a8977a7e946dff8b4f968
BLAKE2b-256 checksum
How to use checksums
ee5fd84a98ad6240795f1cdd4620b6e1a02a69ef5deeaf19b9278719c4cb8d5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / t_lark-1.4.0-py3-none-any.whl

Download URL t_lark-1.4.0-py3-none-any.whl
Size 119.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7181867092bc292258baee979b88e87813a3c79440bd5b995ba1c389ad6095b0
BLAKE2b-256 checksum
How to use checksums
771140400fdc6d9f947e37465a2937afffac2fccc68194301c530798c98a5553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page