3 ms·
Are you proposing writing a replacement for gcc in lisp? If the goal is to have executable machine code then the turtles must end somewhere.
by bdamm 4y ago
Are you proposing writing a replacement for gcc in lisp?
If the goal is to have executable machine code then the turtles must end somewhere.
- aeonik 4y agoHow about a Lisp that can parse the hardware specification of a chip and produce its own compiler?
- agumonkey 4y agoThis was a long dream of mine.
- bitwize 4y agoAlready been done, meet GNU Mes: https://www.gnu.org/software/mes/ https://www.gnu.org/software/mes/ It's a C compiler in Scheme, and a Scheme interpreter in C, each of which can bootstrap the other. The GNU project is using it to reduce the size of already-existing binary code you need to have (and trust) to bootstrap a GNU system from source.