Re: Three address code, named variables

2002-02-15 Thread Robert Eaglestone
> >If people have different opinions on intermediate code generation [...] > > I have been working in a compiler for an intermediate language that I call > P-- (obviously inspired in C--) for now. [...] I find it encouraging and exciting that people are already building useful middlecode on top o

RE: Three address code, named variables

2002-02-15 Thread Angel Faus
Hello, >If people have different opinions on intermediate code generation, I'd >like to hear them, since I've only done toy compilers in school which >always used 3address or quadruples. I have been working in a compiler for an intermediate language that I call P-- (obviously inspired in C--) fo

Three address code, named variables

2002-02-15 Thread Melvin Smith
See if this has any value, I thought it might. For a toy compiler I'm working on, I also started a trivial translator that does three address code -> Parrot assembler. While its currently a very simple script, I'm making it do named lexicals, named globals and register tracking. Then it'd be nice