Hey Ed,
I've seen this behavior with other command line tools as well (e.g.
MPLEX and MPPG) and somewhere read about why this is the case. Tried to
find the link but without luck. But this is not an ANTLR issue, but an
artifact of how the build step was integrated or how VS does some kind
of c
Hi,
I am trying to put syntax highlighting for string templates into Visual
Studio in form of what in the MS world is called a language service.
The default framework used there ("Babel") relies solely on the tokens
returned by a lexer to determine colorization.
In general I find this limitin
Hi,
can parsing be done on pieces of input, e.g. line-by-line or to
re-parse only changed lines of a code file? If yes, how do I tell ANTLR
the "current state", where parsing needs to be picked up?
Thanks,
Mike
--~--~-~--~~~---~--~~
You received this message
Hey Loring,
maybe I missed a feature of ST so far. You said:
> 4.) A StringTemplateGroup can load multiple template groups, so any large
> group can be split up into several smaller groups and all can be loaded into
> a single StringTemplateGroup. [I have not had reason to do this; it seems
he actual template instance.
>
> Something along the lines of:
>
> bag = new StringTemplateGroupBag()
> bag.put( "ships", new StringTemplateGroup( ... ) );
> bag.put( "html", new StringTemplateGroup( ... ) );
>
> client = new StringTemplateGroup( ...
nce to allow
> factoring. Almost always, the invoked template is local to the
> template group (not declared in the interface). Such invocations tend
> to be uncommon.
>
> --Loring
>
>
>
>
> - Original Message
>
>> From: Mike Pagel
>> To:
Hi there,
I am wondering how to best go about structuring complex sets of string
templates. As I understand the current mechanisms, a template group is
pretty much a class with its templates being the class methods. You can
build inheritance structures between groups and thereby overriding
te
>> Can ST do this as well?
> Well, it depends on what the arguments are. if it's an attribute or
> string of some kind, you can use the format option and a renderer.
That would probably work but look a little weird I guess.
> Any time I need to pass an argument back into the model from the
> t
Hey Ter,
thanks a lot. For a full model-to-text transformation you can then
merge the model's object tree and the corresponding template at the top
of the hierarchy, and the latter then pulls in further more
fine-grained templates as it is proceeds. And this is exactly what
XPAND or much rathe
Mike Pagel schrieb:
Hi Oliver,
you are right, this is what I want to do achieve, but: I was wondering
whether this could be done the ANTLR way, i.e. through grammars and ST
templates, instead of using a whole different templating mechanism.
One of the main reasons I am after this is that my
n open source tool that translates models
>> into code using ANTLR
>> http://wiki.eclipse.org/Xtext
>>
>> it's part of openArchitectureWare
>> http://www.openarchitectureware.org/
>>
>> which in turn is part of topcased (I think):
>> http://topcased.
e
over the list of methods in a class or whatever and build up the
output (using templates optimally).
Ter
On Dec 3, 2008, at 3:14 PM, Mike Pagel wrote:
> Hi there,
>
> first of all: I am pretty new to ANTLR and to this mailing list. I did
> search the archive for information but coul
Hi there,
first of all: I am pretty new to ANTLR and to this mailing list. I did
search the archive for information but could not find anything
addressing my question. If it's in there, just send the link, please...
Now:
I am coming from a modeling (UML-like, graphical DSLs) background, where
13 matches
Mail list logo