fix runtime parsing lol
build / build (push) Failing after 1m35s

This commit is contained in:
2026-09-05 20:22:07 -06:00
parent c495fc064a
commit d1588bd917
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -173,6 +173,7 @@ evalVal :: Env -> Val -> M Answer E
evalVal g (ValVar x) = var g x >>= fetch
evalVal g (ValImm imm) = pure case imm of
ImmLabel l -> error [i|#{l}|]
ImmInt n -> EInt n
ImmBool b -> EBool b
ImmUndefined -> EUndefined
+2 -2
View File
@@ -54,8 +54,8 @@ runtimeValues = ["stackify","wasm","cps","none"]
runtimeReader = maybeReader \case
"stackify" -> Just (Just Stackify)
"wasm" -> Just (Just Wasm)
"cps" -> Just (Just CPS)
("cps2";"higher-order-cps") -> Just (Just CPS)
"cps1" -> Just (Just CPS)
("cps";"higher-order-cps") -> Just (Just HigherOrderCPS)
"none" -> Just Nothing
_ -> Nothing