summaryrefslogtreecommitdiff
path: root/app/Frontend.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2022-11-13 00:46:38 +0100
committerMirek Kratochvil <exa.exa@gmail.com>2022-11-13 00:46:38 +0100
commit8d5353dc8c7ef3eefb0ae4860e67602c455c1a58 (patch)
treec668dc93c1dddd517cfd771da5506c2159e6a2c7 /app/Frontend.hs
parent9d7868431792dcd94ec71adb9f95f55ab4bf027d (diff)
downloadprlg-8d5353dc8c7ef3eefb0ae4860e67602c455c1a58.tar.gz
prlg-8d5353dc8c7ef3eefb0ae4860e67602c455c1a58.tar.bz2
builtins are built in
Diffstat (limited to 'app/Frontend.hs')
-rw-r--r--app/Frontend.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Frontend.hs b/app/Frontend.hs
index 0677889..b1ae79a 100644
--- a/app/Frontend.hs
+++ b/app/Frontend.hs
@@ -87,4 +87,10 @@ interpreter :: InputT IO ()
interpreter =
evalStateT
interpreterStart
- (Interp {defs = M.empty, ops = [], strtable = IR.emptystrtable, cur=error "no cur", cho=[]})
+ (Interp
+ { defs = M.empty
+ , ops = []
+ , strtable = IR.emptystrtable
+ , cur = error "no cur"
+ , cho = []
+ })