Parsers: Language vs Protocol

Chetan Vora <chet_vora@hotmail.com>
30 Nov 2000 12:04:37 -0500

          From comp.compilers

Related articles
Parsers: Language vs Protocol chet_vora@hotmail.com (Chetan Vora) (2000-11-30)
| List of all articles for this month |

From: Chetan Vora <chet_vora@hotmail.com>
Newsgroups: comp.compilers,comp.protocols.misc
Date: 30 Nov 2000 12:04:37 -0500
Organization: Lucent Technologies, Columbus, Ohio
Keywords: parse, question
Posted-Date: 30 Nov 2000 12:04:37 EST

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.


TIA,
Chet
[It's not very different, except that you're typically parsing the bytes
directly rather than lexing them into tokens first. -John]





Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.