xo-interpreter2 stack: work on VSM for apply -> closure action [WIP]
This commit is contained in:
parent
3221eef2f8
commit
82c82ea332
21 changed files with 508 additions and 14 deletions
|
|
@ -8,6 +8,8 @@
|
|||
#include "VsmConfig.hpp"
|
||||
#include "VsmInstr.hpp"
|
||||
#include "VsmFrame.hpp"
|
||||
#include "DLocalEnv.hpp"
|
||||
#include "DGlobalEnv.hpp"
|
||||
#include <xo/reader2/SchematikaReader.hpp>
|
||||
#include <xo/expression2/Expression.hpp>
|
||||
#include <xo/gc/GCObject.hpp>
|
||||
|
|
@ -214,11 +216,13 @@ namespace xo {
|
|||
* in execution
|
||||
**/
|
||||
DLocalEnv * local_env_ = nullptr;
|
||||
protected: // temporarily, to appease compiler
|
||||
/** environment pointer. Maintains bindings
|
||||
* for global variables.
|
||||
**/
|
||||
DGlobalEnv * global_env_ = nullptr;
|
||||
|
||||
private:
|
||||
/** function to call **/
|
||||
obj<AProcedure> fn_;
|
||||
/** evaluated argument list **/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue