Generic protocol builder/parser



Hello everyone.

In my work many people (including me) need to write a parser and/or a
builder for a certain application-layer protocol.
We work with both ASCII and binary protocols. The protocols are
usually dynamic and have many variations according to certain
parameters.

Each programmer implements the needed componenet independently, in a
different style, using different concepts.

Is it reasonable to try and suggest a generic framework for parsing
and building various protocols?
Do you have any suggestions for a concept?
Do you know of any existing framework or tool that might help?

Thanks.
Oshaer.
.



Relevant Pages

  • Re: Generic protocol builder/parser
    ... builder for a certain application-layer protocol. ... We work with both ASCII and binary protocols. ... Is it reasonable to try and suggest a generic framework for parsing ...
    (comp.programming)
  • Re: Generic protocol builder/parser
    ... We work with both ASCII and binary protocols. ... Is it reasonable to try and suggest a generic framework for parsing ... Have a look at yacc which seems to be a reasonable match ... BNF-style input and a parser in C as output. ...
    (comp.programming)