Literals
Literals are the basic foundation of treehugger DSL. Numeric literals, String, and symbols are written by wrapping a Scala literal with LIT():
import treehugger.forest._, definitions._, treehuggerDSL._
LIT(1) // Int
LIT(1L) // Long
LIT(1.23) // Double
LIT(1.23F) // Float
LIT('H') // Char
LIT("H") // String
LIT('Sym) // scala.Symbol
Boolean literals, (), and null are written as follows:
TRUE // true
FALSE // false
NULL // null
UNIT // ()