stacycurl / reify   0.1

GitHub

Convert Scala values to code snippets.

Scala versions: 2.12

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.