summaryrefslogtreecommitdiff
path: root/app/Code.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-02-18 22:13:39 +0100
committerMirek Kratochvil <exa.exa@gmail.com>2023-02-18 22:13:39 +0100
commitc412d643a1980f89dd7b8c2e05999ed04e3d6c26 (patch)
treeb4bc21f61f7cf30deb3d29755d0a87ead2855ba0 /app/Code.hs
parentf58bde237fe48531722bb5b7ccb8f8e4e5bd2990 (diff)
downloadprlg-c412d643a1980f89dd7b8c2e05999ed04e3d6c26.tar.gz
prlg-c412d643a1980f89dd7b8c2e05999ed04e3d6c26.tar.bz2
macros
Diffstat (limited to 'app/Code.hs')
-rw-r--r--app/Code.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Code.hs b/app/Code.hs
index 709b309..9e1f453 100644
--- a/app/Code.hs
+++ b/app/Code.hs
@@ -62,6 +62,7 @@ data Interp =
, cho :: [Cho] -- remaining choice points
, ops :: Ops -- currently defined operators
, opstash :: [Ops] -- saved operators
+ , macrostash :: [(Maybe [Code], Maybe [Code])] -- saved expansion defs (load, query)
, strtable :: StrTable -- string table
, cmdq :: [(Bool, PAST)] -- isQuery, lexemes
}