Re: antlr

ruben safir <ruben@mrbrklyn.com>
Tue, 22 Mar 2016 23:54:19 -0400

          From comp.compilers

Related articles
antlr ruben@mrbrklyn.com (ruben safir) (2016-03-13)
Re: antlr gneuner2@comcast.net (George Neuner) (2016-03-15)
Re: antlr ruben@mrbrklyn.com (ruben safir) (2016-03-22)
Re: antlr gneuner2@comcast.net (George Neuner) (2016-03-23)
| List of all articles for this month |

From: ruben safir <ruben@mrbrklyn.com>
Newsgroups: comp.compilers
Date: Tue, 22 Mar 2016 23:54:19 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
References: 16-03-001 16-03-004
Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="73803"; mail-complaints-to="abuse@iecc.com"
Keywords: tools, parse
Posted-Date: 23 Mar 2016 00:05:58 EDT

On Tue, 15 Mar 2016 10:53:25 -0400, George Neuner wrote:


> Antlr now is supported mainly on Stackoverflow.com and via a Google
> group. see http://www.antlr.org/support.html


Lets try usenet


I have two grammars, one with white space


WS : [ \n\t\r]+ ->skip;




and one, or two actually, for comments
COMMENT: '#' .*? '\n' -> channel(HIDDEN);
COMMENT2: '/*' .*? '*/' -> channel(HIDDEN); //This pulls through
                                                                                        //linefeeds?


What is the practical difference between the channel(HIDDEN) and the skip



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.