5 ms·
Nice move by uLisp. It's powerful to re-code time critical snippets of code in Assembler, while still having access to a high level language like Lisp for the
by lebuffon 7y ago
Nice move by uLisp.
It's powerful to re-code time critical snippets of code in Assembler, while still having access to a high level language like Lisp for the complex stuff.
It might interest people to know that Forth always offered this functionality and the ':' compiler lets one build ASM macros as well.
- lispm 7y agoIt's not unusual. Lots of Lisp systems support inline assembler or inline C. Historically Lisp systems stored compiled code as LAP (Lisp Assembly Program) and loaded these files via its built-in assembler. The old Lisp 1.5 manual documents an in-memory assembler in Appendix C, Page 73 http://www.softwarepreservation.org/projects/LISP/book/LISP%201.5%20Programmers%20Manual.pdf http://www.softwarepreservation.org/projects/LISP/book/LISP%...
- bordercases 7y agoI was wondering why one person on Hackaday thought Forth was uniquely suited for exploration in embedded systems programming other than also being a stack language like Assembly. Thanks for pointing this out.