[stringtemplate-interest] Subdirectory access in v4
Barrie Treloar
baerrach at gmail.com
Tue Jun 14 17:22:58 PDT 2011
On Wed, Jun 15, 2011 at 8:47 AM, Terence Parr <parrt at cs.usfca.edu> wrote:
> So, do people agree with the breaking change above in the two bullet points? Fortunately, the documentation doesn't seem to even talk about this so were probably okay to fix it ;)
Yes please.
I have in my notes:
Template Group Hierarchies.
Interestingly these are not template relative, but group relative.
i.e
ROOT/module/one.st
ROOT/module/two.st
where one.st needs to reference a call to two() then it needs to use
module/two() in order to do so.
As an aside, I think STGroupDir is a poor cousin of STGroupFile.
STGroupDir doesn't seem to behave the same or have the same feature
set.
Unfortunately I didn't keep notes as to what was different.
I think the only way to ensure compatibility is by using the same test
suite against both group types.
In the end I just moved to *.stg files with imports and haven't looked back.
More information about the stringtemplate-interest
mailing list