https://github.com/bblfsh/ocaml-driver
https://github.com/bblfsh/ocaml-driver
babelfish driver ocaml
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bblfsh/ocaml-driver
- Owner: bblfsh
- License: gpl-3.0
- Created: 2017-02-23T10:31:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T16:59:59.000Z (over 6 years ago)
- Last Synced: 2024-04-14T04:48:15.668Z (about 2 years ago)
- Topics: babelfish, driver, ocaml
- Language: OCaml
- Size: 34.2 KB
- Stars: 4
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# ocaml-driver  [](https://travis-ci.org/bblfsh/ocaml-driver)  
ocaml driver for [babelfish](https://github.com/bblfsh/bblfshd).
Development Environment
-----------------------
Requirements:
- `docker`
- [`bblfsh-sdk`](https://github.com/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--dirty`
License
-------
GPLv3, see [LICENSE](LICENSE)