# tree-sitter-ocaml
[![CI][ci]](https://github.com/tree-sitter/tree-sitter-ocaml/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-ocaml)
[![crates][crates]](https://crates.io/crates/tree-sitter-ocaml)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-ocaml/)
OCaml grammar for [tree-sitter][].
This module defines grammars for implementations (`.ml`) interfaces (`.mli`) and types. Require them as follows:
```js
require('tree-sitter-ocaml').ocaml;
require('tree-sitter-ocaml').ocaml_interface;
require('tree-sitter-ocaml').ocaml_type;
```
References
- [OCaml language reference](https://ocaml.org/manual/language.html)
- [OCaml language extensions](https://ocaml.org/manual/extn.html)
- [OCaml lexer](https://github.com/ocaml/ocaml/blob/trunk/parsing/lexer.mll)
- [OCaml parser](https://github.com/ocaml/ocaml/blob/trunk/parsing/parser.mly)
[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-ocaml/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-ocaml?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-ocaml?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-ocaml?logo=pypi&logoColor=white&label=PyPI
[tree-sitter]: https://tree-sitter.github.io/tree-sitter/
Raw data
{
"_id": null,
"home_page": null,
"name": "tree-sitter-ocaml",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "incremental, parsing, tree-sitter, ocaml",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/00/03/db2822ab9d4acaa9e43f7e3cb1fb7a40b8a46b95fe138d8a4ac4b28768a5/tree_sitter_ocaml-0.23.2.tar.gz",
"platform": null,
"description": "# tree-sitter-ocaml\n\n[![CI][ci]](https://github.com/tree-sitter/tree-sitter-ocaml/actions/workflows/ci.yml)\n[![discord][discord]](https://discord.gg/w7nTvsVJhm)\n[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)\n[![npm][npm]](https://www.npmjs.com/package/tree-sitter-ocaml)\n[![crates][crates]](https://crates.io/crates/tree-sitter-ocaml)\n[![pypi][pypi]](https://pypi.org/project/tree-sitter-ocaml/)\n\nOCaml grammar for [tree-sitter][].\n\nThis module defines grammars for implementations (`.ml`) interfaces (`.mli`) and types. Require them as follows:\n\n```js\nrequire('tree-sitter-ocaml').ocaml;\nrequire('tree-sitter-ocaml').ocaml_interface;\nrequire('tree-sitter-ocaml').ocaml_type;\n```\n\nReferences\n\n- [OCaml language reference](https://ocaml.org/manual/language.html)\n- [OCaml language extensions](https://ocaml.org/manual/extn.html)\n- [OCaml lexer](https://github.com/ocaml/ocaml/blob/trunk/parsing/lexer.mll)\n- [OCaml parser](https://github.com/ocaml/ocaml/blob/trunk/parsing/parser.mly)\n\n[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-ocaml/ci.yml?logo=github&label=CI\n[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord\n[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix\n[npm]: https://img.shields.io/npm/v/tree-sitter-ocaml?logo=npm\n[crates]: https://img.shields.io/crates/v/tree-sitter-ocaml?logo=rust\n[pypi]: https://img.shields.io/pypi/v/tree-sitter-ocaml?logo=pypi&logoColor=white&label=PyPI\n[tree-sitter]: https://tree-sitter.github.io/tree-sitter/\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "OCaml grammar for tree-sitter",
"version": "0.23.2",
"project_urls": {
"Homepage": "https://github.com/tree-sitter/tree-sitter-ocaml"
},
"split_keywords": [
"incremental",
" parsing",
" tree-sitter",
" ocaml"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4421ba679b589e7a5560194e60d59c5e0a3772bf692297b909eb5a4c712f3670",
"md5": "3b8f34d0e65f756d813012fc145a8b77",
"sha256": "78bb28f6b6ca20ab8ad1b71a26ba0332df049ea8bb4e5dff9d716eeceb38408b"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "3b8f34d0e65f756d813012fc145a8b77",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1396746,
"upload_time": "2024-11-11T04:26:53",
"upload_time_iso_8601": "2024-11-11T04:26:53.595811Z",
"url": "https://files.pythonhosted.org/packages/44/21/ba679b589e7a5560194e60d59c5e0a3772bf692297b909eb5a4c712f3670/tree_sitter_ocaml-0.23.2-cp39-abi3-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0a0e4e760d52b142c47327f67b2de5bc5da1440395743c6d625b9b90b0f35d8f",
"md5": "0b77d45fbc015e355afa8d83d7969e80",
"sha256": "30d9bb44a8b5b7c5874fb63a35aac1d08fbabcaa63eb7217a6365246611ebf97"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "0b77d45fbc015e355afa8d83d7969e80",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1499688,
"upload_time": "2024-11-11T04:26:56",
"upload_time_iso_8601": "2024-11-11T04:26:56.011590Z",
"url": "https://files.pythonhosted.org/packages/0a/0e/4e760d52b142c47327f67b2de5bc5da1440395743c6d625b9b90b0f35d8f/tree_sitter_ocaml-0.23.2-cp39-abi3-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3326ddade68ce743017124d4ed29c0ee5b5f6407fce32d82241f7bc61ff90dfc",
"md5": "94f6504d5ca1eb9787156749984ef6da",
"sha256": "ad5631639a7fe4077e3c8efd449c2e383a7f0adb0ee038ee5e3bb55c4af09ee7"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "94f6504d5ca1eb9787156749984ef6da",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1555270,
"upload_time": "2024-11-11T04:26:57",
"upload_time_iso_8601": "2024-11-11T04:26:57.255007Z",
"url": "https://files.pythonhosted.org/packages/33/26/ddade68ce743017124d4ed29c0ee5b5f6407fce32d82241f7bc61ff90dfc/tree_sitter_ocaml-0.23.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c7d2b9b97ed3de99bd32f4f403414e9f4c091da8e90441e62ca0bf9ae64cc3b9",
"md5": "b3bf5982b7dfb0421007a022a4df69f0",
"sha256": "7e33b3bdb759bab018b52eddcca0a4c7e839e4d815c34aca92a1d3ff3573a6b9"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "b3bf5982b7dfb0421007a022a4df69f0",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1507984,
"upload_time": "2024-11-11T04:26:59",
"upload_time_iso_8601": "2024-11-11T04:26:59.075206Z",
"url": "https://files.pythonhosted.org/packages/c7/d2/b9b97ed3de99bd32f4f403414e9f4c091da8e90441e62ca0bf9ae64cc3b9/tree_sitter_ocaml-0.23.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c7ac2b9788c073d310c6b149a35f7a94ecd8aa76f7830cd75d9ef801d692a965",
"md5": "3445dfb8fe86a2c7830c3aa76269bcf9",
"sha256": "db4dc53daaa5e6eca8850f8a001843cf4ad8d52bf597acb106eb68334c747a66"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "3445dfb8fe86a2c7830c3aa76269bcf9",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1463155,
"upload_time": "2024-11-11T04:27:00",
"upload_time_iso_8601": "2024-11-11T04:27:00.554853Z",
"url": "https://files.pythonhosted.org/packages/c7/ac/2b9788c073d310c6b149a35f7a94ecd8aa76f7830cd75d9ef801d692a965/tree_sitter_ocaml-0.23.2-cp39-abi3-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f73df61b9712720eb5718035e164193863aada3f92c8ac9d13be0c33d88980ea",
"md5": "d9de4036115f429e06e9af49a2b0026b",
"sha256": "4f818427a5114da5b35e6c9f98dcd2a307672d05287f78c1a7218ea54f09c08f"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-win_amd64.whl",
"has_sig": false,
"md5_digest": "d9de4036115f429e06e9af49a2b0026b",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1399361,
"upload_time": "2024-11-11T04:27:02",
"upload_time_iso_8601": "2024-11-11T04:27:02.388943Z",
"url": "https://files.pythonhosted.org/packages/f7/3d/f61b9712720eb5718035e164193863aada3f92c8ac9d13be0c33d88980ea/tree_sitter_ocaml-0.23.2-cp39-abi3-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b7dd45079b522956606551b6926aa5c0b141b44191d71b19032206db17c66dcb",
"md5": "7b5c0a1f0b7cfbe4224a78dd000f7998",
"sha256": "5a2f9e165c1051b2ae51d66c9d4288f9ac03bf767128e7b198bdde725a4f4fd2"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2-cp39-abi3-win_arm64.whl",
"has_sig": false,
"md5_digest": "7b5c0a1f0b7cfbe4224a78dd000f7998",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.9",
"size": 1385171,
"upload_time": "2024-11-11T04:27:03",
"upload_time_iso_8601": "2024-11-11T04:27:03.535224Z",
"url": "https://files.pythonhosted.org/packages/b7/dd/45079b522956606551b6926aa5c0b141b44191d71b19032206db17c66dcb/tree_sitter_ocaml-0.23.2-cp39-abi3-win_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0003db2822ab9d4acaa9e43f7e3cb1fb7a40b8a46b95fe138d8a4ac4b28768a5",
"md5": "fb7206535d2117a0d276be172cc5448e",
"sha256": "36337a55d5d41911d554091fc09c9bbef9228901794f3e8af6e5cd52ba4f4768"
},
"downloads": -1,
"filename": "tree_sitter_ocaml-0.23.2.tar.gz",
"has_sig": false,
"md5_digest": "fb7206535d2117a0d276be172cc5448e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 3463747,
"upload_time": "2024-11-11T04:27:05",
"upload_time_iso_8601": "2024-11-11T04:27:05.417540Z",
"url": "https://files.pythonhosted.org/packages/00/03/db2822ab9d4acaa9e43f7e3cb1fb7a40b8a46b95fe138d8a4ac4b28768a5/tree_sitter_ocaml-0.23.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-11 04:27:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tree-sitter",
"github_project": "tree-sitter-ocaml",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tree-sitter-ocaml"
}