equal
deleted
inserted
replaced
156 |
156 |
157 |
157 |
158 |
158 |
159 // Reading tokens and Writing parse trees |
159 // Reading tokens and Writing parse trees |
160 |
160 |
161 import ammonite.ops._ |
161 // pre-2.5.0 ammonite |
|
162 // import ammonite.ops._ |
|
163 |
|
164 // post 2.5.0 ammonite |
|
165 import $ivy.`com.lihaoyi::os-lib:0.8.0` |
162 |
166 |
163 def parse_tks(tks: List[Token]) : List[Decl] = |
167 def parse_tks(tks: List[Token]) : List[Decl] = |
164 Prog.parse_single(tks) |
168 Prog.parse_single(tks) |
165 |
169 |
166 //@doc("Parses a file.") |
170 //@doc("Parses a file.") |