An open API service indexing awesome lists of open source software.

https://github.com/bblfsh/ocaml-driver


https://github.com/bblfsh/ocaml-driver

babelfish driver ocaml

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# ocaml-driver ![Driver Status](https://img.shields.io/badge/status-pre--alpha-d6ae86.svg) [![Build Status](https://travis-ci.org/bblfsh/ocaml-driver.svg?branch=master)](https://travis-ci.org/bblfsh/ocaml-driver) ![Native Version](https://img.shields.io/badge/ocaml%20version-4.04.1--r0-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.8-63afbf.svg)

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)