/harelang-harec

A macos port of the hare language's compiler (https://harelang.org). See README.darwin.

Primary LanguageCGNU General Public License v3.0GPL-3.0

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
Darwin (x86_64, aarch64)
Build status for Darwin
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.