equal
deleted
inserted
replaced
18 { |
18 { |
19 /* Pure */ |
19 /* Pure */ |
20 |
20 |
21 def pure_name(name: String): Boolean = name == "Pure" |
21 def pure_name(name: String): Boolean = name == "Pure" |
22 |
22 |
23 val pure_roots: List[Path] = List("ROOT0.ML", "ROOT.ML", "ROOT1.ML").map(Path.explode(_)) |
23 val pure_roots: List[String] = List("ROOT0.ML", "ROOT.ML", "ROOT1.ML") |
24 |
24 |
25 def pure_files(dir: Path): List[Path] = |
25 def pure_files(resources: Resources, syntax: Outer_Syntax, dir: Path): List[Path] = |
26 (pure_roots ::: pure_roots.flatMap(root => ML_Root.read_files(dir + root))).map(dir + _) |
26 { |
|
27 val loaded_files = |
|
28 pure_roots.flatMap(root => |
|
29 resources.loaded_files(syntax, File.read(dir + Path.explode(root)))) |
|
30 (pure_roots ::: loaded_files).map(file => dir + Path.explode(file)) |
|
31 } |
27 |
32 |
28 |
33 |
29 /* info */ |
34 /* info */ |
30 |
35 |
31 sealed case class Info( |
36 sealed case class Info( |