Package gnu.mapping

Supports Procedure, and various related classes needed at run-time by dynamically typed languages (such as Scheme and ECMAScript).

See:
          Description

Interface Summary
EnvironmentKey A pair of a name (a Symbol) and a property (any Object).
HasSetter A Procedure that can be used on the left-hand-side of an assignment.
Named  
Printable  
 

Class Summary
CallContext A procedure activation stack (when compiled with explicit stacks).
CharArrayInPort An Inport for reading from a char array.
CharArrayOutPort Similar to CharArrayWriter.
ConstrainedLocation  
Environment A mapping from EnvironmentKey to Locations.
Future  
IndirectableLocation  
InheritingEnvironment  
InPort  
KeyPair A simple concrete implemementation of EnvironmentKey.
Location A Location is an abstract cell/location/variable with a value.
LocationEnumeration  
LocationProc A Procedure that evaluates to the value of a Location.
LogWriter A class that supports an optional log file that output is duplicated to.
MethodProc Similar to a CLOS method.
NamedLocation A Location that can be used as an entry in an Environment.
NameMap  
Namespace A mapping from strings ("print names") to Symbols.
OutPort An extended PrintWriter.
PlainLocation  
Procedure The abstract parent for all Scheme functions.
Procedure0 Abstract class for 0-argument procedures.
Procedure0or1 Abstract class for 0- or 1-argument Scheme procedures.
Procedure1 Abstract class for 1-argument Scheme procedures.
Procedure1or2 Abstract class for 1- or 2-argument Scheme procedures.
Procedure2 Abstract class for 2-argument Scheme procedures.
Procedure3 Abstract class for 3-argument Scheme procedures..
Procedure4 Abstract class for 4-argument Scheme procedures.
ProcedureN Abstract class for "N-argument" Scheme procedures, where N>4 or variable.
ProcLocation  
PropertyLocation Used to implement Lisp-style "property lists".
ReadOnlyLocation  
RunnableClosure  
Setter The "setter" of procedure that can be used in the LHS of an assignment.
Setter0 A special case of Setter, retricted to no arguments, except the RHS.
Setter1 A special case of Setter, retricted to one argument (plus the RHS).
SharedLocation A Location suitable when Environment or Location can be access by multiple threads.
SimpleEnvironment Concrete implementation of Environment.
Symbol A Symbol is a name, usually in a specific Namespace.
ThreadLocation A Location that forwards to a thread-specific Location.
TtyInPort An interactive input-port.
Values Encapsulate multiple values in a single object.
ValueStack  
 

Exception Summary
UnboundLocationException An undefined symbol was evaluated.
WrappedException Encapsulate some Exception inside a RuntimeException.
WrongArguments  
WrongType Exception thrown when a procedure parameter has the wrong type.
 

Package gnu.mapping Description

Supports Procedure, and various related classes needed at run-time by dynamically typed languages (such as Scheme and ECMAScript).

The exact set of classes in this package is still somewhat in flux.

License

See the file COPYING.

Author

Per Bothner <per@bothner.com>

Bugs and patches

Send them to per@bothner.com, or to the Kawa mailing list.