24 lines
589 B
C++
24 lines
589 B
C++
/** @file Env.hpp
|
|
*
|
|
* @author Roland Conybeare, Nov 2025
|
|
**/
|
|
|
|
#pragma once
|
|
|
|
#include "xo/alloc/Object.hpp"
|
|
|
|
namespace xo {
|
|
namespace scm {
|
|
/** @class Env
|
|
* @brief runtime environment, holding variable bindings for schematika interpreter
|
|
*
|
|
* Garbage-collected
|
|
*
|
|
* TODO: rename xo-expression xo::scm::Environment -> xo::scm::SymbolTable
|
|
**/
|
|
class Env : public Object {
|
|
public:
|
|
//gp<Object> lookup_symbol(const std::string & name) const;
|
|
};
|
|
} /*namespace scm*/
|
|
} /*namespace xo*/
|