Skip to content

Generated C/OCaml parsers for multiple programming languages

License

Notifications You must be signed in to change notification settings

ben-elttam/ocaml-tree-sitter-lang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-tree-sitter-lang

C/OCaml parsers for multiple programming languages, generated by ocaml-tree-sitter from tree-sitter grammars.

Installation

Here are some crude instructions for setting up a project using these parsers:

  1. Install the tree-sitter runtime library: Clone the repo, then make && sudo make install.
  2. Install the runtime libraries provided by ocaml-tree-sitter: Clone the repo. Install the OCaml dependencies with opam install --deps-only -y ., then make && make install.
  3. Copy the desired source subtrees (e.g. ruby/) into to your dune project. Adding the whole ocaml-tree-sitter-lang tree from a tarball or as a git submodule should work too.

About

Generated C/OCaml parsers for multiple programming languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.4%
  • OCaml 4.5%
  • Other 1.1%