libvata2
[unstable] git snapshot
|
The virtual machine executing VATA code. More...
#include <vm.hh>
Public Member Functions | |
VirtualMachine () | |
default constructor More... | |
void | run (const Vata2::Parser::Parsed &parsed) |
void | run (const Vata2::Parser::ParsedSection &parsec) |
void | run_code (const Vata2::Parser::ParsedSection &parsec) |
void | execute_line (const Parser::BodyLine &line) |
Executes one line of code. More... | |
void | process_token (const std::string &tok) |
void | exec_cmd (const std::vector< VMValue > &exec_vec) |
void | clean_stack () |
Cleans the stack. More... | |
|
inline |
void clean_stack | ( | ) |
Cleans the stack.
void exec_cmd | ( | const std::vector< VMValue > & | exec_vec | ) |
void execute_line | ( | const Parser::BodyLine & | line | ) |
Executes one line of code.
void process_token | ( | const std::string & | tok | ) |
void run | ( | const Vata2::Parser::Parsed & | parsed | ) |
void run | ( | const Vata2::Parser::ParsedSection & | parsec | ) |
void run_code | ( | const Vata2::Parser::ParsedSection & | parsec | ) |