Much ado has been made about metaprogramming in Elixir and LFE, but what can you do in plain old Erlang? Well, metaprogramming is just a fancy way to generate code, so we can generate Erlang code! In this talk, I'll walk through various techniques for writing programs that generate Erlang, including examples from well-known Erlang tools and libraries such as Lager, Erlydtl, and Neotoma.
Explain practical techniques for generating Erlang code, including macros, parse transforms, rewriting abstract code, templating, and generating syntax trees. Show that generating Erlang code is a straightforward and powerful technique for solving many problems.
Developers and language nerds who want to take their Erlang experience to the next level via code generation