mirror of
https://git.sr.ht/~sircmpwn/harec
synced 2026-06-20 11:52:30 +00:00
A Hare compiler written in C11 for POSIX-compatible systems.
- C 60.2%
- Hare 35.9%
- Makefile 2.6%
- Assembly 1.1%
- Shell 0.1%
References: https://todo.sr.ht/~sircmpwn/hare/957 Signed-off-by: Sebastian <sebastian@sebsite.pw> |
||
|---|---|---|
| .builds | ||
| configs | ||
| docs | ||
| include | ||
| makefiles | ||
| rt | ||
| scripts | ||
| src | ||
| testmod | ||
| tests | ||
| .gitignore | ||
| .mailmap | ||
| COPYING | ||
| MAINTAINERS | ||
| Makefile | ||
| README.md | ||
harec
This is a Hare compiler written in C11 for POSIX-compatible systems.
Build status
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.