Skip to content

onthebusiness/harec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

SebastianBor Grošelj Simić
Sebastian
and
Bor Grošelj Simić
Feb 15, 2024
eacd720 · Feb 15, 2024
Dec 31, 2023
Dec 31, 2023
Feb 15, 2024
Feb 15, 2024
Feb 15, 2024
Feb 15, 2024
Jun 3, 2023
Feb 15, 2024
Dec 31, 2023
Feb 15, 2024
Dec 31, 2023
Sep 22, 2022
Oct 6, 2020
Sep 1, 2023
Feb 15, 2024
Dec 31, 2023

Repository files navigation

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.