[erlang-questions] My biggest beef with Erlang

Matthew Dempsky <>
Wed Nov 28 03:46:20 CET 2007


On 11/25/07, Joe Armstrong <> wrote:
> -compile({character_transform, Mod}).
> -compile({tokenezer, Mod}).

I dislike these proposals, because they necessitate tokenizing and
parsing the .erl file (at least partially), extracting the -compile
attributes, and then re-tokenizing and re-parsing the file.

The compiler does expose compile:forms/1 and compile:forms/2 functions
for people who want to use other front-ends.



More information about the erlang-questions mailing list