-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or requestpriority:lownot on the roadmap for nownot on the roadmap for now
Description
As suggested here, let's make ocaml-tree-sitter the main command for everything, including:
- what
ocaml-tree-sittercurrently does: generate ocaml code fromgrammar.json simplify-grammargen-ocaml, a bash scriptgen-c, a bash script- possibly a combination of the above that does everything
Tasks include:
- finding good names for the subcommands
- locating the external executables to be called (the bash scripts): should we rely on
$PATHto locate them or something else? - adding subcommands to the cmdliner interface. See cmdliner cheatsheet for how to add subcommands.
Compatibility with the previous ocaml-tree-sitter command line is not important, since as far as I know, the only user is semgrep and all that code exists in the ocaml-tree-sitter repo (the semgrep build does not call ocaml-tree-sitter).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority:lownot on the roadmap for nownot on the roadmap for now