Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #1677

Re: antlr

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 <ruben@mrbrklyn.com>
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> (permalink)
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

Show key headers only | View raw


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

Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

antlr ruben safir <ruben@mrbrklyn.com> - 2016-03-13 05:01 -0400
  Re: antlr George Neuner <gneuner2@comcast.net> - 2016-03-15 10:53 -0400
    Re: antlr ruben safir <ruben@mrbrklyn.com> - 2016-03-22 23:54 -0400
      Re: antlr George Neuner <gneuner2@comcast.net> - 2016-03-23 02:56 -0400

csiph-web