|parsers for decoding network protocols? email@example.com (Scott Finnie) (2002-05-27)|
|Re: parsers for decoding network protocols? firstname.lastname@example.org (Mr Kennie Nybo Pontoppidan) (2002-05-31)|
|Re: parsers for decoding network protocols? email@example.com (Joachim Durchholz) (2002-06-02)|
|From:||"Scott Finnie" <firstname.lastname@example.org>|
|Date:||27 May 2002 21:10:46 -0400|
|Posted-Date:||27 May 2002 21:10:46 EDT|
I'm looking into the above; specifically, decoding incoming streams.
This seems very similar to parsing text files, so I was wondering:
. Does anyone use existing parser generator toolkits for
this kind of task?
. If so, any recommendations/tips/warnings etc.?
Performance shouldn't be an issue; data will be coming over very low
bandwidth connections. The interest in toolkits is simply because
there are lots of different protocols to handle, and I don't fancy
hand-writing parsers for each.
The only significant differences I can see between this and parsing
file data are:
1. data source is a connection rather than a file (OK, since it can
be abstracted to a stream I think?)
2. tokens will be 8 bit rather than 7 bit ascii (OK, as long as
toolkit allows definition via e.g. escape codes?)
Development & target environments are NT/2K/XP and C/C++. Free
toolkits preferable, although commercial also considered.
Return to the
Search the comp.compilers archives again.