max-leuthaeuser / scrollannotations   0.0.1

GNU Lesser General Public License v3.0 only GitHub

This project contains annotations supporting SCROLL.

Scala versions: 2.12

SCROLLAnnotations

This project contains annotations supporting SCROLL.

1. Edit, develop and build:

  1. Clone this repo.
  2. Use JDK 17+.
  3. Intellij IDE: use the built-in import SBT project functionality.
  4. Invoke sbt package. The resulting jar is stored under target/scala-3.8.3/.

2. Use the annotation library:

  1. Add "com.github.max-leuthaeuser" %% "scrollannotations" % "0.1.0" to your sbt configuration as dependency.
  2. Enable Scala 3 experimental language support with scalacOptions += "-experimental".
  3. Use @Inspect on a SCROLL role or compartment class to prewarm reflection caches without Scala 2 macro paradise.