xo-interpreter: scaffold interpreter read-eval-print loop
This commit is contained in:
parent
f12b5c1172
commit
3956635920
7 changed files with 222 additions and 4 deletions
16
xo-interpreter/src/interpreter/VsmInstr.cpp
Normal file
16
xo-interpreter/src/interpreter/VsmInstr.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/** @file VsmInstr.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Nov 2025
|
||||
**/
|
||||
|
||||
#include "VsmInstr.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
VsmInstr::VsmInstr(Opcode opcode,
|
||||
std::string_view name) : opcode_{opcode}, name_{name}
|
||||
{}
|
||||
}
|
||||
}
|
||||
|
||||
/* end VsmInstr.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue