Skip to content

Scala Compiler plugin/macros to host Scalan inside Scala compiler for domain-specific hotspot compilation

Notifications You must be signed in to change notification settings

scalan/scalanizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Scala Compiler plugin/macros to host Scalan inside Scala compiler for domain-specific hotspot compilation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages