[Soot-list] what happens if you mix Scala ASTs with Jimple?
Garcia Gutierrez Miguel Alfredo
miguelalfredo.garcia at epfl.ch
Thu Jun 30 11:36:02 EDT 2011
Hi,
Not much, only that you get a stackless, 3-address-like, fully typed, representation.
Hint: Perhaps an interoperation facility Soot-ScalaASTs can come out of this.
And given that the conversion from an expression language into a Jimple-like language takes place within the compilation pipeline (which can be extended via compiler plugins) you've got at your disposal all the Scala compiler goodies you might need. Including the Parallel Collections framework [1] (no, really, just pass a closure and fork/join will kick in).
Check it out!
The PDF at
http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/2011Q2/Moving3A.pdf
is the technical documentation for the sources at
http://lampsvn.epfl.ch/trac/scala/browser/scala-experimental/trunk/imp/src
Compiler plugin stuff
http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded/
If you want to use this plugin *today*, please notice [2] (that came to light during the development of this plugin). Alternatively, the plugin sources show how to workaround that.
[1] http://infoscience.epfl.ch/record/165523/files/techrep.pdf
[2] http://issues.scala-lang.org/browse/SI-4738
--
Miguel Garcia
Swiss Federal Institute of Technology
EPFL - IC - LAMP1 - INR 328 - Station 14
CH-1015 Lausanne - Switzerland
http://lamp.epfl.ch/~magarcia/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20110630/80cae8cf/attachment.html
More information about the Soot-list
mailing list