Package gnu.mapping
package gnu.mapping
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.-
ClassDescriptionA procedure activation stack (when compiled with explicit stacks).A Location that forwards to a thread-specific Location.A mapping from
EnvironmentKey
toLocation
s.A pair of a name (aSymbol
) and a property (anyObject
).Future<T>A Procedure that can be used on the left-hand-side of an assignment.A simple concrete implemementation ofEnvironmentKey
.Lazy<T>A lazy value is one that may be calculated on demand.A property whose value can be found lazily.Location<T>A Location is an abstract cell/location/variable with a value of type T.LocationProc<T>A Procedure that evaluates to the value of a Location.Similar to a CLOS method.A Location that can be used as an entry in an Environment.A mapping from strings ("print names") toSymbol
s.The abstract parent for all Scheme functions.Abstract class for 0-argument procedures.Abstract class for 0- or 1-argument Scheme procedures.Abstract class for 1-argument Scheme procedures.Abstract class for 1- or 2-argument Scheme procedures.Abstract class for 2-argument Scheme procedures.Abstract class for 3-argument Scheme procedures..Abstract class for 4-argument Scheme procedures.Abstract class for "N
-argument" Scheme procedures, whereN>4
or variable.Promise<T>Implement Scheme "promises".PropertyKey<T>PropertySet keys that provide statically-typeable values.Used to implement Lisp-style "property lists".The "setter" of procedure that can be used in the LHS of an assignment.A special case of Setter, retricted to no arguments, except the RHS.A special case of Setter, retricted to one argument (plus the RHS).A Location suitable when Environment or Location can be access by multiple threads.Concrete implementation ofEnvironment
.A Symbol in the EmptyNamespace.A Symbol is a name, usually in a specific Namespace.Maps 2 objects to another.A Location that forwards to a thread-specific Location.An undefined symbol was evaluated.Values<E>Encapsulate multiple values in a single object.An implementation of Values that stores the values in an array.An implementation of Values that uses a java.util.List.An implementation of Values that uses a TreeList.Values.Values2<E,V1 extends E, V2 extends E> A specialization of Values for exactly 2 values.Encapsulate some Exception inside a RuntimeException.Exception thrown when a procedure parameter has the wrong type.