2 #ifndef HI_EVALUATOR_HPP_INCLUDED 3 #define HI_EVALUATOR_HPP_INCLUDED 13 typedef std::map<std::string, std::string>
NameVals;
26 Args() : useDefColors(false), silent(false), replPort(-1), httpdPort(-1), exitAfterEval(false), machineREPL(false) {
38 void showClass(
const std::string& cname);
39 void showInstances(
const std::string& cname);
41 void loadModule(
const std::string& mfile);
43 void evalExpr(
const std::string& expr);
44 void printUnsweetenedExpr(
const std::string& expr);
45 void printTypeOf(
const std::string& expr,
bool);
49 void printLLVMModule();
50 void printAssembly(
const std::string& expr,
void (*)(
void*,
size_t));
52 void perfTestExpr(
const std::string& expr);
53 void breakdownEvalExpr(
const std::string& expr);
54 void resetREPLCycle();
bool showDbg
Definition: evaluator.H:17
bool machineREPL
Definition: evaluator.H:24
std::vector< std::string > ModuleFiles
Definition: evaluator.H:10
Definition: evaluator.H:30
std::map< std::string, std::string > NameVals
Definition: evaluator.H:13
int httpdPort
Definition: evaluator.H:21
ModuleFiles mfiles
Definition: evaluator.H:15
bool silent
Definition: evaluator.H:57
Definition: evaluator.H:12
std::string evalExpr
Definition: evaluator.H:16
bool silent
Definition: evaluator.H:19
Args()
Definition: evaluator.H:26
void runMachineREPL(cc *)
Definition: prepl.C:309
hobbes::cc ctx
Definition: evaluator.H:56
WWWServer * wwwd
Definition: evaluator.H:58
std::vector< std::string > seq
Definition: str.H:19
bool useDefColors
Definition: evaluator.H:18
bool exitAfterEval
Definition: evaluator.H:22
NameVals scriptNameVals
Definition: evaluator.H:23
int replPort
Definition: evaluator.H:20