Package gnu.expr

Class Symbols

java.lang.Object
gnu.expr.Symbols

public class Symbols extends Object
Utility class containing various routines to manipulate Scheme symbols. Note Scheme symbols are represented using java.lang.String objects, and there are no Symbol objects.
  • Method Details

    • gentemp

      public static final SimpleSymbol gentemp()
      Generate a new (interned) symbol with a unique name.
      Returns:
      the new symbol
    • make

      public static String make(String name)
      Create or find a Symbol with a given name.
      Parameters:
      name - the print-name of the desired Symbol
      Returns:
      a Symbol with the given name, newly created iff none such exist
    • intern

      public static final String intern(String name)