Analysis of preprocessor constructs in Erlang

  • Authors:
  • Róbert Kitlei;István Bozó;Tamás Kozsik;Máté Tejfel;Melinda Tóth

  • Affiliations:
  • Eötvös Loránd University, Budapest, Hungary;Eötvös Loránd University, Budapest, Hungary;Eötvös Loránd University, Budapest, Hungary;Eötvös Loránd University, Budapest, Hungary;Eötvös Loránd University, Budapest, Hungary

  • Venue:
  • Proceedings of the 9th ACM SIGPLAN workshop on Erlang
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.