summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-02-08 10:52:08 +0000
committeraarne <aarne@chalmers.se>2010-02-08 10:52:08 +0000
commitf0f9c0acfa193969bce80d803478fe8b46e03386 (patch)
treefebe7e44a66bdeac72ee59aa3e059e8aa702bd56 /src
parent9564d85fa50b4381b7f12cfa56145d945a11e363 (diff)
generalized tour to a variable language by the script MkTour
Diffstat (limited to 'src')
-rw-r--r--src/compiler/GFI.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/GFI.hs b/src/compiler/GFI.hs
index d53be2195..84bfc43c5 100644
--- a/src/compiler/GFI.hs
+++ b/src/compiler/GFI.hs
@@ -94,6 +94,12 @@ loop opts gfenv0 = do
-- special commands, requiring source grammar in env
case pwords of
+{-
+ "eh":w:_ -> do
+ cs <- readFile w >>= return . map words . lines
+ gfenv' <- foldM (flip (process False benv)) gfenv cs
+ loopNewCPU gfenv'
+-}
"q":_ -> ifv (putStrLn "See you.") >> return gfenv