equal
deleted
inserted
replaced
5 // |
5 // |
6 // Call with |
6 // Call with |
7 // |
7 // |
8 // amm compile_arrays.sc |
8 // amm compile_arrays.sc |
9 |
9 |
|
10 //> using toolkit latest |
|
11 |
10 |
12 |
11 // the abstract syntax trees for WHILE |
13 // the abstract syntax trees for WHILE |
12 |
14 |
13 abstract class Stmt |
15 abstract class Stmt |
14 abstract class AExp |
16 abstract class AExp |
232 println(s"done.") |
234 println(s"done.") |
233 } |
235 } |
234 |
236 |
235 |
237 |
236 |
238 |
237 @main def main() = { |
239 //@main def main() = { |
238 compile_and_run(array_test, "arr") |
240 // compile_and_run(array_test, "arr") |
239 } |
241 //} |
240 |
242 |
241 |
243 |
242 |
244 |
243 |
245 |
244 |
246 |