progs/while/compile.sc
changeset 812 2f9a0dcf61ae
parent 811 86406d70d6f0
child 815 f56d18757526
equal deleted inserted replaced
811:86406d70d6f0 812:2f9a0dcf61ae
   199   println(compile(fib_test, "fib"))
   199   println(compile(fib_test, "fib"))
   200 
   200 
   201 
   201 
   202 
   202 
   203 
   203 
       
   204 
   204 // compiling and running .j-files
   205 // compiling and running .j-files
   205 //
   206 //
   206 // JVM files can be assembled with 
   207 // JVM files can be assembled with 
   207 //
   208 //
   208 //    java -jar jasmin.jar fib.j
   209 //    java -jar jasmin.jar fib.j
   220 }
   221 }
   221 
   222 
   222 @main
   223 @main
   223 def test2() =
   224 def test2() =
   224   run(fib_test, "fib")
   225   run(fib_test, "fib")
   225 
       
   226 
       
   227 
       
   228 
   226 
   229 
   227 
   230 
   228 
   231 /* Jasmin code for reading an integer
   229 /* Jasmin code for reading an integer
   232 
   230