kellan wrote:
>I'm working on migrating an app we have that uses an old home grown
>template system (in '98 the options were decidedly slimmer then they are
>now) to using TT2.
>
>I thought that perhaps the simplest intermediate step would be to write a
>new grammar for TT2 that parses our old grammar. Then we can migrate the
>templates piece meal. (as no one has time to commit to working through
>all the templates at once)
>
>However my plan has been nipped in the bud. We used a style of:
>[% DIRECTIVE %] text [% /DIRECTIVE %]
>
>instead of TT2's:
>[% DIRECTIVE %] text [% END %]
>
You might try a hybrid approach where you combine a new grammar with
limited modifications for TT's grammar. In this case, for example, it
should be trivial to globally replace all occurrences of [% /DIRECTIVE
%] with [% END %].