I needed to add a new way of extracting properties. I wrote a
DynamicBeanExecutor and then chained it into ASTIdentifier. I don't know
enough about the parser to know if we could make a runtime (startup)
directive that established a pipeline of AbstractExecutors or not?
Any ideas?
Also I added an Eval directive (which is basically just Parse with some
small modifications. To do this I added a new no-arg Template.process
method and allowed for Template.process to optionally be called with and
InputStream. Does this make sense to people is their a better way?
#set ($foo='this is some $text $!bar')
#set ($text="foo")
#set ($bar="bar!")
#eval($foo)
renders =>
this is some foo bar!
I don't mind doing to bit to make ASTIdentifer run off a pipeline if people
thinks that's practical? Also if anyone wants the Eval directive I can
submit a patch, lemme know.
-Ben