[erlang-questions] Analysing an Erlang file

Richard Carlsson richardc@REDACTED
Tue Jun 16 23:02:16 CEST 2009


Torben Hoffmann wrote:
> Or should I approach this problem from a different angle?

I suggest you read up on the syntax_tools application, mainly
the erl_syntax module and the epp_dodger module; the latter
lets you parse most source files, even those that contain include
directives, macros, and other preprocessor features. The former
(and the erl_syntax_lib companion module) make it a lot easier to
handle the parsed syntax trees.

     /Richard


More information about the erlang-questions mailing list