The strings are machine generated, but they come from many sources I
can't trust. I'll mess a bit with the lexer, after all the syntax will be very
straightforward and the real job is the semantic/intepretation thing.
BTW is there some documentation online about lexer states in SableCC or
it's better not to waste time on that and wait for SableCC4?
--
jacg
PS: I realized the thing about standard-corporate-footer seconds later!
----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Etienne M. Gagnon
Enviado el: MiƩrcoles, 27 de Agosto de 2008 06:46 a.m.
Para: Discussion mailing list for the SableCC project
Asunto: Re: Line lexer...
Hi Javier,
I agree with Seth and Rowan; a hand written lexer will be easier to write and
maintain. Maybe SableCC4 will change that, but I am not sure. Parsing tools are
particularly useful for recovering structure in texts. When you already have
structured data (which is usually the case of binary files), the added value is
less. I guees that, in that case, it mostly depends on whether the generated
AST classes add value or not.
Have fun!
Etienne
PS: I guess that you are aware that this mailing list is public. A
confidentiality addendum does not make much sense.
Javier Abdul Cordoba Gandara wrote:
> Hi all. I've been using SableCC for quite some time now. Now I'm
> facing a project where I need to process lines of data that represent
> transactions in very fixed formats [...]
--
Etienne M. Gagnon, Ph.D.
SableCC: http://sablecc.org
SableVM: http://sablevm.org
_______________________________________________
SableCC-Discussion mailing list
[email protected]
http://lists.sablecc.org/listinfo/sablecc-discussion