templates5/bf.scala
changeset 285 bd9d142d2cd8
parent 231 eecbc9ae73c2
child 338 a1dc57326356
equal deleted inserted replaced
284:9a04eb6a2291 285:bd9d142d2cd8
     1 // Part 1 about an Interpreter for the Brainf*** language
     1 // Core Part about an Interpreter for 
     2 //========================================================
     2 // the Brainf*** language
       
     3 //==============================================
       
     4 
       
     5 
       
     6 object CW10a {
     3 
     7 
     4 
     8 
     5 // representation of Bf memory 
     9 // representation of Bf memory 
     6 
    10 
     7 type Mem = Map[Int, Int]
    11 type Mem = Map[Int, Int]
   190 }
   194 }
   191 
   195 
   192 time_needed(1, run(b1))
   196 time_needed(1, run(b1))
   193 */
   197 */
   194 
   198 
       
   199 }