This is a rewrite of the VSL Compiler in C++.
TODO.
Requires CMake 3.2 or higher and LLVM 5.0 (llvm-5.0-dev
) to be installed.
Optionally, to build the documentation, install doxygen and graphviz (for the dot
tool).
Sample build script:
# clone the repository
git clone https://github.com/vsl-lang/vsl-in-cpp
cd vsl-in-cpp
# create the build directory
# this can really be done anywhere
mkdir build
cd build
# run cmake to generate a build system
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DVSL_INCLUDE_TESTS=On ..
# build the compiler
# optionally add "-j<some number>" to the make command for parallel compilation
make
# run the tests
make check
# generate documentation in the docs folder
make docs