[il-antlr-interest: 24432] DVD I I40 Z b g c

2009-06-29 Thread eroerodvd
□■□■ 激安DVD販売のネットショップ! □■□■ http://eroero.dvduraura.net/  最新作もいち早くラインナップ   40枚セット10,000円ポッキリのお得なセット料金 配送方法は、代引き、局留めOK! 詳しくはこちらから   ↓ http://eroero.dvduraura.net/ □■□■□■□■□■□■□■□■□■□■□■□ --~--~-~--~~~---~--~--

[il-antlr-interest: 24429] Re: [antlr-interest] Check for end of token stream when parser finishes.

2009-06-29 Thread Jim Idle
Gyanit Singh wrote: This is an FAQ answered about 1 times on this list: test     : exp EOF; Jim Hi all, I have a simple grammar -- grammar test; test     : exp; exp    : ONE ('+' ONE)* ; ONE    : '1'; --- if you try to parse "1+11" the parser

[il-antlr-interest: 24428] Re: [antlr-interest] Check for end of token stream when parser finishes.

2009-06-29 Thread shibinck
Hi,You shouldn't redefine EOF. It's a predefined token for end of stream. I guess this is what you want grammar test; test : exp+ EOF; exp: ONE ('+' ONE)* ';'; ONE: '1'; -shibin On Tue, Jun 30, 2009 at 5:46 AM, Gyanit Singh wrote: > The problem still remains. > -

[il-antlr-interest: 24427] Re: [antlr-interest] Check for end of token stream when parser finishes.

2009-06-29 Thread Gyanit Singh
The problem still remains. -- grammar test; test : (exp EOF)+; exp: ONE ('+' ONE)* ; ONE: '1'; EOF : ';' --- Now I am looking for list of expression seperated by a semicolon. The problem is checking whether parser have matched the whole token s

[il-antlr-interest: 24426] Re: [antlr-interest] Check for end of token stream when parser finishes.

2009-06-29 Thread shibinck
Hi,You could use the EOF token to match the whole input test: exp EOF; -shibin On Tue, Jun 30, 2009 at 5:29 AM, Gyanit Singh wrote: > Hi all, > > I have a simple grammar > -- > grammar test; > test : exp; > exp: ONE ('+' ONE)* ; > ONE: '1'; >

[il-antlr-interest: 24425] [antlr-interest] Check for end of token stream when parser finishes.

2009-06-29 Thread Gyanit Singh
Hi all, I have a simple grammar -- grammar test; test : exp; exp: ONE ('+' ONE)* ; ONE: '1'; --- if you try to parse "1+11" the parser matches test and expr to "1+1" and ignores the last "1". Is there a way to throw an exception when this happen

[il-antlr-interest: 24424] Re: [antlr-interest] [ANTLR C 3.1.3] UCS2 input stream attempting to read beyond end of input

2009-06-29 Thread Jim Idle
Andy Grove wrote: Hi Jim, I am hitting some errors which seem to be related to the UCS2 input stream attempting to read past the end of my UTF-16 input data. This is the error I am seeing in one of my tests: -memory-(1)  : error 9 : Extraneous token, at offset 58     near [

[il-antlr-interest: 24423] [antlr-interest] [ANTLR C 3.1.3] UCS2 input stream attempting to read beyond end of input

2009-06-29 Thread Andy Grove
Hi Jim, I am hitting some errors which seem to be related to the UCS2 input stream attempting to read past the end of my UTF-16 input data. This is the error I am seeing in one of my tests: -memory-(1) : error 9 : Extraneous token, at offset 58 near [ : Extraneous input - expected

[il-antlr-interest: 24421] It hampers the walls with their failure (TABS - 10)

2009-06-29 Thread scottyk1517
L|CENSED P|LLS 0NL|NE THE UPPER PART OF THE BODY --~--~-~--~~~---~--~~ 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 To unsubscrib

[il-antlr-interest: 24420] [antlr-interest] Newby question

2009-06-29 Thread fridi70
I have a grammar file in which a text file structure and a complete logic (basic like with if-then-else etc) is described in. Because of it's complexity, I would like to extract a separate grammar for "logic". So I want one grammar for the file (header, footer...) and an additional grammar for

[il-antlr-interest: 24419] Re: [antlr-interest] Getting a list of possible tokens at a Parser NoViableAltException in ANTLR v3.1

2009-06-29 Thread Jim Idle
You are given it automatically if there is an expected list that can be calculated. You just need to implement your own displayRecognitionError and pick up the expected field in the exception, it will be a token for some exceptions, and bitmap for others and not available for others. The defaul

[il-antlr-interest: 24418] Re: [antlr-interest] Using ANTLR without Java

2009-06-29 Thread Elnur Cabarov
I've tried your code with simple grammar. It's exactly what I need. Thank you On Mon, Jun 29, 2009 at 9:38 AM, Elnur Cabarov wrote: > Thanks a lot to you all. I didn't expect so much help :) > > Normally end-users wouldn't be writing grammars -- grammar writing >> is a complicated business. :) >

[il-antlr-interest: 24417] [antlr-interest] Getting a list of possible tokens at a Parser NoViableAltException in ANTLR v3.1

2009-06-29 Thread Floor Goddijn
Hi, I was wondering whether it is possible to get a list of expected (possible) tokens at a NoViableAltException. Consider this small example grammar: grammar NoViableAltGrammar; statement :statementA | statementB ;

[il-antlr-interest: 24416] [antlr-interest] ANTLR IDE v2.0.0-rc2 released

2009-06-29 Thread Edgar Espina
Bugs fixed: - Outline b0rked - gUnit editor/eclipse hangs - Invalid outline in ST editor Regards, -- edgar List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~-~--~~~---

[il-antlr-interest: 24415] Honeymoon Pics & Videos,Sexy Porn,XXX Videos

2009-06-29 Thread amala
Honeymoon Pics & Videos,Sexy Porn,XXX Videos Honeymoon Pics & Videos,Sexy Porn,XXX Videos http://loansofworld.blogspot.com http://loansofworld.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "il-antlr-i