You can either download and install the source package, or just compile the pre-compiled C version of the repl/compiler and use it directly without further installation. The pre-compiled C version is suitable for quick testing and compilation of projects to C without a lengthy full Owl build. The source package takes a while to build, but the interpreter will be a bit faster. Both versions produce equal compiled code.
Precompiled C:ol-0.1.17.c.gz
Example usage with make:
Makefile:
OWLURL=https://gitlab.com/owl-lisp/owl/uploads/21b701acabd4840d3378251a4b1a3d76/ol-0.1.17.c.gz
program: program.c
cc -O2 -o program program.c
program.c: program.scm ol
./ol -O2 -o program.c program.scm
ol:
test -f ol.c || curl $(OWLURL) | gzip -d > ol.c
cc -O2 -o ol ol.c
program.scm:
(lambda (args)
(print args)
0)