xo-interpreter: initial commit [wip]
This commit is contained in:
parent
bd3dc59c07
commit
bfee0bdf9b
10 changed files with 349 additions and 6 deletions
24
xo-interpreter/include/xo/interpreter/StackFrame.hpp
Normal file
24
xo-interpreter/include/xo/interpreter/StackFrame.hpp
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/** @file StackFrame.hpp **/
|
||||
|
||||
#include "xo/alloc/Object.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
/** @class StackFrame
|
||||
* @brief Represent a single runtime stack frame for a Schematika function
|
||||
*
|
||||
* StackFrame intended to be used for interpreted functions.
|
||||
* Compiled functions will stil likely have stack frames, but need not use the
|
||||
* @ref StackFrame class
|
||||
**/
|
||||
class StackFrame : public Object {
|
||||
public:
|
||||
StackFrame(std::size_t n_slot)
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end StackFrame.hpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue