This page gives a minimal path from a fresh build of aburi to running a few
small example programs.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DLLVM_DIR=/path/to/llvm-18/lib/cmake/llvm
cmake --build buildThat produces the compiler executable at build/aburi.
./build/aburi sample_c/hello_stdio.c -o hello_c
./hello_c./build/aburi sample_cpp/classes.cpp -o classes_cpp
./classes_cppsample_c/hello_stdio.c: basic C control flow and stdiosample_c/records_and_vla.c: structs, arrays, and variable-length arrayssample_c/c11_features.c:_Static_assert,_Alignas, packed records, and compound literalssample_c/blocks.c: Apple Blocks and__blockcapturessample_c/attributes_and_builtins.c: packed records and__builtin_offsetofsample_c/compound_literals.c: compound literals and struct-by-value callssample_c/varargs.c: simple variadic functions withva_listsample_c/function_pointers.c: function pointers passed through helper callssample_cpp/classes.cpp: constructors, inheritance, andnew/deletesample_cpp/references.cpp: references and reference parameterssample_cpp/templates.cpp: a minimal function-template examplesample_cpp/overloads.cpp: basic overload resolution for multiple parameter typessample_cpp/namespaces.cpp: namespace-qualified callssample_cpp/member_pointers.cpp: pointer-to-member syntax for data members
The driver for Aburiscript is mostly GCC/Clang compatible meaning it can serve as a drop in replacement in most build systems.
For more info on the compiler driver, see the Usage file.
If you want to try Aburiscript on a C codebase with an advanced build system, an AI coding
agent can help you wire aburi into CMake, Meson, or Autotools builds without
manually digging through configuration files.