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

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

C++ AST extractor / driver for the bblfsh project
https://github.com/bblfsh/cpp-driver

babelfish cpp driver

Last synced: 3 months ago
JSON representation

C++ AST extractor / driver for the bblfsh project

Awesome Lists containing this project

README

          

# C++ driver for [Babelfish](https://github.com/bblfsh/bblfshd) ![Driver Status](https://img.shields.io/badge/status-beta-dbd25c.svg) [![Build Status](https://travis-ci.org/bblfsh/cpp-driver.svg?branch=master)](https://travis-ci.org/bblfsh/cpp-driver) ![Native Version](https://img.shields.io/badge/cpp%20version-8u181-aa93ea.svg) ![Go Version](https://img.shields.io/badge/go%20version-1.13-63afbf.svg)

Development Environment
-----------------------

Requirements:
- `docker`
- Go 1.13+

To initialize the build system execute: `go test ./driver`, at the root of the project. This will generate the `Dockerfile` for this driver.

To run the tests just execute `go run test.go`, this will start the test over the native and the Go components of the driver using Docker.

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

If the project is located under `$GOPATH`, run all the above with `GO111MODULE=on` environment variable,
or move the project to any other directory outside of `$GOPATH`.

License
-------

GPLv3, see [LICENSE](LICENSE)