At 01:01 PM 4/27/2001 -0500, Ian Bicking wrote:
>I also noticed on that page was string-interpolation, somewhat similar
>to Perl ("there are $x eggs in the basket")... a bit nicer than the
>sprintf (%s) notation. That might be of interest to someone, as
>something closer to PSP but with simpler syntax (but only
I'm working on that as a new version of ReplaceNamedValues that, like the
new NamedValueAccess, will provide its functionality via functions, a
mix-in and a wrapper, so you can do things how you want. I'll include
complete doc strings and a test suite.
I thought Tavis had a better version of RNV before he went full steam on
templates, but I can't find it on my system. TemplateFiller.py or
something? Maybe something else?
If someone has something up that alley, please send it my way.
The default syntax will be $foo.bar, which is a strict subset of
Velocity/webmacro/Tavis. That way if you expand your templates to something
more powerful in the future, the existing templates continue to work.
Well, assuming you choose Velocity/webmacro/Tavis or something compatible