}
fis.close();
} catch(Exception e) {
e.printStackTrace();
}
it'd be wise to go ahead and include the other common
encodings in this but this got me going to do what I
wanted..
thanks again,
Ian
On 09:07 Thu 27 Aug , Gavin Lambert wrote:
> At 06:13 27/08/2009, Ian Eyberg wrote:
Hi,
I think I'm misunderstanding the usage of $channel = HIDDEN
or skip().
I have text that looks like:
'b...@l^@a...@h^@'
(most of the time the text is simply 'blah')
and then it should come out like this:
'blah'
my relevant rules are:
startrule : BLAH;
BLAH: 'blah';
UCODE
Awesome!
Thanks a lot for publishing those videos!
-ian
On 13:39 Mon 08 Jun , Terence Parr wrote:
> Hi, these are the videos taken during the lectures. The only problem
> is they don't seem to work on my office Mac though they worked on my
> home Mac. Hmm...i installed the WMV stuff for
, J. Stephen Riley Silber wrote:
> Oh, Ian, you have to be careful with posts like that. Terence is very sneaky
> like that. :-)
>
> --- On Tue, 6/2/09, Terence Parr wrote:
>
> From: Terence Parr
> Subject: Re: [antlr-interest] ocaml target?
> To: "Ian Eyber
hi,
anyone know of anyone working on an ocaml target?
-ian
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--~--~-~--~~~---~--~~
You received this message because yo
: '\u65279'{ skip(); };
On Tue, May 05, 2009 at 10:11:01AM -0700, Jim Idle wrote:
> ian eyberg wrote:
> > Hi,
> >
> > someone has sent me a file to parse and there are all sorts of
> > '' characters in them in arbritrary spots -- looking it up
>
piece of software on a OSX box
maybe if I detect a bom in one of my documents I can convert the
entire file to the appropriate encoding first??
thanks,
--
ian eyberg
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/o
nd,
> you could try looking for a token at the beginning. For example:
> ">>" As long as the token is something that isn't _allowed_ in user
> input, you'll be fine.
>
> ---
> Hank Schultz
> Cedrus Corporat
pe of characters..
the best thing I can think of is to see if my next token would
be a username or one of my other tokens that would come at the
start of a newline
I've attached my test rig and simple grammar
Much appreciation in advance,
--
On Thu, Mar 12, 2009 at 08:46:53AM -0700, Jim Idle wrote:
> Out of interest, was there something that gUnit does not do for you that
> meant you wrote this? It might be useful feedback.
Actually I have yet to get into gUnit, although it is definitely on my list.
The problem is that I had built
Hi,
After writing my grammars according to unit tests that I had previously
written I realized I should have corrected the warnings I was generating
as they came. (warnings are really errors).
Anyways, I can't stand graphical IDEs and my work environment mainly consists
of screen+vim. So, I
Oh awesome antlr apostles:
I've been stuggling with a parser rule and
am hoping you might be able to help me.
I'm have a bit of data I'm trying to parse that
looks something like this:
username: the rain in spain stays
Running this through antlrworks I am hitting my 'chatrule'
every
> hi everyone,
>
> just ran across a problem which I hope
> someone knows the answer to.
>
> I thought I was trying to parse out a '-'
> but on closer examination I need to parse
> out a '–'.
>
> looking that up one is called a en dash and the latter
> is an em dash.
>
> I tried to throw it i
hi everyone,
just ran across a problem which I hope
someone knows the answer to.
I thought I was trying to parse out a '-'
but on closer examination I need to parse
out a '–'.
looking that up one is called a en dash and the latter
is an em dash.
I tried to throw it into a lexer and a parser r
on this note,
I've been looking up random error messages off the mailing list
today and have noticed the grand majority of indexed links lead to
404s; yes I know I can go look at cached lists elsewhere but when
you have the top spot on google and such it kind of sucks that most
of them are goin
>Hi list,
> I have a problem with a very simple
>grammar. Whenever I try to uncomment the
>lexer rule, ANTE, to this grammar it spits out a
>
>line 1:18 mismatched character 's' expecting 'n'
>
>
>test file:
>*** TURN *** [Ad As 6d] [Ts]
>
>the grammar:
>
>
>grammar Blah;
>options {language=Java;
Hi list,
I have a problem with a very simple
grammar. Whenever I try to uncomment the
lexer rule, ANTE, to this grammar it spits out a
line 1:18 mismatched character 's' expecting 'n'
test file:
*** TURN *** [Ad As 6d] [Ts]
the grammar:
grammar Blah;
options {language=Java;}
line : cacti
Hi, I'm using antlr 3.1.1 and evaluating
it against boost::spirit and I'm having
a pretty hard time coming up with even
simple examples that work.
I have a grammar like so:
grammar Blah
options{ language = C; }
r
returns [char *s]
:w1=ID ' ' w2=ID{ $s = "blah"; };
ID: 'a'..'z
18 matches
Mail list logo