News for hackers. Stuff that matters.
Re:Reader Macros in Common Lisp (2014) by User23 on Sunday November 20, 2022 @11:24AM (#33682248)
I’m guessing #ASM does the assembly at read or load time?

Does it desugar to something like this?

  (assemble ‘((mov rax %x) (add rax 1)))
Anyhow I think this is a great project. I hope you share it! I’ve often thought bootstrapping an assembler with lisp macros would be an interesting way to build a compiler from the very ground up. Assembler macros are nothing new, but I’ve never heard of an homoiconic implementation.
Re:Reader Macros in Common Lisp (2014) by rst on Sunday November 20, 2022 @11:54AM (#33682646)
The original LISP's "Lisp Assembly Program" was rather like this -- see Appendix C in the Lisp 1.5 manual, from 1962: https://www.softwarepreservation.org/projects/LISP/book/LISP...