A library for representing abstract syntax trees for EGAD (a small jit-based language).
Installs a few cmake ingredients, along with a build assistant xo-build
for XO projects such as this one.
$ xo-build --clone --configure --build --install xo-indentlog
$ xo-build --clone --configure --build --install xo-refnct
$ xo-build --clone --configure --build --install xo-subsys
$ xo-build --clone --configure --build --install xo-reflect
$ xo-build --clone --configure --build --install xo-expression
Note: can use xo-build -n
to dry-run here
$ xo-build --clone xo-jit
or equivalently
$ git clone git@github.com:Rconybea/xo-jit.git
$ xo-build --configure --build --install xo-jit
or equivalently:
$ PREFIX=/usr/local # or wherever you prefer
$ cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} -S xo-jit -B xo-jit/.build
$ cmake --build xo-jit/.build
$ cmake --install xo-jit/.build
$ cmake -DCMAKE_BUILD_TYPE=coverage -DCMAKE_INSTALL_PREFIX=$PREFIX xo-jit/.build-ccov
$ cmake --build xo-jit/.build-ccov
$ cd xo-jit
$ ln -s build/compile_commands.json # lsp will look for compile_commands.json in the root of the source tree