Re: Noob parser question

Hans-Peter Diettrich <DrDiettrich1@aol.com>
Thu, 28 Feb 2008 18:10:50 +0100

          From comp.compilers

Related articles
Noob parser question imissfloppydisks@gmail.com (2008-02-27)
Re: Noob parser question DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-02-28)
Re: Noob parser question max@gustavus.edu (Max Hailperin) (2008-02-28)
Re: Noob parser question gene.ressler@gmail.com (Gene) (2008-02-28)
Re: Noob parser question imissfloppydisks@gmail.com (2008-02-28)
| List of all articles for this month |
From: Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups: comp.compilers
Date: Thu, 28 Feb 2008 18:10:50 +0100
Organization: Compilers Central
References: 08-02-094
Keywords: parse
Posted-Date: 29 Feb 2008 01:20:45 EST

imissfloppydisks@gmail.com wrote:


> It is intended to parse simple arithmetic expressions taking into
> account the precedence of operators. What I don't understand is why
> you parse the operators with lower precedence first.


Look at the ends instead of the starts. What has been started first,
will terminate (and execute) last.


DoDi



Post a followup to this message

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