Hi Stefan, I think there is a lint rule that does that: TempNotRead ... I don't have an image at hand, but I can check tonight if you haven't found it until then. Lukas On 9 December 2011 16:29, Stefan Marr <pharo@stefan-marr.de> wrote:
Hi all, Hi Lukas:
Do you know if anyone ever implemented a rewriter for the RB AST that reduces the amount of temporary variables if possible?
I have a naive rewriting step that creates too many temps, but some of them are not strictly necessary.
However, currently, I run into 'Cannot compile -- stack including temps is too deep' which is, well, ehm, not so nice.
In case anyone has something in that direction, I would be interested.
Thanks Stefan
-- Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: Â +32 2 629 3525
-- Lukas Renggli www.lukas-renggli.ch