Last Updated: February 25, 2016
· janhenrynystrom

Understanding Erlang parse transforms

To see what a parse transform does with your code use the -P compilation flag either directly as "erlc -P" or in the shell as "c("filename.erl", ['P'])". This flag will give you the code after preprocessing and the parse transforms have been applied.