Skip to content
0:00 / 0:00

#clojure#macros#syntax-parse

Chris Houser / Jonathan Claggett - Illuminated Macros

ClojureTV

111K subscribers • 135 videos on Hallway

YouTube
  • Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
  • Presented by Chris Houser, co-author of Joy of Clojure

Intermediate. Assumes working knowledge.

6.1K views12 years ago2 recommendations

Programming languagesSoftware designLisp and ClojureLanguage design and type systems

Chris Houser and Jonathan Claggett explore techniques to make Clojure macros more modular, easier to write, and produce better error messages.

Macros are notoriously hard to write, and often hard to use. Techniques like Macro By Example and tools like syntax-parse have attempted to address these problems as well as improve error messages users get when misusing macros. But not only are these tools unavailable in Clojure, but they come with their own issues. We will explain this background and explore alternatives that make different trade-offs, with the goal of making macros more modular, easier to write and understand, and that produce better error messages. Chouser is a co-author of Joy of Clojure and has been a Clojure contributor since 2008. He currently uses Clojure full time at LonoCloud (ViaSat), where he uses macros more often than refs. Jonathan is a more recent Clojure convert whose fear of parens kept him in darkness for far too long. He also uses Clojure full time at LonoCloud and writes the macros Chouser refuses to.

Why it's here

2 people recommend this

What people say. Recommended for its insights into improving Clojure macro design, error reporting, and usability.

u/kankyoin r/Clojure • Recommends

Illuminated Macros - better tooling, docs and error msgs for macros

juliangambleon Lobsters • Recommends

Illuminated Macros in Clojure