Lightweight Modular Staging (LMS) is a runtime code generation approach. This framework, LMS-Core, provides a library of core components for building high performance code generators and embedded compilers in Scala.
Closely related projects are Delite, a framework for heterogeneous parallel domain specific languages (DSLs), and Scala-Virtualized, a set of minimal extensions to the Scala compiler to make embedding DSLs more seamless.
-
Install the simple build tool (SBT). You will need version 0.12.0 of sbt-launch.jar. Follow the installation instructions on the SBT website.
-
Run
sbt test
to run the test suite. -
Run
sbt publish-local
to install LMS-Core for use in other projects.