Skip to content

bblfsh/ocaml-driver

Repository files navigation

ocaml-driver Driver Status Build Status Native Version Go Version

ocaml driver for babelfish.

Development Environment

Requirements:

  • docker
  • bblfsh-sdk (go get -u gopkg.in/bblfsh/sdk.v1/...)
  • UAST converter dependencies (go get -t -v ./...)

To initialize the build system execute: bblfsh-sdk prepare-build, at the root of the project. This will install the SDK at .sdk for this driver.

To execute the tests just execute make test, this will execute the test over the native and the go components of the driver. Use make test-native to run the test only over the native component or make test-driver to run the test just over the go component.

The build is done executing make build. To evaluate the result using a docker container, execute: docker run -it bblfsh/ocaml-driver:dev-<commit[:7]>-dirty

License

GPLv3, see LICENSE