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
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
GitHub
GitHub - Ekdohibs/camlboot: Experiment on how to bootstrap the OCaml compiler
Experiment on how to bootstrap the OCaml compiler. Contribute to Ekdohibs/camlboot development by creating an account on GitHub.
PlanckForth is a FORTH-like programming language bootstrapped from a hand-crafted ELF-binary. Just pass
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
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
GitHub
GitHub - nineties/planckforth: Bootstrapping a Forth interpreter from hand-written tiny ELF binary. Just for fun.
Bootstrapping a Forth interpreter from hand-written tiny ELF binary. Just for fun. - GitHub - nineties/planckforth: Bootstrapping a Forth interpreter from hand-written tiny ELF binary. Just for fun.