Skip to content

echojc/scala-macro-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala-macro-template

Template for getting up and running with macros in no time.

Scala macros must be compiled separately from the code that uses it. This template contains a subproject for writing macros that the main project then depends upon.

The build file is based on the one found in the SBT docs here: http://www.scala-sbt.org/0.13.0/docs/Detailed-Topics/Macro-Projects.html

To compile and run everything, simply use sbt run.

Uses scala 2.11.2 without Macro Paradise. Tested with sbt 0.13.0.

There is an example on the branch complete-example: https://github.com/echojc/scala-macro-template/tree/complete-example

About

Template for getting up and running with macros in no time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages