4 ms·
This is part of a series I'm writing about compiling a small Lisp directly to x86-64 machine code. Let me know what you think!
by tekknolagi 6y ago
This is part of a series I'm writing about compiling a small Lisp directly to x86-64 machine code. Let me know what you think!
- smabie 6y agoThis is great. Most Lisp implementation involve building a trivial interpreter, but rarely does anyone show how to build a real native compiler. Great work, I especially like the use of C instead of a higher level language.
- tekknolagi 6y agoI think that's because it's more finicky and a longer implementation. Of course, if you build a small interpreter that you can then use to write a Lisp compiler in Lisp... you've got it made!
- jamiek88 6y agoI love how we can bootstrap. I’m getting interested in bare metal, I.e. no OS, booting direct to app, development. These compilers are a goldmine of info.