Getting Started#
Build the compiler#
REX uses LLVM/Clang 20. The fastest way to build and install locally is:
./build-rex.sh "$HOME/rex-install" Release
For a manual CMake flow, see the root BUILDING_WITH_CLANG.md guide. Be sure that
llvm-config from LLVM 20 is on your PATH.
Generate the docs locally#
Install Python tooling:
python3 -m venv /tmp/rex-docs-venv source /tmp/rex-docs-venv/bin/activate pip install -r docs/requirements.txt
Produce the Doxygen XML (Breathe/Exhale consumes it):
doxygen docs/DoxyfileBuild the HTML site with Sphinx:
sphinx-build -b html docs/sphinx docs/_build/html
Open
docs/_build/html/index.htmlin your browser.
docs/Doxyfile is scoped to the src tree (headers only) and skips test/build
trees, submodules, and heavy third-party copies to keep the run manageable. The
HTML uses sphinx-book-theme.