solution/cw5/fun_parser.sc
changeset 867 42256f8cc2b7
parent 864 a24633510c0a
child 868 b0acb8741b16
equal deleted inserted replaced
866:33232fc4513a 867:42256f8cc2b7
   198 
   198 
   199 
   199 
   200 
   200 
   201 // Reading tokens and Writing parse trees
   201 // Reading tokens and Writing parse trees
   202 
   202 
   203 import ammonite.ops._
   203 //import ammonite.ops._
   204 
   204 
   205 def parse_tks(tks: List[Token]) : List[Decl] = {
   205 def parse_tks(tks: List[Token]) : List[Decl] = {
   206   //println(Prog.parse(tks))
   206   //println(Prog.parse(tks))
   207   Prog.parse_single(tks)
   207   Prog.parse_single(tks)
   208 }
   208 }