gnu.mapping |
The gnu.mapping Package
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.
|
Java Source File Name | Type | Comment |
CallContext.java | Class | A procedure activation stack (when compiled with explicit stacks). |
CharArrayInPort.java | Class | An Inport for reading from a char array.
Essentially the same as an InPort wrapped around a CharArrayReader, but
more efficient because it uses the char array as the InPort's buffer. |
CharArrayOutPort.java | Class | Similar to CharArrayWriter. |
ConstrainedLocation.java | Class | |
Environment.java | Class | A mapping from EnvironmentKey to Location s. |
EnvironmentKey.java | Interface | A pair of a name (a Symbol ) and a property (any Object ). |
Future.java | Class | |
HasNamedParts.java | Interface | |
HasSetter.java | Interface | A Procedure that can be used on the left-hand-side of an assignment. |
IndirectableLocation.java | Class | |
InheritingEnvironment.java | Class | |
InPort.java | Class | |
KeyPair.java | Class | A simple concrete implemementation of EnvironmentKey . |
Location.java | Class | A Location is an abstract cell/location/variable with a value. |
LocationEnumeration.java | Class | |
LocationProc.java | Class | A Procedure that evaluates to the value of a Location. |
LogWriter.java | Class | A class that supports an optional log file that output is duplicated to.
This is used to implement the Scheme transcript facility. |
MethodProc.java | Class | Similar to a CLOS method.
Can check if arguments "match" before committing to calling method. |
Named.java | Interface | |
NamedLocation.java | Class | A Location that can be used as an entry in an Environment. |
Namespace.java | Class | A mapping from strings ("print names") to Symbol s. |
OutPort.java | Class | An extended PrintWriter. |
PlainLocation.java | Class | |
Procedure.java | Class | The abstract parent for all Scheme functions. |
Procedure0.java | Class | Abstract class for 0-argument procedures. |
Procedure0or1.java | Class | Abstract class for 0- or 1-argument Scheme procedures. |
Procedure1.java | Class | Abstract class for 1-argument Scheme procedures. |
Procedure1or2.java | Class | Abstract class for 1- or 2-argument Scheme procedures. |
Procedure2.java | Class | Abstract class for 2-argument Scheme procedures. |
Procedure3.java | Class | Abstract class for 3-argument Scheme procedures.. |
Procedure4.java | Class | Abstract class for 4-argument Scheme procedures. |
ProcedureN.java | Class | Abstract class for "N-argument" Scheme procedures, where N>4 or variable. |
ProcLocation.java | Class | |
PropertyLocation.java | Class | Used to implement Lisp-style "property lists". |
PropertySet.java | Class | |
ReadOnlyLocation.java | Class | |
RunnableClosure.java | Class | |
Setter.java | Class | The "setter" of procedure that can be used in the LHS of an assignment. |
Setter0.java | Class | A special case of Setter, retricted to no arguments, except the RHS. |
Setter1.java | Class | A special case of Setter, retricted to one argument (plus the RHS). |
SharedLocation.java | Class | A Location suitable when Environment or Location can be access by
multiple threads. |
SimpleEnvironment.java | Class | Concrete implementation of Environment . |
Symbol.java | Class | A Symbol is a name, usually in a specific Namespace. |
Table2D.java | Class | Maps 2 objects to another.
Uses a weak references to each key, unless it is null or a Symbol.
This should at some point be merged with SimpleEnvironment. |
ThreadLocation.java | Class | A Location that forwards to a thread-specific Location. |
TtyInPort.java | Class | An interactive input-port.
Supports prompting, auto-flush of tied output port, transcripts. |
UnboundLocationException.java | Class | An undefined symbol was evaluated. |
Values.java | Class | Encapsulate multiple values in a single object. |
ValueStack.java | Class | |
WrappedException.java | Class | Encapsulate some Exception inside a RuntimeException. |
WrongArguments.java | Class | |
WrongType.java | Class | Exception thrown when a procedure parameter has the wrong type. |