Closed nicobao closed 3 years ago
I've inverted the dependency on ocaml-tree-sitter
so the erlang
module doesn't actually depend on it for parsing, and instead just provides the tree types.
This means we don't need Rust and Cargo anymore for building Caramel 😃
We're still using the Menhir parser for now, but in the future we'll get rid of that as well so the erlang
library is just a collection of types, a printer, and some utilities to work with these.
Describe the bug
The documentation does not inform users that
cargo
andrust
dependencies are needed to buildocaml-tree-sitter
when runningmake deps build
.Even when
rust
version1.49.0
is installed, the following error occurs:To Reproduce
make deps build
in the root directory of the repositoryExpected behavior
The build should succeed.
Desktop (please complete the following information):
rust
version1.49.0
Additional information
Content of ocaml-tree-sitter/Cargo.toml was modified:
The tree-sitter dependency corresponds to my local fork of tree-sitter. If i use
"*"
instead of{ path = "/home/nicolas/nicobao/tree-sitter/lib" }
, I get the same error.