[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging syntax



Great, thanks.  Looks like just what I need.  Sorry I didn't find that when I was looking thru things.

Roger

> ----- Original Message -----
> From: "Etienne M. Gagnon" <egagnon@xxxxxxxxx>
> To: "Discussion mailing list for the SableCC project" <sablecc-discussion@xxxxxxxxxxxxxxxxx>
> Subject: Re: debugging syntax
> Date: Tue, 07 Oct 2008 08:28:39 -0400
> 
> 
> Hi Roger,
> 
> It is easy to print tokens as they are recognized using a custom lexer
> such as described in the following message:
> http://lists.sablecc.org/pipermail/sablecc-discussion/msg00311.html
> 
> Hoping this helps,
> 
> Etienne
> 
> Roger Pomeroy wrote:
> > Is there a way to have SableCC print out the tokens it sees as it 
> > is parsing a language?  I have created a syntax, but when I run 
> > it on what I think are valid simple test cases, it seems like it 
> > is not behaving the way I want.  I presume it is because I have 
> > not properly specfied the syntax of the language properly; but 
> > I'd like to be able to see what SableCC is "doing" as it parses 
> > thru my language.  What would be the best way to do that
> 
> --
> Etienne M. Gagnon, Ph.D.
> SableCC:                                            http://sablecc.org
> << signature.asc >>
> 
> _______________________________________________
> SableCC-Discussion mailing list
> SableCC-Discussion@xxxxxxxxxxxxxxxxx
> http://lists.sablecc.org/listinfo/sablecc-discussion

>


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com