[erlang-questions] about syntax tools

Richard Carlsson carlsson.richard@REDACTED
Wed Aug 10 19:59:40 CEST 2011


On 08/10/2011 05:54 PM, Andrew Kondratovich wrote:
> Looking through Erlang sources I have found out that there are many ways
> to parse and compile the code. In general way there is transformation
> like Code -> Tokens -> Forms ->...
> But functions for these transformations can be found in many modules:
> erl_scan, erl_parse, compile, epp, io - theese are only those that have
> seen. Functions from that modules often do the same work.
>
> What for such variety ?

All of these modules and their functions exist for specific purposes. 
Can you point out any concrete examples of functions that really do the 
same work?

    /Richard



More information about the erlang-questions mailing list