[erlang-questions] My biggest beef with Erlang
Vlad Dumitrescu
vladdu55@REDACTED
Sun Nov 25 21:39:11 CET 2007
On Nov 25, 2007 8:32 PM, Joe Armstrong <erlang@REDACTED> wrote:
> No this has nothing to do with regexps
I was trying to get my head around it.
> -compile({character_transform, Mod}).
>
> would (by analogy with parse_transform)
> call Mod:character_transform(Bin, Opts) when Bin was the content of
> the file being compiled
> it would return Bin'
> Then you could do anything you like.
Yes, but in practice, I'm not sure what I'd like to do with a bunch of
text -- there's no structure, so it's just a textual preprocessor...
which we are trying to get rid of. Or am I missing something?
regards,
Vlad
More information about the erlang-questions
mailing list