Tue Jun 2 09:08:34 CEST 2009
On Tue, Jun 2, 2009 at 01:51, Richard O'Keefe <> wrote:
> In the mean time, may I respectfully point out to something that
> seems pretty much kindergarten level to me, but doesn't seem to
> be taught effectively:
> PROGRAMS ARE DATA.
> A trivial AWK script can recognise this and turn a <here-file> into
> a string literal, generating whatever quoting is necessary. All you
> have to do is write less than a page of AWK (once), and then tell
> your build tools how to turn .erl-hf files into .erl files.
As a programmer I like this way of handling this kind of issues
because it works now and it's easy.
As developer of a source handling tool I can't help but cringe at the
prospect of getting requests to support all kinds of homegrown
Another problem with external processing of the source files is that
it is at the same level as the preprocessor, which many people would
like to see replaced with one that understands Erlang code.
More information about the erlang-questions