Lisp macros

  • Authors:
  • Richard Wyatt

  • Affiliations:
  • West Chester University, West Chester, PA

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes simple but non-trivial Lisp macros in an undergraduate programming languages class, and the motives for covering them. Topics include: macro basics, macroexpansion time, multiple evaluation, closures, capture, and several examples, including Java-style for-loops, Haskell-style comprehensions and ML-style Curried functions.