Are there any differences/similarities between protocol vs language
parsers ? For eg, can one write a parser for IP (just example) using
tools like lex,yacc etc ? In particular, my interest is in writing a
parser for SDP protocol.
[It's not very different, except that you're typically parsing the bytes
directly rather than lexing them into tokens first. -John]