[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question
Steve Murphy wrote:
>...
> I appreciate any advise you all can give me.
Hi Steve,
I think that a 2-layers lexer is what you need. Look at the Java
grammar, it does something like this, were a first lexer is used to
handle unicode sequences, then a second lexer is used for detecting the
normal tokens.
Etienne
--
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc. e-mail: egagnon@j-meg.com
Author of SableCC: http://www.sablecc.org/
and SableVM: http://www.sablevm.org/
- References:
- question
- From: Steve Murphy <murf@e-tools.com>