Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.43 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.43 KB

ocaml-tree-sitter

CircleCI

Generate OCaml parsers based on tree-sitter grammars.

Installation

ocaml-tree-sitter is under initial development and is not ready to be installed or used by a wide audience.

Contributing

  1. Install opam.
  2. Install ocaml dev tools for your favorite editor: typically opam install merlin + some plugin for your editor.
  3. Install the project's dependencies, possibly with opam install --deps-only ocaml-tree-sitter.opam.
  4. Build with make.
  5. Install with make install.
  6. Test with make test.

Documentation

License

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.