[erlang-questions] about syntax tools

Andrew Kondratovich andrew.kondratovich@REDACTED
Thu Aug 11 11:26:33 CEST 2011


Default compiler use epp:parse_file/3 to get forms, and then several passes 
for optimizations and compiling.
epp:parse_file use epp:parse_form.
epp:parse_form use epp:parse_erl_form to get forms.
epp:parse_erl_form use epp:scan_erl_form to get tokens and then 
erl_parse:parse_form to convert tokens to forms.
epp:scan_erl_form use scan_toks, which use io:scan_erl_form to get tokens 
from file (Epp handler).
io:scan_erl_form use erl_scan:tokens to get tokens from code.


Pff.. Now i see.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110811/0c3e408f/attachment.htm>


More information about the erlang-questions mailing list