1 /********************* */
2 /*! \file interactive_shell.h
4 ** Original author: cconway
6 ** Minor contributors (to current version):
7 ** This file is part of the CVC4 prototype.
8 ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
9 ** Courant Institute of Mathematical Sciences
10 ** New York University
11 ** See the file COPYING in the top-level source directory for licensing
12 ** information.\endverbatim
14 ** \brief Interactive shell for CVC4
17 #ifndef __CVC4__INTERACTIVE_SHELL_H
18 #define __CVC4__INTERACTIVE_SHELL_H
23 #include "parser/parser_builder.h"
29 using namespace parser
;
31 class InteractiveShell
{
34 ParserBuilder d_parserBuilder
;
37 InteractiveShell(std::istream
& in
,
39 ParserBuilder
& parserBuilder
) :
42 d_parserBuilder(parserBuilder
) {
45 /** Read a command from the interactive shell. This will read as
46 many lines as necessary to parse a well-formed command. */
47 Command
*readCommand();
52 #endif // __CVC4__INTERACTIVE_SHELL_H