templates5/bf.scala
changeset 285 475c39725698
parent 231 26b5a843c696
child 338 b4b059aea3fc
equal deleted inserted replaced
284:fc20e5f83f0e 285:475c39725698
     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 }