All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Jaja.Symbol

java.lang.Object
   |
   +----Jaja.Jaja
           |
           +----Jaja.Value
                   |
                   +----Jaja.Symbol

public class Symbol
extends Value
This is the class of Scheme symbols. It is refined into special symbols to recognize special form operators and give them an appropriate behavior.


Variable Index

 o beginq
 o ifq
Predefined symbols if, begin are reserved keywords in Java, set! is not a legal identifier: they're all suffixed with q.
 o lambda
 o monitor
 o quasiquote
 o quote
 o setq
 o symbol_eval
 o symbol_eval_in_expansion_world
 o symbol_expand
 o symbol_load
 o uninitialized_let
 o unquote
 o unquote_splicing

Constructor Index

 o Symbol(String)
Constructor and creators (protected since used by inheriting classes).

Method Index

 o create(MutableString)
 o create(String)
 o eval(Environment, WorldAble)
r contains the lexical current environment while interp contains the global environment (and other parameters).
 o oblist()
Debugging: return the list of all interned (ie already seen) symbols.
 o toString()
Convert a Value into a human-readable Java String.

Variables

 o ifq
 public static final Symbol ifq
Predefined symbols if, begin are reserved keywords in Java, set! is not a legal identifier: they're all suffixed with q. If you add another special form, you should register its name here. It is necessary to create these special symbols now to avoid them being recreated as regular symbols when read.

 o quote
 public static final Symbol quote
 o beginq
 public static final Symbol beginq
 o setq
 public static final Symbol setq
 o lambda
 public static final Symbol lambda
 o uninitialized_let
 public static final Symbol uninitialized_let
 o monitor
 public static final Symbol monitor
 o quasiquote
 public static final Symbol quasiquote
 o unquote
 public static final Symbol unquote
 o unquote_splicing
 public static final Symbol unquote_splicing
 o symbol_eval
 public static final Symbol symbol_eval
 o symbol_load
 public static final Symbol symbol_load
 o symbol_expand
 public static final Symbol symbol_expand
 o symbol_eval_in_expansion_world
 public static final Symbol symbol_eval_in_expansion_world

Constructors

 o Symbol
 protected Symbol(String n)
Constructor and creators (protected since used by inheriting classes). Only the creator should be used to create symbols. To use the intern methods of String does not seem useful.

Methods

 o create
 public static Symbol create(MutableString str)
 o create
 public static Symbol create(String s)
 o toString
 public String toString()
Convert a Value into a human-readable Java String.

Overrides:
toString in class Value
 o eval
 public Value eval(Environment r,
                   WorldAble world)
r contains the lexical current environment while interp contains the global environment (and other parameters).

Overrides:
eval in class Value
 o oblist
 public static Value oblist()
Debugging: return the list of all interned (ie already seen) symbols.


All Packages  Class Hierarchy  This Package  Previous  Next  Index