3 ms·
Why compile to lisp in the first place? Build a nanopass framework (https://www.google.com/url?sa=t&source=web&rct=j&url=http://andykeep.com/pubs/dissertation.p
by qwertyuiop924 10y ago
Why compile to lisp in the first place? Build a nanopass framework (https://www.google.com/url?sa=t&source=web&rct=j&url=http://andykeep.com/pubs/dissertation.pdf&ved=0ahUKEwj9m-WusIDOAhWLcD4KHb8BAnMQFggkMAI&usg=AFQjCNHE-7CTB5VqJ0uN4T9yFtpFD6KAhA&sig2=ZbV961-1dtoCBBDWJRx_bA https://www.google.com/url?sa=t&source=web&rct=j&url=http://...) that acts on sexprs, and then emit the thing to a target of your choice. The advantage is that Lisp is really good at transforming sexprs, and macros make writing the infrastructure for that sort of compiler just that much easier.
- pnathan 10y agoSBCL can compile lisp to native code. :-)
- qwertyuiop924 10y agoWell, yeah, but as you said, you have to haul the runtime around with you.
- ScottBurson 10y agoIt's pretty small, as runtimes go these days.