Skip to content

xeno-by/old-persistence

Repository files navigation

AST persistence

AST persistence for Project Palladium. Along with AST interpreter, this is a key component of the new macro engine that defeats the separate compilation restrictions and makes macro expansions hostable in non-scalac environments (Intellij, runtime reflection, etc). Design notes can be found in the AST Persistence document at Palladium Shared.

How to use

The project is in a very early stage, so it's not supposed to be useful just yet. However, if you're brave enough, we have a nightly build that publishes artifacts to Sonatype. To use the compiler plugin in order to generate the AST files add the following SBT plugin: "org.scalareflect" % "persistence-sbt" % "0.1.0-SNAPSHOT". To use the AST library add the following dependency: "org.scalareflect" % "persistence-library_2.11.0" % "0.1.0-SNAPSHOT".

Releases

No releases published

Packages

No packages published