csdw@alpha.cs.ru.ac.za (Dave Williams) (03/26/91)
In an attempt to optimize a functional language, I would like to turn the stack based intermediate code into three address code. Has anyone done similar conversions? Any references would be greatly appreciated. Dave Williams (Internet: alpha.cs.ru.ac.za) [I'd think the easiest way would be to build an expression tree from the RPN code, then walk it to produce the quads. The "dragon book" says a lot about generating and manipulating three address code. -John] -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.