The Abstract Syntax Tree

Learn about the Abstract Syntax Tree (AST) in detail.

Understanding the AST is essential as you get into advanced metaprogramming. Once we uncover the nuances, we’ll find that Elixir code is much closer to the AST than we might have imagined.

Understanding ASTs will change the way we think about solving problems and drive our macro design decisions in the future. After reviewing the finer details of the AST, we’ll be ready to begin the metaprogramming exercises.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy