NON-recursive descent expression parsing

Marlin Prowell <mbp@nyssa.wa7ipx.ampr.org>
Thu, 4 Nov 1993 18:41:16 GMT

          From comp.compilers

Related articles
Transparent recursive descent doug@netcom.com (1993-11-01)
NON-recursive descent expression parsing mbp@nyssa.wa7ipx.ampr.org (Marlin Prowell) (1993-11-04)
Re: NON-recursive descent expression parsing grunwald@foobar.cs.colorado.edu (1993-11-13)
| List of all articles for this month |
Newsgroups: comp.compilers
From: Marlin Prowell <mbp@nyssa.wa7ipx.ampr.org>
Keywords: parse, code
Organization: Compilers Central
References: 93-11-012
Date: Thu, 4 Nov 1993 18:41:16 GMT

Doug Merritt (doug@netcom.com) recently posted a expression parser that
has just two core functions. Dave Hanson describes this same scheme in
"Compact Recursive-descent Parsing of Expressions", Software - Practice
and Experience, December 1985. The article includes the algorithm
written in C. BTW, this technique is used in lcc.


I remember reading another article, in response to Dave Hanson's
article, that described a technique for parsing expressions and
building an AST without using recursive descent. As I recall, it
rotated nodes in the tree, but I cannot find this article. Does anyone
have a reference?
--
| Marlin Prowell
| mbp@nyssa.wa7ipx.ampr.org
--


Post a followup to this message

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