Re:Arplisp Interpreter for Raspberry Pi in a Single ASM File...
by rcarmo on Friday January 01, 2021 @02:45PM
(#25606148)
This 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).
Re:Arplisp Interpreter for Raspberry Pi in a Single ASM File...
by GeorgeTirebiter on Friday January 01, 2021 @06:19PM
(#25608370)
Yes 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...)
Re:Arplisp Interpreter for Raspberry Pi in a Single ASM File...
by jonjacky on Friday January 01, 2021 @06:26PM
(#25608431)
This 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!
Re:Arplisp Interpreter for Raspberry Pi in a Single ASM File...
by djeiasbsbo on Sunday January 03, 2021 @05:14PM
(#25625741)
This 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!
It's also a great first addition of the year to my LISP resources page at http://taoofmac.com/space/dev/lisp :)
https://www.piumarta.com/software/maru/
Just great to have such a well commented ressource to study!