11#ifndef ARK_REPL_REPL_HPP 
   12#define ARK_REPL_REPL_HPP 
   32        explicit Repl(
const std::vector<std::filesystem::path>& lib_env);
 
   64        std::optional<std::string> 
getLine(
bool continuation);
 
 
State used by the virtual machine: it loads the bytecode, can compile it if needed,...
 
The ArkScript virtual machine.
 
std::vector< std::pair< std::string, replxx::Replxx::Color > > m_words_colors
 
std::vector< std::string > m_keywords
 
void cuiSetup()
Configure replxx.
 
std::optional< std::string > getCodeBlock()
Prompt the user to enter a complete code block and handle the prompt modifications until the code blo...
 
Repl(const std::vector< std::filesystem::path > &lib_env)
Construct a new Repl object.
 
std::optional< std::string > getLine(bool continuation)
Get a line via replxx and handle commands.
 
std::vector< std::filesystem::path > m_lib_env
 
Ark state to handle the dirty job of loading and compiling ArkScript code.
 
The ArkScript virtual machine, executing ArkScript bytecode.