See test cases for examples.
sbt repl/run
ojaml> 1 + 1
res3: int = 2
ojaml> data EitherI = L Int | R Int ;
ojaml> let l = L 10 ;
l: EitherI = L 10
ojaml> match l | R x => "r" | L x => "l" ;
res2: java.lang.String = l
ojaml> let x = 1 + 2 ;
x: int = 3
ojaml> let f x = x * 2 ;
f: int -> int = ojaml.repl.Repl_5$1@141d30da
ojaml> f (x + 1)
res6: int = 8