Package org.norecess.citkit.environment

This package provides classes to support an environment in an interpreter or compiler.

See:
          Description

Interface Summary
IEnvironment<T> Interface for environments.
 

Class Summary
Environment<T> Implements a variable environment for a Hobbes interpreter.
NullEnvironment<T>  
 

Exception Summary
InvalidVariableException Indicates that a variable is being used incorrectly.
 

Package org.norecess.citkit.environment Description

This package provides classes to support an environment in an interpreter or compiler. An environment is a linked list of scopes, where each scope is implemented as a hash table. Declare your variables of type IEnvironment and allocate a NullEnvironment or an Environment.