mirror of
https://github.com/tree-sitter/tree-sitter-ocaml.git
synced 2026-11-17 03:10:38 +00:00
OCaml grammar for tree-sitter
- JavaScript 51.3%
- C 15.3%
- Tree-sitter Query 5.9%
- Rust 5.3%
- OCaml 4.9%
- Other 17.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| bindings | ||
| common | ||
| examples | ||
| grammars | ||
| queries | ||
| test | ||
| .clang-format | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| binding.gyp | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CMakeLists.txt | ||
| eslint.config.mjs | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| package-lock.json | ||
| package.json | ||
| Package.resolved | ||
| Package.swift | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| tree-sitter.json | ||
tree-sitter-ocaml
OCaml grammar for tree-sitter.
This module defines grammars for implementations (.ml) interfaces (.mli) and types. Require them as follows:
require('tree-sitter-ocaml').ocaml;
require('tree-sitter-ocaml').ocaml_interface;
require('tree-sitter-ocaml').ocaml_type;
References