Plot Script
Classes | Typedefs
environment.hpp File Reference
#include <map>
#include "atom.hpp"
#include "expression.hpp"
Include dependency graph for environment.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Environment
 A class representing the interpreter environment. More...
 

Typedefs

typedef Expression(* Procedure) (const std::vector< Expression > &args)
 A Procedure is a C++ function pointer taking a vector of Expressions as arguments and returning an Expression. More...
 

Detailed Description

This file defines the module representing the environment.

The environment is the collection of all previously defined procedures, e.g. the built-in ones, and previously defined symbols. The environment is used by the interpreter to store and lookup the value of symbols and procedures as needed.

Typedef Documentation

◆ Procedure

Procedure

A Procedure is a C++ function pointer taking a vector of Expressions as arguments and returning an Expression.