Skip to main content

OCamllex grammar for tree-sitter

Project description

tree-sitter-ocamllex

CI pypi

This module provides an OCamllex grammar for the tree-sitter parsing library.

Installation

pip install tree-sitter-ocamllex

You will probably also need the tree-sitter binding.

pip install tree-sitter

Usage

Load the grammar as a Language object:

import tree_sitter_ocamllex
from tree_sitter import Language, Parser

language = Language(tree_sitter_ocamllex.language())

Create a Parser and configure it to use the language:

parser = Parser(language)

Parse some source code:

tree = parser.parse(
    b"""
    rule main = parse
      | _ { "" }
    """
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree_sitter_ocamllex-0.25.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tree_sitter_ocamllex-0.25.0-cp310-abi3-win_arm64.whl (15.6 kB view details)

Uploaded CPython 3.10+Windows ARM64

tree_sitter_ocamllex-0.25.0-cp310-abi3-win_amd64.whl (16.6 kB view details)

Uploaded CPython 3.10+Windows x86-64

tree_sitter_ocamllex-0.25.0-cp310-abi3-musllinux_1_2_x86_64.whl (33.2 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

tree_sitter_ocamllex-0.25.0-cp310-abi3-musllinux_1_2_aarch64.whl (33.9 kB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

tree_sitter_ocamllex-0.25.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (35.3 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

tree_sitter_ocamllex-0.25.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl (33.8 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64manylinux: glibc 2.5+ x86-64

tree_sitter_ocamllex-0.25.0-cp310-abi3-macosx_11_0_arm64.whl (15.1 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

tree_sitter_ocamllex-0.25.0-cp310-abi3-macosx_10_9_x86_64.whl (14.7 kB view details)

Uploaded CPython 3.10+macOS 10.9+ x86-64

File details

Details for the file tree_sitter_ocamllex-0.25.0.tar.gz.

File metadata

  • Download URL: tree_sitter_ocamllex-0.25.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tree_sitter_ocamllex-0.25.0.tar.gz
Algorithm Hash digest
SHA256 eef284746014b9b2799628f723d04644cea48c1935618063dedb0711f3980ea2
MD5 1f87a5fc1af329991bb70087cc9c8aab
BLAKE2b-256 2f0f7c43d3191711bb90350d8b9b90a142682c37f792757d816cae6ab4226d62

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 a47c8136108a00c81c74f33ce298b77bceaeb62bce6491433fb23eb76ef82e88
MD5 55caebc152ff367fe712253b2dc1cdf8
BLAKE2b-256 b9ab37f27d428c50a9f9bd33ce1373c73cda0a2b222132df5a1272dda49f3e8c

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6fa62f8af84337f1db75e3f59e4e341541445460a4fcf6c0fe9a2cacc82ff04c
MD5 c41cb57cc1c8011025afb16d6f95133c
BLAKE2b-256 cfe5c6dbf49f29149f468d350ba80d335e0f3d67258001270eb8f9c8aa9cb830

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 19c0e9dc12de6de12ab089dab101e069700fd80785ff47bea7992a82cf48be35
MD5 20fd7b167231116e9ba9258e7f24b06d
BLAKE2b-256 f9de6233143856885d950e906eeba02434c6d8ef1ff1b7b55d53710ab8053f13

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 78dc6f19d9f2329d416a660958c75a9409a5705d3a036dbfc951cbaaa508550b
MD5 44c5aa9aaef50edef677de68f1a7ea52
BLAKE2b-256 c88ce05271e033f42104d8f3dde605f11073bb196c2fc19d904bcaa8e0a9fdef

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3ff1b041054b8864cafddfbc0937caec27b69f58f0243b3c4d74dbc2398475e2
MD5 c5584f1d4f8d54d39a69910386da0707
BLAKE2b-256 67d05ce78cd6cfd651ae325499c39ccdaffb635dd91a2eb9fb51886b6ed16657

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 197c1a6ff642346277828ac49b1a7f62a217f033c941762796020f0b5a90d4be
MD5 4adec57941f292914af728b26929b43e
BLAKE2b-256 d85a93f978362b82e25ef3c018aa0f72b7aebafda45dbf2f522e0ec8d2786782

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8cb90e9f2d39b9c91b5ac00a728d168cda4aec2ac9252ad226aedc05e42afdfb
MD5 e1b8b19aaf90f9e1345d2c311561efbd
BLAKE2b-256 ca4dd47b7311190856e35ca4b49aeb02cae9e58ceeb0f9d61b7c55f8f2e98a41

See more details on using hashes here.

File details

Details for the file tree_sitter_ocamllex-0.25.0-cp310-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for tree_sitter_ocamllex-0.25.0-cp310-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1238f0e9b9fdc5eb0b93a6f2d159ef30704f5c18a3ca491f626b1e64bff83649
MD5 f9d43a6275de266d15e3b5de77070348
BLAKE2b-256 1ddeeae503da0c0564ad9f36c6492e7db9f4b2806f4a101a7c1a3ded0b5a8fd6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page