@@ -4,6 +4,7 @@ module Idris.REPL where
44
55import Idris.AbsSyntax
66import Idris.REPLParser
7+import Core.ProofShell
78
89import System.Console.Readline
910import Control.Monad
@@ -33,5 +34,9 @@ process :: Command -> Idris ()
3334process Help
3435 = iputStrLn "At some point I'll write some help text. Thanks for asking though."
3536process (Eval t) = iputStrLn $ "Not implemented: " ++ show t
37+process TTShell = do ist <- get
38+ let shst = initState (tt_ctxt ist)
39+ shst' <- lift $ runShell shst
40+ return ()
3641process NOP = return ()
3742