News for hackers. Stuff that matters.
Re:7 lines of code, 3 minutes: Implement a programming langu... by fadmmatt on Monday June 28, 2010 @12:47PM (#1468491)
That's a good question, actually.

Lisp macros need knowledge of the structure of the s-expression.

Certainly one can Church encode s-expressions and provide defmacro.

Gensym is trickier. Hygiene might be really challenging.

I might actually try that out.

(/article author)

Re:7 lines of code, 3 minutes: Implement a programming langu... by akkartik on Tuesday June 29, 2010 @10:49AM (#1471569)
"Lisp macros need knowledge of the structure of the s-expression."

I recently rediscovered this for myself: http://arclanguage.org/item?id=11880