equal
  deleted
  inserted
  replaced
  
    
    
   229 // and run with  | 
   229 // and run with  | 
   230 //  | 
   230 //  | 
   231 //    java arr/arr  | 
   231 //    java arr/arr  | 
   232   | 
   232   | 
   233 // automating the above  | 
   233 // automating the above  | 
   234 import ammonite.ops._  | 
   234   | 
         | 
   235 // pre-2.5.0 ammonite   | 
         | 
   236 // import ammonite.ops._  | 
         | 
   237   | 
         | 
   238 // post 2.5.0 ammonite  | 
         | 
   239 import $ivy.`com.lihaoyi::os-lib:0.8.0`   | 
         | 
   240 import os._  | 
         | 
   241   | 
   235   | 
   242   | 
   236 def compile_to_file(bl: Block, class_name: String) : Unit =   | 
   243 def compile_to_file(bl: Block, class_name: String) : Unit =   | 
   237   write.over(pwd / s"$class_name.j", compile(bl, class_name))    | 
   244   write.over(pwd / s"$class_name.j", compile(bl, class_name))    | 
   238   | 
   245   | 
   239 def compile_and_run(bl: Block, class_name: String) : Unit = { | 
   246 def compile_and_run(bl: Block, class_name: String) : Unit = { |