[stringtemplate-interest] A plan/idea - seeking thoughts and so forth
Terence Parr
parrt at cs.usfca.edu
Thu Jun 16 18:26:53 PDT 2011
I know a guy that pulls all templates from a DB (using v3 but still should work). Make STGroupDB or whatever.
T
On Jun 16, 2011, at 5:27 PM, Barrie Treloar wrote:
> On Fri, Jun 17, 2011 at 2:03 AM, Sam Barnett-Cormack
> <s.barnett-cormack at lancaster.ac.uk> wrote:
>> On a very specific note, though, as I work out some implementation
>> details that I need to know (at least whether they are possible) before
>> I go further - is it possible in ST4, to have a STGroup (created
>> however) and add templates to it at run-time? I imagine I'll be wanting
>> to dynamically construct a group based on configuration, using files in
>> all sorts of places and possibly pulling things in from arbitrary data
>> sources (DBs, remote filesystems, black boxes even). The API docs list
>> functions that look like this might be possible, but the lack of any
>
> I've had a look around in STGroup, and I can't think of any reason why
> you can't create your own that pull stuff from your list of places.
>
> But you wont know for sure until you code it.
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list