Path: utzoo!attcan!uunet!aplcen!samsung!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!rutgers!att!watmath!watserv1!ria!ria.ccs.uwo.ca!yukngo From: yukngo@obelix.gaul.csd.uwo.ca (Cheung Yukngo) Newsgroups: comp.lang.perl Subject: Recursive descent parsers in perl? Message-ID: Date: 28 Jun 90 09:03:54 GMT Sender: news@ria.ccs.uwo.ca Distribution: comp Organization: University of Western Ontario Lines: 7 When I was writing a perl program to parse rfc822 mail headers, I noticed that the grammar to describe the header is actually context-free. The comments in a header are delimited by "(" and ")" and can be nested. Using regular expressions to recognize them may or may not be painful; but I wonder how difficult it is to have a general recursive descent parser generator facility in perl. Am I asking too much?