Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: ruben safir Newsgroups: comp.compilers Subject: Re: antlr Date: Tue, 22 Mar 2016 23:54:19 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 19 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <16-03-005@comp.compilers> References: <16-03-001@comp.compilers> <16-03-004@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit 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 X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1677 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