equal
deleted
inserted
replaced
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 //===================================================== |