Analysis of preprocessor constructs in Erlang
Róbert Kitlei, István Bozó, Tamás Kozsik, Máté Tejfel, Melinda Tóth · 2010
Program analysis and transformation tools work on source code, which - as in the case of Erlang - may contain macros and other preprocessor directives. Such preprocessor constructs have to be treated in an utterly different way than lexical and syntactical constructs. This paper presents an approach to treat preprocessor constructs in a non-invasive way that is reasonably efficient and supports code transformations and analyses in an Erlang specific framework.