Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!vixie From: vixie@decwrl.dec.com (Paul A Vixie) Newsgroups: comp.lang.perl Subject: Re: Recursive descent parsers in perl? Message-ID: Date: 30 Jun 90 15:52:04 GMT References: Sender: news@wrl.dec.com (News) Distribution: comp Organization: DEC Western Research Lab Lines: 10 In-Reply-To: yukngo@obelix.gaul.csd.uwo.ca's message of 28 Jun 90 09:03:54 GMT Recursive-descent parsers are hard unless you can implement a "get next token" operator. Even "get next character" is helpful. Perl doesn't have an easy way to do either, though somewhere among the thousands of messages in Larry's "look at it someday" mail folder, he has several from me suggesting ways to tokenizing fairly elegantly. What's needed is something like "split" only inside-out and backwards. Larry? -- Paul Vixie DEC Western Research Lab Palo Alto, California ...!decwrl!vixie