3 ms·
If anyone would prefer to write LISP rather than FORTH, I wrote a similar project that would let you dust the ashes off any post-apocalyptic x86 machine and run
by jart 6y ago
If anyone would prefer to write LISP rather than FORTH, I wrote a similar project that would let you dust the ashes off any post-apocalyptic x86 machine and run John McCarthy's metacircular evaluator in nearly 512 bytes. https://github.com/jart/sectorlisp https://github.com/jart/sectorlisp
- RodgerTheGreat 6y agoWithout any access to system resources, you wouldn't be able to bootstrap from a tiny Lisp kernel to a richer system. A sector-sized Lisp (when you eventually get it down to that size) is a neat project, but something of a closed system. Part of the magic of a minimalist Forth environment is that they come with primitives for accessing raw memory, the stacks, and facilities for extending the language. You can build new parsing words, interface with hardware, and so on.