I don't remember receiving an answer giving an example of what you need. Tom Moog Polhode, Inc....
114
Gary Schaps
gary_schaps@xxxxxxxx....
Jan 4, 1999 4:58 pm
Actually, it should be ... ... ... my mistake. In any event, it's a small point. I'll have to revisit it another time. BTW, Dr. Dobbs Journal is going to...
115
Jon Steer
jsteer@xxxxxxxx.xxxx
Jan 4, 1999 10:39 pm
... Sorry, vacation intervened :-). For example, the ascii "grammar" of a protocol command looks like C: 0x1234 L: p:10, a:G.711 D: ( 0T| 00T...
116
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 5, 1999 4:43 am
Heh you ANTLR-o-philes, I have a preliminary simple version of token channels working for the upcoming 2.6.0 release and have written up a fieldguide entry...
117
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 5, 1999 6:44 pm
... I hope not...manual says not implemented yet; well, it was ambiguous about what version it worked with...changed the doc to say "not done yet." Sorry...
118
hkhidhir
hkhidhir@xxxx.xxxxxxx...
Jan 6, 1999 1:40 am
Hi All, I just started to look at antlr, and I am writing my first grammer, I am having the following problem, I guess it is trivial, but it will be very nice...
119
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 6, 1999 7:50 am
... This can only be figured out with the rest of the code, but I'll tell you where to look. In this case, ANTLR cannot decide whether to match ',' ID in the...
120
Octav Chiriac
com@xxxxxxxxxxxxxxx.x...
Jan 6, 1999 8:04 am
May be this will help: identifierList: IDENTIFIER ( (COMMA IDENTIFIER)=> COMMA IDENTIFIER ) * ; I'm not sure about this because it is not enough information, ...
121
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 6, 1999 6:24 pm
... Still not enough...try digging around finding what can follow identifierList. Ter...
122
hkhidhir
hkhidhir@xxxx.xxxxxxx...
Jan 6, 1999 6:34 pm
Thanks for the help, I appriciate it. I am rewriting the grammer just to find out where I am making a mistake. It will help even in the identifier problem, if...
123
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 6, 1999 6:43 pm
... Have you seen http://www.antlr.org in the fieldguide? Something there to help you get started. This grammar is easy though: input : (def)+ ; def : ID...
124
hkhidhir
hkhidhir@xxxx.xxxxxxx...
Jan 6, 1999 6:48 pm
OK, Thanks, I actally made a mistake in specifying the input, what I ment id that the numbers will appear in the input not the words "integers" "floats" ... so...
125
Bergmann, Rich
rich.bergmann@xxxxxxx...
Jan 6, 1999 9:31 pm
Fellow Parsers, Would somebody out there be so kind as to demystify the usage of RefAST in C++ for me? I would appreciate pointers to any documentation or ...
126
doug.erickson@xxx.xxx...
Jan 6, 1999 9:26 pm
Howdy all -- I thought I remembered seeing somewhere in the ANTLR docs or on the web page an example of seperating the semantic actions from the main grammar....
127
nedervol@xxxx.xxxxxxx...
nedervol@xxxx.xxxxxxx...
Jan 6, 1999 10:22 pm
... Actually, this can be done with a standard object-oriented technique. Define a generic GrammarThing class that has virtual member functions called...
128
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 6, 1999 11:03 pm
Also, see the antlr.g grammar for an example "behavior" object. Note that I am against these for most situations and am sorry I used it for the antlr.g file :(...
129
Doug Erickson
Doug.Erickson@xxxx.xxxx
Jan 6, 1999 11:32 pm
... Maybe this is the example of which I was thinking. Why are you generally opposed to behaviors? In what cases could you recommend them (besides parser...
130
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 6, 1999 11:51 pm
... For syntax directed stuff like "everytime I see <img> dump this" it works fine. When you need to start storing state info you get into trouble. ANTLR...
131
Gary Schaps
gary_schaps@xxxxxxxx....
Jan 7, 1999 12:10 am
If your application is performance sensitive, I think that the compromises which you will almost certainly have to adopt to make a polymorphic recognizer will...
132
Bonny Rais
bonny@xxx.xxxx.xxx.xx...
Jan 7, 1999 5:39 am
Hi all, I am trying to use the tokdef option so that I can name and number the tokens I'm using the way I like. I was under the impression (from the doco) that...
133
Andrzej Nowakowski
andrnowa@xxxxxx.xxxx....
Jan 7, 1999 12:03 pm
[This message contained attachments]...
134
Tom Moog
tmoog@xxx.xxxx
Jan 7, 1999 4:56 pm
Did you find a solution to your problem ? Was declarative systems able to help ? Tom Moog Polhode, Inc. ... From: Kimlan Huynh <kimlan@...> To:...
135
Kimlan Huynh
kimlan@xxxxxx.xxxx.xxxx
Jan 7, 1999 5:10 pm
Other people are conducting the evaluation. I will contact you. Thanks for your help, Kimlan ... From: Tom Moog <tmoog@...> To: antlr-interest@onelist.com...
136
Zhen Liu
ericliu@xxxxxxxx.xxxx
Jan 7, 1999 5:54 pm
I did not try out your example on PCCTS. But my impression from my quick glimpse is that: (1) the problem has nothing to do with "to label or not to lable" (2)...
137
Pete Wells
pete@...
Jan 9, 1999 5:15 pm
... You're quite right. I'll work on it. Pete...
138
pete@xxxxxx.xxxxx.xx....
pete@xxxxxx.xxxxx.xx....
Jan 9, 1999 4:57 pm
... The RefCount template is a simple reference counting class, meant to make up for the lack of garbage collection in C++. It is used to hold Tokens and ASTs....
139
Andrzej Nowakowski
andrnowa@xxxxxx.xxxx....
Jan 8, 1999 8:14 pm
Hello folks, I've problem with tokdef in Lexer ( mentioned by Bonny Rais) but my situation differ and I go farer. I wanted to use tokdef option in my lexer,...
140
hkhidhir
hkhidhir@xxxx.xxxxxxx...
Jan 12, 1999 5:24 pm
Hi All, I have string literals that start with a ' and end with ' but they an contain a '' to mean that a single ' is part of the stirng, I have the following...
141
Terence Parr
parrt@xxxxxxxx.xxxx
Jan 12, 1999 5:45 pm
... get rid of the superfluous parens (you a LISP programmer? <wink>). It sees a subrule of subrules. Further you cannot negate a sequence such as quote ...
142
Doug Erickson
Doug.Erickson@xxxx.xxxx
Jan 12, 1999 6:10 pm
... This is how I parse that form of string: class TestLexer extends Lexer; options { charVocabulary = '\339; .. '\17739;; } STRING : '\39;'! ( ( '\39;' '\39;' ) =>...