Generate OCaml parsers based on tree-sitter grammars.
ocaml-tree-sitter is under initial development and is not ready to be installed or used by a wide audience.
- Install opam.
- Install ocaml dev tools for your favorite
editor:
typically
opam install merlin
+ some plugin for your editor. - Install the project's dependencies,
possibly with
opam install --deps-only ocaml-tree-sitter.opam
. - Build with
make
. - Install with
make install
. - Test with
make test
.
- Contributor documentation
- No user documentation exists at this time.
ocaml-tree-sitter is free software with contributors from multiple organizations. The project is driven by R2C.
- OCaml code developed specifically for this project is distributed under the terms of the GNU GPL v3.
- The OCaml bindings to tree-sitter's C API were created by Bryan Phelps as part of the reason-tree-sitter project.
- The tree-sitter grammars for major programming languages were imported from their respective projects, and we try to keep them in sync. Each comes with its own license.