14 unstable releases (6 breaking)

new 0.24.0 Jan 11, 2025
0.23.2 Nov 11, 2024
0.23.1 Sep 26, 2024
0.22.0 Mar 23, 2024
0.19.0 Mar 9, 2021

#311 in Parser tooling

Download history 647/week @ 2024-09-21 316/week @ 2024-09-28 190/week @ 2024-10-05 182/week @ 2024-10-12 250/week @ 2024-10-19 131/week @ 2024-10-26 140/week @ 2024-11-02 411/week @ 2024-11-09 307/week @ 2024-11-16 92/week @ 2024-11-23 238/week @ 2024-11-30 388/week @ 2024-12-07 620/week @ 2024-12-14 868/week @ 2024-12-21 845/week @ 2024-12-28 909/week @ 2025-01-04

3,276 downloads per month
Used in 7 crates

MIT license

94MB
3M SLoC

C 3M SLoC JavaScript 1.5K SLoC // 0.0% comments Scheme 178 SLoC // 0.2% comments Rust 76 SLoC

tree-sitter-ocaml

CI discord matrix npm crates pypi

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

Dependencies