Metaprogramming in Elixir
Gain insights into metaprogramming in Elixir. Delve into macros and discover how to elevate your coding skills, creating powerful libraries with concise, efficient code.
Andy Hunt and Dave Thomas founded The Pragmatic Programmers, LLC., with a simple goal: to improve the lives of professional developers. We create timely, practical books and other learning resources on classic and cutting-edge topics to help you learn and practice your craft and accelerate your career. We are not a giant, faceless, greed-soaked corporation. We’re a small group of experienced professionals committed to helping make corporate software development—and your life—easier.
Join 3.1 million developers at
What You'll Learn
- Understand the basic concepts of metaprogramming in Elixir
- Learn about macros and the abstract syntax tree
- Create an HTML Domain-Specific Language
- Learn to properly test meta-programming based code
Learning Roadmap
1.
Introduction
Introduction
2.
The Language of Macros
The Language of Macros
3.
Extending Elixir with Metaprogramming
Extending Elixir with Metaprogramming
9 Lessons
9 Lessons
4.
Advanced Compile-Time Code Generation
Advanced Compile-Time Code Generation
10 Lessons
10 Lessons
5.
How to Test Macros
How to Test Macros
6 Lessons
6 Lessons
6.
Create an HTML Domain-Specific Language
Create an HTML Domain-Specific Language
10 Lessons
10 Lessons
7.
With Great Power Comes Great Responsibility (and Fun!)
With Great Power Comes Great Responsibility (and Fun!)
6 Lessons
6 Lessons
The Pragmatic Programmers
We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.
Trusted by 3.1 million developers working at companies
Anthony Walker
@_webarchitect_
Evan Dunbar
ML Engineer
Software Developer
Carlos Matias La Borde
Souvik Kundu
Front-end Developer
Vinay Krishnaiah
Software Developer
Built for 10x Developers












Free Resources