[il-antlr-interest: 26060] Re: [antlr-interest] Enforcin g a right associativity, to resolve an ambiguity (simple gram mar included)

2009-10-03 Thread Naveen Chawla
To be clear, I want prepPhr to always belong to the last occuring 'Ving' (nounPhrase) before it (i.e. drinking-while-driving) 2009/10/2 Naveen Chawla > Hi, > > I'm a little bit stumped. You might find this easy. I'm trying to develop > an English parser and have come across a real ambiguity in E

[il-antlr-interest: 26061] [antlr-interest] Error Recovery Issues

2009-10-03 Thread Andy Wagner
I have just converted a large grammar from v2 to v3 for almost the sole purpose of better error recovery. Specifically I was interested in the token addition/deletion features which isn't workign with my current grammar. A generic example of what I would expect to work is similar to a = b c = d ;

[il-antlr-interest: 26062] [antlr-interest] Using ANTLR on Vista

2009-10-03 Thread Charles Jenkins
Can anyone point me to instructions for installing and using ANTLR at the command line on a Vista machine? Do I have to rebuild the libraries from the sources, or can I use the jar file? Chuck Jenkins List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.or

[il-antlr-interest: 26064] Re: [antlr-interest] Using ANTLR on Vista

2009-10-03 Thread Jim Idle
It's just Java, so: Java -jar \path\to\downloaded\jar\antlr-3.2.jar mygrammar.g please read the instructions on the Wiki. Jim > -Original Message- > From: antlr-interest-boun...@antlr.org [mailto:antlr-interest- > boun...@antlr.org] On Behalf Of Charles Jenkins > Sent: Saturday, Octobe

[il-antlr-interest: 26065] [antlr-interest] [c target] debugging using antlrworks

2009-10-03 Thread Юрушкин Михаил
Good day... I generated parser grammar with -debug option, but nothing works. I haven't understood how to customize parser init code - there are no examples. There is antlr3DebugListenerNew() method, but i don't know how to use it. Could u help me, please? -- Best regards, Michael List: http

[il-antlr-interest: 26066] [antlr-interest] Older Grammar in ANTLR 3

2009-10-03 Thread Pennington, Elliot
Howdy All, I've got an old grammar that used to work in ANTLR 2 but that now fails in ANTLR 3. I'd like to make the switch, but I'm at a loss as to how to fix this. For the following example code: -- void input_a() { integer a, bb, xyz, b3, c, p, q; real b; a = b3;

[il-antlr-interest: 26067] Re: [antlr-interest] [c target] debugging using antlrworks

2009-10-03 Thread Gavin Lambert
At 10:48 4/10/2009, =?koi8-r?B?4NLV28vJziDtycjBycw=?= wrote: >I generated parser grammar with -debug option, but nothing works. >I haven't understood how to customize parser init code - there are >no examples. There are examples for the standard C parser init code. Have a look at the downl

[il-antlr-interest: 26068] Re: [antlr-interest] Older Grammar in ANTLR 3

2009-10-03 Thread John B. Brodie
Greetings! On Sat, 2009-10-03 at 18:24 -0400, Pennington, Elliot wrote: > Howdy All, > > I've got an old grammar that used to work in ANTLR 2 but that now > fails in ANTLR 3. I'd like to make the switch, but I'm at a loss as to > how to fix this. For the following example code: > > -

[il-antlr-interest: 26069] [antlr-interest] extra interpreter section from book on wiki now

2009-10-03 Thread Terence Parr
Hi, i had a complicated interpreter in the book but I took it out. It's now here on the wiki: http://www.antlr.org/wiki/display/ANTLR3/Pie It's an implementation for a dynamically-typed Python-like language called Pie. Source attached to page. Ter List: http://www.antlr.org/mailman/listi