main_templates5/bf.scala
changeset 429 126d0e47ac85
parent 428 cdfa6a293453
equal deleted inserted replaced
428:cdfa6a293453 429:126d0e47ac85
    44 // (4) 
    44 // (4) 
    45 
    45 
    46 def compute(prog: String, pc: Int, mp: Int, mem: Mem) : Mem = ???
    46 def compute(prog: String, pc: Int, mp: Int, mem: Mem) : Mem = ???
    47 
    47 
    48 def run(prog: String, m: Mem = Map()) = ???
    48 def run(prog: String, m: Mem = Map()) = ???
       
    49 
       
    50 // (5)
       
    51 def generate(msg: List[Char]) : String = ???
    49 
    52 
    50 
    53 
    51 
    54 
    52 // some sample bf-programs collected from the Internet
    55 // some sample bf-programs collected from the Internet
    53 //=====================================================
    56 //=====================================================