generalized tour to a variable language by the script MkTour

This commit is contained in:
aarne
2010-02-08 10:52:08 +00:00
parent 1c2a240b2c
commit f3f661b525
5 changed files with 115 additions and 59 deletions

View File

@@ -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