[Soot-list] Shimple -> Continuation Passing Style

Chris Pickett chris.pickett at mail.mcgill.ca
Mon Jan 29 21:29:30 EST 2007


J Malcolm wrote:
> Any tips on how would I go about starting to design an IR?  It isn't
> very clear to me how to transform from Shimple.  Any source you'd
> suggest looking through?

I'm not sure, but Java is pretty complicated.  Maybe what you want to do 
is create a toy SSA IR with SableCC, that looks like a stripped down 
Shimple, and then write your own simple dataflow framework and convert 
the toy SSA to a toy CPS IR.  Once you've got that figured out, you'll 
have a better idea as to how you can approach Shimple.

Just my immediate thoughts.

Cheers,
Chris


More information about the Soot-list mailing list