Macro

Dirty Macros in Lisp

grettke's picture

UPDATE: I can't attend tomorrow, but if anyone would like to talk about this topic, ever, anywhere, please contact me; I would love to chat with you about it! My apologies...

Intended audience: Programmers familiar with Lisp, or who are very interested in digging deep into Lisp and Lisp macros.

In programming languages, the term ‘macro’ is used to describe any programming language feature that is available to the programmer by which may be programatically modify the source code. The C pre-processor, C++ templates, and Lisp macros are the most well known examples of said macros.

One the biggest headaches to any programmer writing macros is are name collisions. Name collisions occur when you end up with two ‘variables’ that have got the same name. There is a good example in C here:

http://en.wikipedia.org/wiki/Hygienic_macro

Lead Presenter: 
grettke
Prefered Session Time: 
Saturday - Intro Sessions (10-2)
Saturday - Afternoon (2-5)
Saturday - Evening (5-10)
Syndicate content