Fix parsing and rendering issues, all but 3 of aoc2024 work.

This commit is contained in:
2025-01-05 11:08:42 -08:00
parent 0dbc5d5ee7
commit 9262fa8b27
5 changed files with 64 additions and 4 deletions

View File

@@ -30,5 +30,8 @@ pfunc writeFile uses (fs MkIORes MkUnit) : String → String → IO (Either Stri
}`
-- maybe System.exit or something, like the original putStrLn msg >> exitFailure
pfunc exitFailure : a. String a := `(_, msg) => { throw new Error(msg) }`
pfunc exitFailure : a. String a := `(_, msg) => {
console.log(msg);
process.exit(1);
}`