[il-antlr-interest: 24433] Personal Accident covers

2009-06-30 Thread anushiya priya
Personal Accident covers Personal Accident covers http://bpoindustries.blogspot.com http://bpoindustries.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group

[il-antlr-interest: 24434] AVOID SEX IN PUBLIC COME AND ENJOY IN BATHROOMSAVOID SEX IN PUBLIC COME AND ENJOY IN BATHROOMS

2009-06-30 Thread ammu
AVOID SEX IN PUBLIC COME AND ENJOY IN BATHROOMS http://joyfunnyworld.com http://joyfunnyworld.com http://joyfunnyworld.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-in

[il-antlr-interest: 24435] Invest in ULIP insurance

2009-06-30 Thread surash karith
Invest in ULIP insurance Invest in ULIP insurance http://bpoindustries.blogspot.com http://bpoindustries.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group

[il-antlr-interest: 24436] [antlr-interest] Code too large, java error

2009-06-30 Thread Gustaf Johansson
Hello, I have implemented the grammar for a fairly complex language, using it's BNF definition as base. (Basically just reformatting the syntax to match Antlr). Now this worked fine although the generated java code got pretty large, ~60´000 lines in the parser and ~7´500 in the lexer. Now there

[il-antlr-interest: 24437] [antlr-interest] Suppress output of org.antlr.runtime.tree.TreeRewriter

2009-06-30 Thread Stefan Bischof
Hi guys, I'm currently using a rewriting tree grammar (rewrite=true, filter=true) which means my parser is extending org.antlr.runtime.tree.TreeRewriter. I want to feed output of my program directly to another program with an unnamed pipe | on the command line. Unfortunately that's not possible

[il-antlr-interest: 24440] [antlr-interest] Guidance sought on use of Maven and Eclipse

2009-06-30 Thread Sam Barnett-Cormack
Hi all, So, currently I'm using eclipse with ANTLR IDE, and it's working nicely. I'm moving toward mavenising my work (which is broken into multiple projects), and the bits without ANTLR use are going fine. However, for the ANTLR bits, I'd ideally make use of maven's ANTLR plugin to make the

[il-antlr-interest: 24441] Re: [antlr-interest] Guidance sought on use of Maven and Eclipse

2009-06-30 Thread James Abley
2009/6/30 Sam Barnett-Cormack : > Hi all, > > So, currently I'm using eclipse with ANTLR IDE, and it's working nicely. > I'm moving toward mavenising my work (which is broken into multiple > projects), and the bits without ANTLR use are going fine. > > However, for the ANTLR bits, I'd ideally make

[il-antlr-interest: 24442] Re: [antlr-interest] Look-ahead problem parsing phrase?

2009-06-30 Thread Dave Dutcher
>From: Sean O'Dell >Subject: Re: [antlr-interest] Look-ahead problem parsing phrase? > >Thanks ... that really did help. I think I didn't realize how much better the parser is than the lexer at >looking-ahead. It makes much more sense to me now, though I'm not yet sure how I will deal with

[il-antlr-interest: 24444] Re: [antlr-interest] Suppress output of org.antlr.runtime.tree.TreeRewriter

2009-06-30 Thread Viktor Lioutyi
Hi Stefan, ANTLR comes with the source code. For issues like this I created patch.jar file with small fixes to ANTLR and put on a classpath before ANTLR jar files. For ANTLR 3.1.3 this output is in antlr-3.1.3/runtime/Java/src/main/java/org/antlr/runtime/tree/TreeRewriter.java, method pu

[il-antlr-interest: 24445] Re: [antlr-interest] Guidance sought on use of Maven and Eclipse

2009-06-30 Thread Sean O'Dell
Sam, Some additional notes that I found to be the case when I set up ANTLR and Maven just recently. 1) Use the plugin described here, exactly as described: http://antlr.org/antlr3-maven-plugin/index.html. 2) Use version '3.1.3-1' or better. It's available in central, so you can just update your

[il-antlr-interest: 24446] Re: [antlr-interest] Look-ahead problem parsing phrase?

2009-06-30 Thread Sean O'Dell
Still helpful information. I did get past my issues, though ... the smoke in my eyes is blowing away gradually. Sean On Tue, Jun 30, 2009 at 6:26 AM, Dave Dutcher wrote: > >From: Sean O'Dell > >Subject: Re: [antlr-interest] Look-ahead problem parsing phrase? > > > >Thanks ... that really did h

[il-antlr-interest: 24447] Re: [antlr-interest] Code too large, java error

2009-06-30 Thread Jim Idle
Gustaf Johansson wrote: > Hello, > > I have implemented the grammar for a fairly complex language, using > it's BNF definition as base. > (Basically just reformatting the syntax to match Antlr). > > Now this worked fine although the generated java code got pretty > large, ~60´000 lines in the pa

[il-antlr-interest: 24448] Re: [antlr-interest] Suppress output of org.antlr.runtime.tree.TreeRewriter

2009-06-30 Thread Jim Idle
Stefan Bischof wrote: > Hi guys, > > I'm currently using a rewriting tree grammar (rewrite=true, filter=true) > which means my parser is extending org.antlr.runtime.tree.TreeRewriter. > > I want to feed output of my program directly to another program with an > unnamed pipe | on the command line.

[il-antlr-interest: 24449] Re: [antlr-interest] Guidance sought on use of Maven and Eclipse

2009-06-30 Thread Jim Idle
Sam Barnett-Cormack wrote: 1) Ignore eclipse to start with; 2) Read: www.antlr.org/antlr3-maven-plugin 3) When you can type mvn install then integrate with eclipse 4) To integrate with eclipse you find the docs on the maven eclipse plugin and follow the instructions to generate an eclipse projec

[il-antlr-interest: 24450] Re: [antlr-interest] Guidance sought on use of Maven and Eclipse

2009-06-30 Thread Jim Idle
James Abley wrote: 2009/6/30 Sam Barnett-Cormack : Hi all, So, currently I'm using eclipse with ANTLR IDE, and it's working nicely. I'm moving toward mavenising my work (which is broken into multiple projects), and the bits without ANTLR use are going fine. However, for the ANTLR

[il-antlr-interest: 24452] Re: [antlr-interest] Suppress output of org.antlr.runtime.tree.TreeRewriter

2009-06-30 Thread Stefan Bischof
Hey, On Tue, 2009-06-30 at 08:19 -0700, Jim Idle wrote: > Stefan Bischof wrote: > > Hi guys, > > > > I'm currently using a rewriting tree grammar (rewrite=true, filter=true) > > which means my parser is extending org.antlr.runtime.tree.TreeRewriter. > > > > I want to feed output of my program dir

[il-antlr-interest: 24453] [antlr-interest] got article back up

2009-06-30 Thread Terence Parr
was dead over at codegeneration.net http://www.antlr.org/wiki/display/ST/Language+Translation+Using+ANTLR+and+StringTemplate T List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~-~--~

[il-antlr-interest: 24454] [antlr-interest] Collecting disparate subtrees into one tree?

2009-06-30 Thread J. Stephen Riley Silber
Hi gang, Here's a question for you.  (Apologies if this is explained somewhere; I haven't found it yet.)  Suppose I have a language where I have procedures and functions (Oh! Pascal!), such as this:     procedure a() { ... }     function x() { ... }     procedure b() { ... }     function y() {

[il-antlr-interest: 24455] [antlr-interest] Error recovery in lexer (~ unclosed string)

2009-06-30 Thread Thibaut Colar
Hello there. In my grammar file, i have a lexer rule to match DSL string like this: DSL:'<|' ( options {greedy=false;} : . )* '|>' ; Now my Lexer is hooked up int the NetBeans IDE to parse(well lexer only for now) files and that works well. The problem is that if you type an oening <| (

[il-antlr-interest: 24456] Re: [antlr-interest] Error recovery in lexer (~ unclosed string)

2009-06-30 Thread Jim Idle
T: '<|' ' ( options {greedy=false;} : . )* ( '|>' | // error message ) ; Jim On Jun 30, 2009, at 5:53 PM, Thibaut Colar wrote: > Hello there. > > In my grammar file, i have a lexer rule to match DSL string like this: > DSL:'<|' ( options {greedy=false;} : . )* '|>' ; >