solutions5/bf.scala
changeset 290 2186e204a26c
parent 264 ecd989eee8bd
child 292 a52987bf44e1
equal deleted inserted replaced
289:08b5ddbc7e55 290:2186e204a26c
     1 // Part 1 about an Interpreter for the Brainf*** language
     1 // Part 1 about an Interpreter for the Brainf*** language
     2 //========================================================
     2 //========================================================
     3 
     3 
     4 object CW10a {  // only for generating the Jar file
     4 object CW10a {  
     5 
       
     6 
     5 
     7 type Mem = Map[Int, Int]
     6 type Mem = Map[Int, Int]
     8 
     7 
     9 
     8 
    10 import io.Source
     9 import io.Source