[stringtemplate-interest] getting rid of StringTemplateGroupLoader
Terence Parr
parrt at cs.usfca.edu
Mon Nov 9 15:30:49 PST 2009
On Nov 9, 2009, at 3:08 PM, Zenaan Harkness wrote:
> What about template-path concept (like classpath)? If we have a Java-
> style group
> loader, then leading / would mean search from 'root' of current
> template-path?
>
> No leading / same as above (relative to current template).
>
> Again, advocating to group loader:
> At the moment my project has a set of nearly 50 ST groups over 10
> directories
> ("packages") as I call them, and this is set to balloon out 4 or 5
> times after
> my current system design simplification and expansion.
Are they organized into a subdir hierarchy? If so, you only need one
root group, right?
> To have to separate group-hierarchy creation would demand new data
> declaration
> files to declare the group connections, and new code to manually set
> up these
> connections. From my vantage point, that looks like a short term
> disadvantage
> (which is never a problematic cost to me if it means longer term
> cleanliness),
> but more importantly a long term increase in maintenance overhead.
> Given my
> system design and corresponding ST usage pattern that is.
are they organized into dir hier.?
T
More information about the stringtemplate-interest
mailing list