equal
deleted
inserted
replaced
44 val path = os.pwd / fname |
44 val path = os.pwd / fname |
45 val class_name = fname.stripSuffix("." ++ path.ext) |
45 val class_name = fname.stripSuffix("." ++ path.ext) |
46 val tks = tokenise(os.read(path)) |
46 val tks = tokenise(os.read(path)) |
47 val ast = parse_tks(tks) |
47 val ast = parse_tks(tks) |
48 compile_to_file(ast, class_name) |
48 compile_to_file(ast, class_name) |
49 os.proc("java", s"${class_name}/${class_name}").call(stdout = os.Inherit) |
49 os.proc("java", s"${class_name}/${class_name}").call(stdout = os.Inherit, stdin = os.Inherit) |
50 println(s"done.") |
50 println(s"done.") |
51 } |
51 } |
52 |
52 |
53 |
53 |