Re: Compiling expressions

Horst von Brand <vonbrand@inf.utfsm.cl>
Mon, 14 Jan 2013 16:31:02 -0300

          From comp.compilers

Related articles
[5 earlier articles]
Re: Compiling expressions matzebraun@googlemail.com (matzebraun@googlemail.com) (2013-01-03)
Re: Compiling expressions torbenm@diku.dk (2013-01-03)
Re: Compiling expressions james.harris.1@gmail.com (James Harris) (2013-01-03)
Re: Compiling expressions james.harris.1@gmail.com (James Harris) (2013-01-03)
Re: Compiling expressions mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2013-01-04)
Re: Compiling expressions james.harris.1@gmail.com (James Harris) (2013-01-06)
Re: Compiling expressions vonbrand@inf.utfsm.cl (Horst von Brand) (2013-01-14)
Re: Compiling expressions james.harris.1@gmail.com (James Harris \(es\)) (2013-03-07)
| List of all articles for this month |

From: Horst von Brand <vonbrand@inf.utfsm.cl>
Newsgroups: comp.compilers
Date: Mon, 14 Jan 2013 16:31:02 -0300
Organization: Compilers Central
References: 12-12-035 12-12-036 13-01-006
Keywords: parse
Posted-Date: 14 Jan 2013 14:57:29 EST

James Harris said:


> Compiling expressions is turning out to be more 'interesting' than I
> anticipated! My requirements I believe to be fairly generic but they seem
> not to be supported by standard algorithms so it's not as simple as it
> might be.


Your requirements seem to match operator precedence parsing closely.
Look at <http://en.wikipedia.org/wiki/Operator-precedence_parser>.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile 2340000 Fax: +56 32 2797513



Post a followup to this message

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