/javascript-driver

Primary LanguageGoGNU General Public License v3.0GPL-3.0

JavaScript driver for Babelfish Driver Status Build Status Native Version Go Version

JavaScript driver for babelfish.

Development Environment

Requirements:

  • docker
  • bblfsh-sdk (go get -u gopkg.in/bblfsh/sdk.v2/...)
  • UAST converter dependencies (dep ensure --vendor-only)

To initialize the build system execute: bblfsh-sdk update, at the root of the project. This will generate the Dockerfile for this driver.

To execute the tests just execute bblfsh-sdk test, this will execute the test over the native and the go components of the driver using Docker.

The build is done executing bblfsh-sdk build. To evaluate the result using a docker container, execute: bblfsh-sdk build test-driver && docker run -it test-driver.

License

GPLv3, see LICENSE