file:consult with parse transformations and macros?

Led ledest@REDACTED
Sun Jul 26 18:21:39 CEST 2020


hi,
>
> i am trying to make function similar to file:consult but i want to be able
> to have macro applications in this file:
>
>    {a1, a2}.
>    {?something, ....}.
>    ...
>
> epp module works only on full module files and as far i can tell does not
> implement io protocol.
>
> i'm thankful for any suggestions?
>
>
epp_dodger - bypasses the Erlang preprocessor.

This  module  tokenises and parses most Erlang source code without
expanding preprocessor directives and macro applications, as long as these
are syntactically "well-behaved".

-- 
Led.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200726/8d222ad8/attachment.htm>


More information about the erlang-questions mailing list