Re:Compiling Scheme to C with flat closure conversion
by Daemmerung on Tuesday December 08, 2009 @05:32PM
(#984783)
The last time I noticed Matt Might's name, it was as a grad student advisee to Olin Shivers-- last surviving keeper of the CPS flame!-- writing a hairy dissertation on control-flow analysis in higher-order programs. So at some level, it amuses to see that this particular didactic-purposes toy compiler does /not/ transform its source into CPS or any variant, and does /not/ perform any control-flow analysis.
[ Parent
| on HN ]
Re:Compiling Scheme to C with flat closure conversion
by Psyonic on Tuesday December 08, 2009 @05:37PM
(#984794)
Having taken a class from Might in the Spring (not this one, but Programming Language Analysis), I can assure you that he is still very much interested in those topics. I can't really speak to this particular class, however.
Re:Compiling Scheme to C with flat closure conversion
by fadmmatt on Tuesday December 08, 2009 @09:00PM
(#985105)
Hold the amusement--the third project for the class is (of course) a Scheme -> CPS -> C compiler:
http://matt.might.net/teaching/fall-2009-advanced-compilatio...
Naturally, students are required to implement call/cc.
And, in my static analysis class last spring, project 2 was CPS conversion + 0CFA:
http://matt.might.net/teaching/spring-2009-programming-langu...
-Matt
Re:Compiling Scheme to C with flat closure conversion
by Daemmerung on Wednesday December 09, 2009 @02:47PM
(#986420)
On behalf of every autodidact here, thank you for publishing those publicly.
Cheers!