stacycurl / reify Edit

Convert Scala values to code snippets.

Version Matrix

Reify

Build Status Release Artifacts Maven Central

Reify is a library for converting values into code

@deriving(Reify)
case class Person(name: String, age: Int)

RConsole.out.println(Person("bob", 23))

should print

  Person("bob", 23)

i.e. a string that when evaluated as code produces the original value.