Re: Constant expression evaluation?

Niksa Orlic <norlic@fly.srk.fer.hr>
29 May 2003 03:21:51 -0400

          From comp.compilers

Related articles
Constant expression evaluation? mdhe51ATdialDOTpipexDOTcom@eu.uu.net (Paul Davis) (2003-05-14)
Re: Constant expression evaluation? christian.bau@cbau.freeserve.co.uk (Christian Bau) (2003-05-16)
Re: Constant expression evaluation? chaos@vcc.de (Dierk Ohlerich) (2003-05-16)
Re: Constant expression evaluation? clint@0lsen.net (Clint Olsen) (2003-05-18)
Re: Constant expression evaluation? norlic@fly.srk.fer.hr (Niksa Orlic) (2003-05-29)
Re: Constant expression evaluation? camille@bluegrass.net (david lindauer) (2003-05-29)
| List of all articles for this month |
From: Niksa Orlic <norlic@fly.srk.fer.hr>
Newsgroups: comp.compilers
Date: 29 May 2003 03:21:51 -0400
Organization: CARNet, CROATIA
References: 03-05-089
Keywords: optimize
Posted-Date: 29 May 2003 03:21:51 EDT

A year ago I wrote a compiler (part of my student project) with
constant expression evaluation. My compiler generated intermediate
code in postfix notation; that postfix code was then optimized and
Java bytecode was generated from the intermediate code.


As I understand, your compiler generates some sort of postfix
code. The idea is to run this code through the optimizer after it is
created, the optimizer will then produce optimized code.


I'll email you the algorithm of the optimizer, if anyone else here is
interested in it, contact me by email for the algorithm.


Regards,
Niksa


Post a followup to this message

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