hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Member Functions | Private Attributes | List of all members
hi::evaluator Class Reference

#include <evaluator.H>

Collaboration diagram for hi::evaluator:
Collaboration graph

Public Member Functions

 evaluator (const Args &)
 
 ~evaluator ()
 
void runMachineREPL ()
 
void showClass (const std::string &cname)
 
void showInstances (const std::string &cname)
 
void loadModule (const std::string &mfile)
 
void evalExpr (const std::string &expr)
 
void printUnsweetenedExpr (const std::string &expr)
 
void printTypeOf (const std::string &expr, bool)
 
void printTypeEnv ()
 
hobbes::str::seq completionsFor (const std::string &prefix) const
 
void printLLVMModule ()
 
void printAssembly (const std::string &expr, void(*)(void *, size_t))
 
void perfTestExpr (const std::string &expr)
 
void breakdownEvalExpr (const std::string &expr)
 
void resetREPLCycle ()
 

Private Attributes

hobbes::cc ctx
 
bool silent
 
WWWServerwwwd
 

Constructor & Destructor Documentation

◆ evaluator()

hi::evaluator::evaluator ( const Args args)

◆ ~evaluator()

hi::evaluator::~evaluator ( )

Member Function Documentation

◆ breakdownEvalExpr()

void hi::evaluator::breakdownEvalExpr ( const std::string &  expr)

◆ completionsFor()

hobbes::str::seq hi::evaluator::completionsFor ( const std::string &  prefix) const

◆ evalExpr()

void hi::evaluator::evalExpr ( const std::string &  expr)

◆ loadModule()

void hi::evaluator::loadModule ( const std::string &  mfile)

◆ perfTestExpr()

void hi::evaluator::perfTestExpr ( const std::string &  expr)

◆ printAssembly()

void hi::evaluator::printAssembly ( const std::string &  expr,
void(*)(void *, size_t)  f 
)

◆ printLLVMModule()

void hi::evaluator::printLLVMModule ( )

◆ printTypeEnv()

void hi::evaluator::printTypeEnv ( )

◆ printTypeOf()

void hi::evaluator::printTypeOf ( const std::string &  expr,
bool  showHiddenTCs 
)

◆ printUnsweetenedExpr()

void hi::evaluator::printUnsweetenedExpr ( const std::string &  expr)

◆ resetREPLCycle()

void hi::evaluator::resetREPLCycle ( )

◆ runMachineREPL()

void hi::evaluator::runMachineREPL ( )

◆ showClass()

void hi::evaluator::showClass ( const std::string &  cname)

◆ showInstances()

void hi::evaluator::showInstances ( const std::string &  cname)

Member Data Documentation

◆ ctx

hobbes::cc hi::evaluator::ctx
private

◆ silent

bool hi::evaluator::silent
private

◆ wwwd

WWWServer* hi::evaluator::wwwd
private

The documentation for this class was generated from the following files: