Package gnu.mapping

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

Interface Summary

EnvironmentKeyA pair of a name (a Symbol) and a property (any Object).
HasSetterA Procedure that can be used on the left-hand-side of an assignment.
Named
Printable

Class Summary

CallContextA procedure activation stack (when compiled with explicit stacks).
CharArrayInPortAn Inport for reading from a char array.
CharArrayOutPort Similar to CharArrayWriter.
ConstrainedLocation
EnvironmentA mapping from EnvironmentKey to Locations.
Future
IndirectableLocation
InheritingEnvironment
InPort
KeyPairA simple concrete implemementation of EnvironmentKey.
LocationA Location is an abstract cell/location/variable with a value.
LocationEnumeration
LocationProcA Procedure that evaluates to the value of a Location.
LogWriterA class that supports an optional log file that output is duplicated to.
MethodProcSimilar to a CLOS method.
NamedLocationA Location that can be used as an entry in an Environment.
NameMap
NamespaceA 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
PropertyLocationUsed to implement Lisp-style "property lists".
ReadOnlyLocation
RunnableClosure
SetterThe "setter" of procedure that can be used in the LHS of an assignment.
Setter0A special case of Setter, retricted to no arguments, except the RHS.
Setter1A special case of Setter, retricted to one argument (plus the RHS).
SharedLocationA Location suitable when Environment or Location can be access by multiple threads.
SimpleEnvironmentConcrete implementation of Environment.
SymbolA Symbol is a name, usually in a specific Namespace.
ThreadLocationA Location that forwards to a thread-specific Location.
TtyInPortAn interactive input-port.
UnboundLocationExceptionAn undefined symbol was evaluated.
ValuesEncapsulate multiple values in a single object.
ValueStack
WrappedExceptionEncapsulate some Exception inside a RuntimeException.
WrongArguments
WrongTypeException thrown when a procedure parameter has the wrong type.
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.