Thread: Parsing RFC822

  1. #1
    Samuel shiju's Avatar
    Join Date
    Dec 2003

    Parsing RFC822

    Is any one know some lex/yacc grammar for parsing rfc822 as it looks very horrifying to write a parser from scratch in C.
    Be conservative in what you do, be liberal in what you accept from others.
    RFC 793, "Transmission Control Protocol."

  2. #2
    Registered User
    Join Date
    Aug 2003
    I don't know of any offhand, but you should be able to find some GNU software implementing some subset of rfc822. That said, how famaliar are you with lex and yacc? Writing the lexical and the grammar file is not so horrifying if the specification is detailed well.
    Last edited by okinrus; 11-06-2004 at 07:47 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need sth about parsing
    By Masterx in forum C++ Programming
    Replies: 6
    Last Post: 11-07-2008, 12:55 AM
  2. draw tree graph of yacc parsing
    By talz13 in forum C Programming
    Replies: 2
    Last Post: 07-23-2006, 01:33 AM
  3. Parsing a formula
    By ashkya in forum C Programming
    Replies: 2
    Last Post: 02-27-2006, 08:39 AM
  4. Parsing for Dummies
    By MisterWonderful in forum C++ Programming
    Replies: 4
    Last Post: 03-08-2004, 05:31 PM
  5. I hate string parsing with a passion
    By DavidP in forum A Brief History of
    Replies: 2
    Last Post: 03-19-2002, 07:30 PM