[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line lexer...
On Tue, Aug 26, 2008 at 11:21:09PM +0800, 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 (spaces are showed only for simplicity):
>
> FI 0001a 0104abcde 0209123456789 0302aa SE 0002ab
I'm presuming a format like that isn't hand edited. Why on earth would
you be worried about a lexer or parser (or XML!) when you have such a
simple unmarshalling job?
-Rowan