summaryrefslogtreecommitdiff
path: root/app/Code.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-01-24 23:35:06 +0100
committerMirek Kratochvil <exa.exa@gmail.com>2023-01-24 23:35:06 +0100
commitcce22d561bf529b924fa2cd19d9777125b5ffd88 (patch)
treed06075687e24014a202b37935946319430080ae9 /app/Code.hs
parent8a7d54a74e3229d7936426b4d100f97420a6e282 (diff)
downloadprlg-cce22d561bf529b924fa2cd19d9777125b5ffd88.tar.gz
prlg-cce22d561bf529b924fa2cd19d9777125b5ffd88.tar.bz2
load loads.
Diffstat (limited to 'app/Code.hs')
-rw-r--r--app/Code.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Code.hs b/app/Code.hs
index df2e5c7..f2a3856 100644
--- a/app/Code.hs
+++ b/app/Code.hs
@@ -6,6 +6,7 @@ import Control.Monad.Trans.State.Lazy (StateT)
import qualified Data.Map as M
import IR (Id(..), StrTable)
import Operators (Ops)
+import Parser (PAST)
import System.Console.Haskeline (InputT)
data Datum
@@ -62,6 +63,7 @@ data Interp =
, ops :: Ops -- currently defined operators
, opstash :: [Ops] -- saved operators
, strtable :: StrTable -- string table
+ , cmdq :: [(Bool, PAST)] -- isQuery, lexemes
}
deriving (Show)