This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Programmatic Scala AST instantiation and further compilation

No replies
mshtelma
Joined: 2009-01-30,
User offline. Last seen 42 years 45 weeks ago.

Hello,

Is it possible to implement subj?

I am currently working on the project that has some part where the
programming logic generation is needed. So I have thought about generating
java code using some libraries like Janino, or instantiating Java AST using
Eclipse JDT library.. or direct bytecode generation with ASM or something
like that....

then I have thought that I can use Scala for this.... Are there any Scala
AST libraries? I would like to instantiate it Scala AST and then compile it
to bytecode or msil. Do you find it possible to do? and how hard it cab be?

Thank you in advance :))))))

Sincerely,
Michael Shtelma

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland