Skip to content

onthebusiness/harec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.