xo-umbrella2/xo-jit
2026-09-27 18:13:04 -04:00
..
cmake xo-interpreter xo-jit use xo-ppsink !xo-indentlog [REFACTOR] 2026-08-08 13:11:41 -04:00
docs git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00
example refactoring _ostream.hpp _pp.hpp vs ODR [REFACTOR] 2026-08-17 00:38:44 -04:00
include/xo/jit xo-jit: delete stale activation_record ghosts [TIDY] 2026-09-27 18:13:04 -04:00
src/jit xo-expression: retire operator<< for exprtype [REFACTOR] 2026-08-22 23:21:13 -04:00
utest xo-reflectutil: globally unique typeseq::id() [BUGFIX] 2026-09-21 21:17:27 -04:00
.gitignore git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00
.gitrepo git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00
CMakeLists.txt git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00
HOWTO git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00
LICENSE git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00
README.md git subrepo clone git@github.com:Rconybea/xo-jit.git xo-jit 2026-06-06 22:13:26 -04:00

xo-jit library

A library for representing abstract syntax trees for EGAD (a small jit-based language).

Getting Started

build + install xo-cmake dependency

Installs a few cmake ingredients, along with a build assistant xo-build for XO projects such as this one.

build + install other necessary XO dependencies

$ 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

copy xo-jit repository locally

$ xo-build --clone xo-jit

or equivalently

$ git clone git@github.com:Rconybea/xo-jit.git

build + install xo-jit

$ 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

build for unit test coverage

$ cmake -DCMAKE_BUILD_TYPE=coverage -DCMAKE_INSTALL_PREFIX=$PREFIX xo-jit/.build-ccov
$ cmake --build xo-jit/.build-ccov

LSP support

$ cd xo-jit
$ ln -s build/compile_commands.json  # lsp will look for compile_commands.json in the root of the source tree