1. Erlang Syntax and Metaprogramming tools
1 Erlang Syntax and Metaprogramming tools
1.1 Overview
This package contains modules for handling abstract syntax trees (ASTs) in Erlang, in a way that is compatible with the "abstract format" parse trees of the stdlib module erl_parse
, together with utilities for reading source files, pretty-printing syntax trees
, merging and renaming modules
, cleaning up obsolete constructs
, and doing metaprogramming
in Erlang-
The abstract layer (defined in erl_syntax
) is nicely structured and the node types are context-independent. The layer makes it possible to transparently attach sou