[Soot-list] Shimple -> Continuation Passing Style

Chris Pickett chris.pickett at mail.mcgill.ca
Mon Jan 29 22:42:55 EST 2007


J Malcolm wrote:
> Chris Pickett <chris.pickett at mail.mcgill.ca> writes:
> 
>> 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.
> 
> Good idea, but I'd rather avoid even having to transform Java source all
> the way through to SSA on my own, probably the bulk of the toy CPS
> project.  Your suggestion would be a good way to experiment with SSA ->
> CPS, but I just want to avoid the extra development time.

Oh no, I was thinking that your input files could be directly parsed 
into the toy SSA IR.  Some small examples would get you a long way.

Cheers,
Chris


More information about the Soot-list mailing list