Related articles |
---|
multiple unary operators problem zaharije.pasalic@pmf.unsa.ba (2005-10-13) |
Re: multiple unary operators problem jatin.bhateja@amdocs.com (Jatin Bhateja) (2005-10-14) |
Re: multiple unary operators problem cfc@shell01.TheWorld.com (Chris F Clark) (2005-10-14) |
Re: multiple unary operators problem kenrose@tfb.com (Ken Rose) (2005-10-20) |
From: | zaharije.pasalic@pmf.unsa.ba |
Newsgroups: | comp.compilers |
Date: | 13 Oct 2005 20:35:22 -0400 |
Organization: | http://groups.google.com |
Keywords: | parse, question |
Posted-Date: | 13 Oct 2005 20:35:22 EDT |
I develop simple compiler but what I really want is to play games with
optimization. For now the compiler has 4 passes (I know that is not so
effective, but code is more readable) like:
1. parse tree generation
2. type checking
3. p-code generation
4. asm generation
Now I want to build optimization for p-code.
Questions are:
1) What is a good structure for basic blocks (in flow graph I think)?
2) Is it good to build basic blocks in a p-code pass or to build it from
p-code directly (both books that I have build blocks in different
passes)?
Thanks,
Zaharije Pasalic
Return to the
comp.compilers page.
Search the
comp.compilers archives again.