Skip to main content

Metamath tree-sitter grammar

Use in python

Add this repo as dependency, for example:

uv add tree-sitter-metamath

Create a parser:

import tree_sitter_metamath as tsmetamath
from tree_sitter import Language

MM_LANGUAGE = Language(tsmetamath.language())

parser = Parser(MM_LANGUAGE)

Read a metamath database:

from pathlib import Path

tree = parser.parse(Path("path/to/database.mm").read_bytes())

Happy hacking!

Metadata

Release files for tree-sitter-metamath 0.1.1

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

Source distribution (sdist)

Source distribution for tree-sitter-metamath 0.1.1
File Size Uploaded Provenance Actions
tree_sitter_metamath-0.1.1.tar.gz 17.4 kB Without provenance Details for tree_sitter_metamath-0.1.1.tar.gz

Release files / tree_sitter_metamath-0.1.1.tar.gz

Download URL tree_sitter_metamath-0.1.1.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
77369c804047539621803ea24f78aeb2ca23b09fe54b68dd64690601674d6c14
BLAKE2b-256 checksum
How to use checksums
c3601042761dde00c94208734935a753d3cf6a0b29ed8b4714854932377312e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for tree-sitter-metamath 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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