lean4-htt/tests/lean/run/parseCore.lean
2020-09-26 19:12:01 -07:00

11 lines
335 B
Text

import Lean.Parser
new_frontend
def test : IO Unit :=
if System.Platform.isWindows then
pure () -- TODO investigate why the following doesn't work on Windows
else do
let env ← Lean.mkEmptyEnvironment;
Lean.Parser.parseFile env (System.mkFilePath ["..", "..", "..", "src", "Init", "Core.lean"]);
IO.println "done"
#eval test