Skip to content

Scope of this repo #82

@giltho

Description

@giltho

Hello, I have a few questions about this repo

  • This repo does not provide bindings to tree-sitter right? Only a way of generating OCaml parsers from a tree-sitter syntax?
  • Is there a way to extract such a parser to use?
  • Is there any LICENSE associated to the generated code? Am I allowed to just copy code, since it's not published on OPAM?
  • If I want an incremental parser for C in OCaml based on the tree-sitter syntax, but I do not care about the semgrep-related feature, should I use semgrep-c anyway?
  • Is there any kind of documentation on how to drive the generated parsers?

Basically, if I want to use tree-sitter in OCaml to incrementally parse programs (to write, e.g., LSP servers), should I be using this repo, or creating my own bindings?
Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions