5 ms·
Arplisp Interpreter for Raspberry Pi in a Single ASM File, No Libraries Used
- djeiasbsbo 6y agoThis is absolutely amazing. I don't know a lot about Lisp but have spent my holidays to get look at ELF binaries and start learning about AArch64 assembly. Just great to have such a well commented ressource to study!
- solvorn 6y agoI started porting this to aarch64 a month ago. It’s fun. There are some architecture specific hacks that don’t just translate.
- rcarmo 6y agoThis is a singular thing of beauty, if only because the code is _extremely_ small. It is 3000+ lines long because it is heavily commented and makes for some pretty interesting reading (even if you don't know ARM assembly, it is easy to follow). It's also a great first addition of the year to my LISP resources page at http://taoofmac.com/space/dev/lisp http://taoofmac.com/space/dev/lisp :)
- wrycoder 6y agoDon’t miss the Maru interpreter and compiler: https://www.piumarta.com/software/maru/ https://www.piumarta.com/software/maru/
- GeorgeTirebiter 6y agoYes it's very good. I'm interested in making the small mods to get it to work with NetBSD; but ultimately I'm trying to understand if a lispy environment for STM ARM Cortex-M0 (small) processors can be productively used for real-time embedded systems. I know, I know... I'm more or less thinking an Arduino-like set of standard syscalls for low-level IO, combined with the simple init() and loop() structure ('big loop') for now. Then, multi-threading. Then, the World! (Hello...)
- jonjacky 6y agoThis is a 'literate program' - most of the contents of the single file are explanation, not code. It includes an introduction to Lisp and an introduction to ARM assembly!
- deleted 6y ago[deleted]
- apricot 6y agoNice! The world needs more literate assembler programs.