[Haskell-cafe] ANN: Newt - command-line template instantiation tool & library

briand at aracnet.com briand at aracnet.com
Mon May 9 07:38:07 CEST 2011


On Sun, 8 May 2011 16:23:59 -0700
Rogan Creswick <creswick at gmail.com> wrote:

> Newt scans the input (either a file, directory or stdin) for tags
> marked with "<<<tagName>>>" [1], then replaces those entries with
> values specified on the command line, producing either a new file,
> modifying the input template in place (--inplace), writing to stdout,
> or writing to a directory.

This is a useful tool !

I would like to suggest allowing customization of the syntax to indicate a tag, e.g. {# #} instead of <<< >>> (You just knew someone was going to say that, right ? :-)

I only mention this in the hopes that it still early enough for you to write the code in such a way to allow this even if you don't implement it right away.


Brian



More information about the Haskell-Cafe mailing list