Lisp Tutorial Part 4: How to write Macros (Clojure)

Опубликовано: 22 Август 2026
на канале: Sammy Engineering
554
37

This is it! This is the big day. We're going to talk about how to write Macros in Clojure.

This is a lisp macro writing tutorial for beginners, that will show you how to create a macro from the ground up.

In it we will cover the basics of symbolic execution, what s-expressions are, and how to write them. We'll see how clojure actually represents your program as a tree, and how we can use lisp's power as to extend the programming language, and to change the lisp programming language into the language you want it to be.

If you want to learn how to write macros in Lisp (or if you want to learn how to write macros in Clojure) this is the place to be!

Past tutorials:
Part 1 (intro to Clojure):    • Lisp Tutorial for Beginners (Clojure)  
Part 2 (Lists, Hashmaps, and Datastructures):    • Lisp for Beginners (Part 2) - Lists, Hash ...  
Part 3 (Functions, Symbols, and Symbolic Execution):    • Lisp Tutorial Part 3: Functions, Symbols, ...