Archived
1
0
Fork 0
This repository has been archived on 2023-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
SLOTH/src/variables/environment.hpp

22 lines
375 B
C++
Raw Permalink Normal View History

#ifndef ENVIRONMENT_H
#define ENVIRONMENT_H
#include "variable.hpp"
#include <string>
#include <vector>
class Variable;
class Environment {
public:
std::vector<Variable*> vars;
Environment() { }
~Environment();
};
// Variable Lookup Functions
Variable* find_variable(Environment* env, std::string id);
void add_variable(Environment* env, Variable* var);
#endif