~sircmpwn/harec

Hare bootstrap compiler
Allow optional parameters in variadic functions.
tests.mk: add missing testmod.td dependency
check: simplify switch exhaustivity checking

clone

read-only
https://git.sr.ht/~sircmpwn/harec
read/write
git@git.sr.ht:~sircmpwn/harec

You can also use your local clone with git send-email.

#harec

This is a Hare compiler written in C11 for POSIX-compatible systems.

#Build status

Linux (x86_64)
Build status for Linux
FreeBSD (x86_64)
Build status for FreeBSD
NetBSD (x86_64)
Build status for NetBSD

#Building

cp configs/$platform.mk config.mk
make

Optionally, build and run the test suite as well:

make check

#Runtime

harec includes a minimal runtime under rt which is suitable for running the test suite, but not recommended for production use. See docs/runtime.txt for details on how to provide your own runtime implementation, or use the Hare standard library.