README.md

Aleppo: ALternative Erlang Pre-ProcessOr

Aleppo is an alternative to epp(3erl), and is mainly intended for Erlang compiler hackers. The problem with EPP is that it only operates on Erlang source files. Aleppo will operate directly on tokens returned by erl_scan.

erl_scan -> *aleppo* -> erl_parse -> compile

Features

Token-oriented API. Pass in tokens returned by erl_scan, receive a list of
erl_scan-compatible tokens after preprocessor macros have been applied.
No parsing of Erlang code is performed!