knockoff language. literally a single haskell file + single C source for the runtime
  • Haskell 55.6%
  • C 42.9%
  • xBase 1%
  • Nix 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Emin Arslan 944eed51c1
Refactored the compiler to use an intermediate instruction format instead
of appending strings into the final code directly.

This allows a much more principled approach to compilation.
This can help later on when doing static analysis for example,
because it's much easier to include an extra pass over the
generated instructions.
2026-08-30 15:09:15 +03:00
.envrc Initial commit 2026-08-29 21:33:55 +03:00
code.ch rest of the arithmetic ops 2026-08-29 22:57:39 +03:00
compile.hs Refactored the compiler to use an intermediate instruction format instead 2026-08-30 15:09:15 +03:00
runtime.c Fix string allocation bug 2026-08-30 12:48:17 +03:00
shell.nix Initial commit 2026-08-29 21:33:55 +03:00