Lisp moving Forth moving Lisp

(letoverlambda.com)

29 points | by fallat 2 days ago

1 comments

  • Vohlenzer 46 minutes ago
    I finished Let Over Lambda recently. I'm not an experienced lisp programmer but it's strangely readable if you allow yourself to not understand every little detail of the Common Lisp code. For example I hadn't read On Lisp. I had read The Little Schemer.

    It's a wonderful tour of advanced macro concepts. With several of the macros presented I found myself saying "well that's just x language feature in y" but that's missing the point. The point is that Common Lisp allows you to implement your own language features, with macros of course!

    This chapter is a wonderful climax to the whole book. Lisp moving Forth moving Lisp reminded me of the intertwined nature of DNA, RNA and proteins in Biology.

    There's great humour throughout the book, I especially enjoyed the little sideways jabs at Scheme programmers!

    • peheje 36 minutes ago
      What are some genuinely useful things macros can do?
      • Akronymus 11 minutes ago
        AFAICT, actually manipulating the AST, which then in turn allows you to implement your own language features, inserting additional debugging info, memoizing a function by just wrapping it in a macro, or optimizations based on domain knowledge.
      • db48x 21 minutes ago
        They can define new syntax and special forms.