src/HOL/Codegenerator_Test/Code_Test_Scala.thy
author Andreas Lochbihler
Tue, 16 Sep 2014 16:04:08 +0200
changeset 58348 2d47c7d10b62
parent 58039 469a375212c1
child 58520 a4d1f8041af0
permissions -rw-r--r--
add target language evaluators for the value command; drop obsolete command eval_term

(*  Title:      Code_Test_Scala.thy
    Author:     Andreas Lochbihler, ETH Zurich

Test case for test_code on Scala
*)

theory Code_Test_Scala imports Code_Test begin 

test_code "14 + 7 * -12 = (140 div -2 :: integer)" in Scala

value [Scala] "14 + 7 * -12 :: integer"

end