3 ms·
It has many times. Nice, LISP-style example that was recently on HN: https://speakerdeck.com/nineties/creating-a-language-using-only-assembly-language https://
by nickpsecurity 11y ago
It has many times. Nice, LISP-style example that was recently on HN:
https://speakerdeck.com/nineties/creating-a-language-using-only-assembly-language https://speakerdeck.com/nineties/creating-a-language-using-o...
Note: LISP/Scheme interpreters and processors with plenty of detail (including source) can be found with Google. Many implemented before 1990. Will run on cheap FPGA's or process nodes. Can take it all the way to hardware. ;)
The macro ASM can be built on something like P-code: an idealized, low-level machine easy to deploy on CISC and RISC architectures. A good example of how to bridge ASM and HLL's is Hyde's High Level Assembly:
http://www.plantation-productions.com/Webster/ http://www.plantation-productions.com/Webster/
The HLL, for non-LISP audience, can be Oberon with aid of Wirth's Compiler Construction book among other papers:
http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf http://www.ethoberon.ethz.ch/WirthPubl/CBEAll.pdf
So, many possibilities. People just gotta use them. Build a LISP w/ macros to build everything else still seems to be easiest strategy. Esp as one can reuse code from textbooks unlikely to be subverted. Wirth's next best.