13 unstable releases (5 breaking)

new 0.23.2 Nov 11, 2024
0.22.0 Mar 23, 2024
0.20.4 Jul 17, 2023
0.19.0 Mar 9, 2021

#2 in #ocaml

Download history 181/week @ 2024-07-21 106/week @ 2024-07-28 263/week @ 2024-08-04 111/week @ 2024-08-11 198/week @ 2024-08-18 257/week @ 2024-08-25 485/week @ 2024-09-01 97/week @ 2024-09-08 190/week @ 2024-09-15 671/week @ 2024-09-22 309/week @ 2024-09-29 186/week @ 2024-10-06 179/week @ 2024-10-13 238/week @ 2024-10-20 130/week @ 2024-10-27 128/week @ 2024-11-03

701 downloads per month
Used in 6 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