Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radian-software/kalyn
⚗️ Self-hosting compiler from a Haskell-like Lisp directly to x86-64, from scratch.
https://github.com/radian-software/kalyn
Last synced: 5 days ago
JSON representation
⚗️ Self-hosting compiler from a Haskell-like Lisp directly to x86-64, from scratch.
- Host: GitHub
- URL: https://github.com/radian-software/kalyn
- Owner: radian-software
- License: mit
- Created: 2020-03-22T00:03:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T21:48:02.000Z (over 2 years ago)
- Last Synced: 2024-05-16T22:25:50.710Z (6 months ago)
- Language: Haskell
- Homepage: https://intuitiveexplanations.com/tech/kalyn
- Size: 9.58 MB
- Stars: 153
- Watchers: 5
- Forks: 3
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-programming-languages - Kalyn - Self-hosting compiler from a Haskell-like Lisp directly to x86-64, developed fully from scratch. (Uncategorized / Uncategorized)
README
# Kalyn
Self-hosting compiler from a Haskell-like Lisp directly to x86-64,
developed fully from scratch.
Read all about it [on my
blog](https://intuitiveexplanations.com/tech/kalyn)!## Build instructions
Install [Stack](https://docs.haskellstack.org/en/stable/README/). Keep
in mind on Arch-based Linux distributions that all the Haskell
packages in the official repos are totally unusable for development,
so you need to install Stack using the upstream binaries. (See [this
HIE
issue](https://github.com/haskell/haskell-ide-engine/issues/1721#issuecomment-609847125).)To compile the Haskell implementation (provide `VERBOSE=1` to write
intermediate log files into `out-kalyn`):$ make 1 [VERBOSE=1]
To use the Haskell implementation to compile the Kalyn implementation:
$ make 2
To use the Kalyn implementation to compile itself:
$ make 3