Code generation with Scala -


When using the SBT toolchain in Scala, is it possible to write a task that is a special part of the source of the project Generate scale-code in compiling

Is there any ideas or articles / tutorials on this? I'm looking for something similar to Template Haskell.

is a library designed for code generation. tree> tree> tree> tree> tree> tree> tree tree> )

The above code prints two lines:

  Apply (Identify (printline), list (litrels (constant (hello, world!) ) Println ("hello, world!")   

treehanger generates an AST, but does not conform to the AST of Scalek.

Comments