4 ms·
Lots of tiny, self-hosting compilers here: http://t3x.org http://t3x.org For example: Compiler for a procedural language, compiling to binary in 1500 lines: h
by nils-m-holm 4y ago
Lots of tiny, self-hosting compilers here: http://t3x.org http://t3x.org
For example:
Compiler for a procedural language, compiling to binary in 1500 lines: http://t3x.org/t3x/comp.html http://t3x.org/t3x/comp.html
Super-portable tiny compiler for DOS, CP/M, Unix, and a VM: http://t3x.org/t3x/index.html#0 http://t3x.org/t3x/index.html#0
Self-hosting LISP compiler in 400 lines: http://t3x.org/lfn/liscmp.lisp.html http://t3x.org/lfn/liscmp.lisp.html