All Packages Class Hierarchy This Package Previous Next Index
Class Jaja.Load
java.lang.Object
|
+----Jaja.Jaja
|
+----Jaja.Value
|
+----Jaja.Procedure
|
+----Jaja.Subr
|
+----Jaja.Subr1
|
+----Jaja.Load
- public class Load
- extends Subr1
This is the class for the load procedures (one per interpreter).
When created such a procedure captures the current interpreter.
Therefore this load procedure is an eval-in-current-module function
however it inherits of the dynamic environment of the caller.
-
Load(World)
-
-
invoke(Value)
- Load a file whose name is specified by a Jaja String.
-
invoke(Value[])
- RESTRICTION: The Scheme to Java compiler does not support
functions with more than 10 arguments (nor the implementation of
apply).
Load
public Load(World world)
invoke
public Value invoke(Value args[])
- RESTRICTION: The Scheme to Java compiler does not support
functions with more than 10 arguments (nor the implementation of
apply).
- Overrides:
- invoke in class Subr1
invoke
public Value invoke(Value s)
- Load a file whose name is specified by a Jaja String. This value
may represent a filename or an URL leading to a remote file. The
file is entirely read, prefixed with a begin symbol and
evaluated. This evaluation inherits from the dynamic environment
of the caller. Anomalies that may occur during this evaluation
are transmitted to the caller.
- Overrides:
- invoke in class Subr1
All Packages Class Hierarchy This Package Previous Next Index