Skip to content

Releases: eed3si9n/eval

0.3.0

25 Nov 07:10
v0.3.0
34ade85
Compare
Choose a tag to compare

Eval 0.3.0 is cross published to the following build matrix:

Scala Version JVM
3.3.1
3.3.3
3.4.0

update

Full Changelog: v0.2.0...v0.3.0

0.2.0

02 Oct 00:41
v0.2.0
fc91162
Compare
Choose a tag to compare

Eval evaluates Scala 3 code. Eval 0.2.0 is cross published for Scala 3.1.3 and 3.2.0.
See https://eed3si9n.com/eval/

Bug fixes

New Contributors

Full Changelog: v0.1.0...v0.2.0

0.1.0

01 Oct 23:33
v0.1.0
Compare
Choose a tag to compare

Eval evaluates Scala 3 code. It’s a Scala 3 port of Eval class used in sbt.

package example

import com.eed3si9n.eval.Eval
import com.eed3si9n.eval.EvalReporter
import java.nio.file.Paths

@main def main(): Unit =
  val eval = Eval(
    backingDir = Paths.get("/tmp/classes"),
    mkReporter = () => EvalReporter.store
  )
  val result = eval.evalInfer("2")
  println(result.tpe)
  println(result.getValue(this.getClass.getClassLoader))

The above prints:

Int
2

See https://eed3si9n.com/eval/ for more details.