import public Idris.REPL.CommonexecExp : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => PTerm -> Core REPLResultcompileExp : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => PTerm -> String -> Core REPLResultloadMainFile : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => String -> Core REPLResultprocess : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => REPLCmd -> Core REPLResultProcess a single `REPLCmd`
Returns `REPLResult` for display by the higher level shell which
is invoking this interactive command processing.
parseRepl : String -> Either Error (Maybe REPLCmd)interpret : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => String -> Core REPLResultreplCmd : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => String -> Core ()repl : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => Core ()handleMissing' : MissedResult -> StringhandleMissing : MissedResult -> Doc IdrisAnnhandleResult : Ref Ctxt Defs => Ref UST UState => Ref Syn SyntaxInfo => Ref MD Metadata => Ref ROpts REPLOpts => REPLResult -> Core ()displayResult : Ref Ctxt Defs => Ref Syn SyntaxInfo => Ref ROpts REPLOpts => REPLResult -> Core ()displayHelp : StringdisplayStartupErrors : Ref ROpts REPLOpts => REPLResult -> Core ()Display errors that may occur when starting the REPL.
Does not force the REPL to exit, just prints the error(s).
NOTE: functionally the only reason to consider this function specialized
to "startup" is that it will provide suggestions to the user under the
assumption that the user has just entered the REPL via CLI arguments that
they may have used incorrectly.