[il-antlr-interest: 24830] Re: [antlr-interest] Language Design Patterns and incremental parsing

2009-07-23 Thread Andreas Stefik
Similarly, here's one for NetBeans: http://wiki.netbeans.org/New_Language_Support_Tutorial_Antlr Andreas On Thu, Jul 23, 2009 at 12:43 PM, Gavin Lambert wrote: > At 05:27 24/07/2009, Andrew Haritonkin wrote: > >Interesting... so, the lexer could be hardest part, good to know. > >It seems incre

[il-antlr-interest: 24807] Re: [antlr-interest] Language Design Patterns and incremental parsing

2009-07-22 Thread Andreas Stefik
Andrew, So far as I understand it, where incremental parsing comes in really handy is when you have something continually reparsing a file. In my case, I use ANTLR to parse a custom programming language, which is then integrated into the NetBeans platform. The NetBeans parser, by default, continua

[il-antlr-interest: 24176] Re: [antlr-interest] Line and column numbers in rewrite rules

2009-06-11 Thread Andreas Stefik
It looks like I missed a few posts on this topic from a few days ago (Thanks, Jim!) The suggestion appears to pass, for a tree grammar rule like: expressionreturns[ExpressionValue eval] : ^(PLUS left = expression right = expression) to use $e.tree and then get the line and column

[il-antlr-interest: 24175] [antlr-interest] Line and column numbers in rewrite rules

2009-06-11 Thread Andreas Stefik
Hello folks, I'm working on an expression reader in one of my grammars and am working with transporting line and column numbers from my grammar to a different place in my compiler architecture. I apologize if this has been asked before. I did a search, but did not immediately see an answer. A simp

[il-antlr-interest: 23373] Re: [antlr-interest] ANTLR Conference 2009: Call for additional speakers

2009-04-25 Thread Andreas Stefik
Out of curiosity, will any video of the conference be posted? I would like to attend, but I probably cannot this year. Some of my students would probably also like to see the latest of what is going on in ANTLR. Andreas --~--~-~--~~~---~--~~ You received this mess

[il-antlr-interest: 23009] Re: [antlr-interest] A Simple Question on Channels

2009-04-04 Thread Andreas Stefik
Indhu, Thanks, this is very helpful. One more very related question, if you'll indulge me. The grammar you posted works great, and I think I'm close to understanding what's going on here. You define @members, which dumps a custom function into the generated parser. Inside, you get the tokens from

[il-antlr-interest: 22977] Re: [antlr-interest] A Simple Question on Channels

2009-04-02 Thread Andreas Stefik
Woops, I suppose I didn't say it. My target language is Java. Andreas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to il-antlr-interest@googlegroups.com

[il-antlr-interest: 22976] [antlr-interest] A Simple Question on Channels

2009-04-02 Thread Andreas Stefik
Hello list, I am an academic working on a new compiler architecture. I've written a number of compilers in the past in other languages, including JavaCC and Lex/Yacc, and am pretty well versed in compiler theory, and thought that it might be fun and interesting to try out ANTLR. As such, I've writ