[il-antlr-interest: 23869] Re: [antlr-interest] [antlr-dev] Syntax highlighting and performance possibilities

2009-05-22 Thread Sam Harwell
Hi George, Thanks for this feedback. The method I was describing is a form of incremental lexing, but is quite different from the one you referenced. I'll be looking to see if I can combine each of their strengths as I work. :) Common features: * Both methods are incremental. Visua

[il-antlr-interest: 23867] [antlr-interest] AntlrDT 0.9.0 Released

2009-05-22 Thread Gerald Rosenberg
Just released AntlrDT 0.9.0 for Eclipse 3.4 Details are available: http://www.certiv.net/projects/antlrdt.html This version provides some significant usability improvements to the Antlr ASTView. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mail

[il-antlr-interest: 23866] Re: [antlr-interest] [antlr-dev] Syntax highlighting and performance possibilities

2009-05-22 Thread George Scott
Sam, Have you looked at Incremental lexing? I think it provides very good performance and used by a number of IDEs. A great reference on incremental lexing is this paper: http://harmonia.cs.berkeley.edu/papers/twagner-lexing.pdf To reduce memory you can use flyweight tokens (one token instance

[il-antlr-interest: 23865] [antlr-interest] Syntax highlighting and performance possibilities

2009-05-22 Thread Sam Harwell
As I mentioned once in the past, I've been working on improving lexer performance for applications where the full information/features in Lexer/CommonToken is not required. A key example is syntax highlighters which have strict performance requirements and must be updated as a person types. I'll st

[il-antlr-interest: 23864] Senior SSIS BI lead position /developer positions (exp with SSAS/SSIS and/or SSRS).

2009-05-22 Thread Eva Johnson
*Senior SSIS BI lead position /developer positions (exp with SSAS/SSIS and/or SSRS).* * * Charlotte, NC. Start date June 1st. CORP-CORP Thanks, Eva Johnson Business Development Executive E-Mail:eva.john...@codesoft.net PH: *770-248-2999*4046* YIM:eva.jhon...@ymail.com GTALK

[il-antlr-interest: 23863] Senior SSAS developer with BI

2009-05-22 Thread Eva Johnson
*Immediate need for a Senior SSAS developer /Lead with BI *in Charlotte, NC. Start date June 1st. CORP-CORP Thanks, Eva Johnson Business Development Executive E-Mail:eva.john...@codesoft.net PH: *770-248-2999*4046* YIM:eva.jhon...@ymail.com GTALK: eva.jhon...@gmail.com http:

[il-antlr-interest: 23861] ViagraAs low as 1.2 CiiaalliissAS low as 1.5 s2u

2009-05-22 Thread Anibal Callahan
Sex can be one of the most enjoyable parts of your life. It strengthens relationships and adds excitement. Always be ready. http://womensmedicaljournal.at If you have a problem getting or keeping an erection, you are not alone. In fact, more than half of all men over forty have diff

[il-antlr-interest: 23860] Re: [antlr-interest] Excluding words as tokens

2009-05-22 Thread John B. Brodie
Greetings! On Friday 22 May 2009 05:07:55 am schlp...@gmx.ch wrote: > I'm trying to write a grammar to check the correctness of package names in > respect to our meta modell. Thereby I ran into to following problems: > > ABSTRACTOBJECT: > SERVICEOBJECT | QUERYOBJECT > > SERVICEOBJECT: UPPERCASE

[il-antlr-interest: 23859] [antlr-interest] Why CommonTreeNodeStream.index() always returns 0?

2009-05-22 Thread Frank Du
Hi All, I am using antlr-3.1.3. The problem is that, all the time TreeNodeStream.index() returns 0. Apparently it is not what we expected. I wish to define function and remember its entry position. Is it a bug in 3.1.3, or do I need any configuration? The related interpreter example and my comm

[il-antlr-interest: 23858] [antlr-interest] how to pretty print antlr grammar

2009-05-22 Thread Frank Du
Dear All, I notice that the JSON grammar is pretty printed with syntax coloring at: http://www.antlr.org/wiki/display/ANTLR3/JSON+Interpreter?focusedCommentId=11075708#comment-11075708 What tool does it use to do pretty printing? Sometimes it really helps with such a tool for writing and docume

[il-antlr-interest: 23857] ViagraAs low as 1.2 CiiaalliissAS low as 1.5 4i0y

2009-05-22 Thread Leslie Collier
Sex can be one of the most enjoyable parts of your life. It strengthens relationships and adds excitement. Always be ready. http://womensmedicalpavilion.at If you have a problem getting or keeping an erection, you are not alone. In fact, more than half of all men over forty have dif

[il-antlr-interest: 23856] Re: [antlr-interest] Excluding words as tokens

2009-05-22 Thread Micha
On Friday 22 May 2009 11:07:55 schlp...@gmx.ch wrote: > Dear all > > I'm trying to write a grammar to check the correctness of package names in > respect to our meta modell. Thereby I ran into to following problems: > use syntactic predicates or/and action in lexer rules to change the type of th

[il-antlr-interest: 23854] Re: [antlr-interest] Rewrite a list to a set of trees

2009-05-22 Thread Gary R. Van Sickle
> At 17:58 22/05/2009, Gary R. Van Sickle wrote: > >var_decl_list > >: TYPENAME ids+=IDENTIFIER (',' ids+=IDENTIFIER)* -> ^(VAR_DECL > >TYPENAME IDENTIFIER)+ > >; > > > >If your rule can't be reduced to a one-liner like that though (e.g. > >C declarations), things quickly get compli

[il-antlr-interest: 23853] [antlr-interest] Excluding words as tokens

2009-05-22 Thread schlpbch
Dear all I'm trying to write a grammar to check the correctness of package names in respect to our meta modell. Thereby I ran into to following problems: ABSTRACTOBJECT: SERVICEOBJECT | QUERYOBJECT SERVICEOBJECT: UPPERCASE (LOWERCASE|UPPERCASE)+ DIGIT* QUERYOBJECT: UPPERCASE (LOWERCASE|U

[il-antlr-interest: 23852] Re: [antlr-interest] Rewrite a list to a set of trees

2009-05-22 Thread Gavin Lambert
At 17:58 22/05/2009, Gary R. Van Sickle wrote: >var_decl_list > : TYPENAME ids+=IDENTIFIER (',' ids+=IDENTIFIER)* -> ^(VAR_DECL >TYPENAME IDENTIFIER)+ > ; > >If your rule can't be reduced to a one-liner like that though (e.g. >C declarations), things quickly get complicated, and