Interpreter for scalameta syntax trees.
You can run scalameta-interpreter from the command line. Simply
download org.scalameta.interpreter
jar file and launch it from
the command line:
scala -cp scalameta-interpreter.jar org.scalameta.interpreter.Main A.scala
This will interpret file A.scala
and print result
to the command line.
Unfortunately, scalameta-interpreter needs a semantic information which scalameta can not provide. So you need to annotate your code with semantic information before scalameta-interpreter can interpret it. Example is available here.