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

Rogan Creswick creswick at gmail.com
Mon May 9 17:25:15 CEST 2011


On Sun, May 8, 2011 at 10:38 PM,  <briand at aracnet.com> wrote:
>
> This is a useful tool !

I'm glad you think so too!

> 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 ? :-)

Indeed :)  The tag syntax is controlled by two command-line flags:
--prefix=... and --suffix=...

It can be difficult to get the desired strings past both the shell and
the regular expression compiler (although that last bit is changing...
Josh Hoyt sent a patch that switches to basic string inspection, which
should make this much simpler to use.)

--Rogan

>
> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list