Zero Dereference
128 subscribers
3 photos
3 files
372 links
Interesting links related to systems programming, hacking, and science.

Contact: @richiefreedom
Download Telegram
Camlboot is an attempt to bootstrap the OCaml compiler.

The approach is as follows:
- Compile guile with GCC;
- Run MiniML compiler written in guile;
- Compile OCaml interpreter written in MiniML;
- Run the OCaml interpreter to compile OCaml.

https://github.com/Ekdohibs/camlboot

#plt #fp #ocaml #bootstrap #guile #lisp #gcc
PlanckForth is a FORTH-like programming language bootstrapped from a hand-crafted ELF-binary. Just pass planck.xxd through the xxd command-line tool and get an x86 executable. Then bootstrap.fs can be loaded to get a familiar FORTH environment with long keywords, arrays, hash tables, and strings.

Let me remind you of another minimal FORTH compiler called StoneKnifeForth. It uses one-letter keywords and can be bootstrapped with a tiny interpreter (300 lines) written in Python.

#forth #lowlevel #plt #bootstrap