The olang compiler is crafted in C. To build the project, you’ll require
merely three dependencies: make
, gcc
(version 11 or higher), and
clang-format
(version 14 or higher).
$ make
If everything went well with the compilation, you should find a olc
binary on the project root folder.
As an optional step, you can install texinfo
, pandoc
and
texlive
to refresh this manual and the website. For more information
read Writing Documentation.
There are two layers of tests integration and unit. The
integration test is going to execute the olc
compiler and check if the
generated binary acts as expected. Unit tests will test C functions.
To run all tests you can execute:
$ make check