README.md (1233B)
1 # harec 2 3 This is a [Hare](https://harelang.org) compiler written in C11 for 4 POSIX-compatible systems. 5 6 ## Build status 7 8 <dl> 9 <dt>Linux (x86_64)</dt><dd><a href="https://builds.sr.ht/~sircmpwn/harec/commits/master/alpine.yml"><img src="https://builds.sr.ht/~sircmpwn/harec/commits/master/alpine.yml.svg" alt="Build status for Linux" /></a></dd> 10 <dt>FreeBSD (x86_64)</dt><dd><a href="https://builds.sr.ht/~sircmpwn/harec/commits/master/freebsd.yml"><img src="https://builds.sr.ht/~sircmpwn/harec/commits/master/freebsd.yml.svg" alt="Build status for FreeBSD" /></a></dd> 11 <dt>NetBSD (x86_64)</dt><dd><a href="https://builds.sr.ht/~sircmpwn/harec/commits/master/netbsd.yml"><img src="https://builds.sr.ht/~sircmpwn/harec/commits/master/netbsd.yml.svg" alt="Build status for NetBSD" /></a></dd> 12 </dl> 13 14 ## Building 15 16 ``` 17 mkdir build 18 cd build 19 ../configure 20 make 21 ``` 22 23 Optionally, build and run the test suite as well: 24 25 ``` 26 make check 27 ``` 28 29 ## Runtime 30 31 harec includes a minimal runtime under `rt` which is suitable for running the 32 test suite, but not recommended for production use. See `docs/runtime.txt` for 33 details on how to provide your own runtime implementation, or use the [Hare 34 standard library](https://git.sr.ht/~sircmpwn/hare).