Skip to content
Scala Compiler plugin/macros to host Scalan inside Scala compiler for domain-specific hotspot compilation
Scala
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea/libraries
project
src/main
.gitignore
README.md

README.md

scalanizer

Scalanizer is a new frontend for Scalan framework. It is implemented as a Plugin for Scala compiler.

Plugin supports the following option which can be set up in ScalanPluginConfig class.

  • save = true instructs the plugin to save all the generated boilerplate in the files
  • read = true instructs the plugin to read all the generated boilerplate from files, which was previously generated.

These options allow to debug both the plugin and generated code. If the project is opened in some IDE the generated code is indexed together with the other files of the project and thus all code navidation commands step by step debugging work.

setup

Clone this repository using git clone command. Run sbt and then execute publishLocal command which will generate fat jar file of the plugin.

If you set -P:scalan:debug additional compiler options you also need to specify a directory for debug output by setting ScalanPluginConfig.home.

You can’t perform that action at this time.