massimiliano cialdi <massimiliano.cia...@powersoft.com> writes:
> I would like to use a parser generator (like bison) or an SDP parser
> already written. Could you give me a suggestion?

Google gives me 400,000 hits for "sdp parser".  The first one is
https://github.com/clux/sdp-transform "A simple parser/writer for SDP".
There are likely to be others.

> bison supports yacc-type grammars (essentially a BNF). Do you know of
> a grammar translator from ABNF to BNF (even online)?

I don't know of one.  OTOH, translating ABNF into BNF by hand is simple
if you understand both.  And if you are going to do anything practical
with your parser, you will need to make minor modifications, which will
require that you understand well what your grammar is doing.

So I would start with studying the ABNF documentation (RFC 5234 and
possibly RFC 7405) and the Bison documentation.

Dale
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to