gnu.commonlisp.lang
Class CommonLisp

java.lang.Object
  extended by gnu.expr.Language
      extended by gnu.kawa.lispexpr.LispLanguage
          extended by gnu.commonlisp.lang.Lisp2
              extended by gnu.commonlisp.lang.CommonLisp

public class CommonLisp
extends Lisp2


Field Summary
static Environment clispEnvironment
           
static NumberCompare numEqu
           
static NumberCompare numGEq
           
static NumberCompare numGrt
           
static NumberCompare numLEq
           
static NumberCompare numLss
           
 
Fields inherited from class gnu.commonlisp.lang.Lisp2
FALSE, nilExpr, TRUE
 
Fields inherited from class gnu.kawa.lispexpr.LispLanguage
defaultReadTable, quasiquote_sym, quote_sym, unquote_sym, unquotesplicing_sym
 
Fields inherited from class gnu.expr.Language
current, env_counter, environ, FUNCTION_NAMESPACE, NAMESPACE_PREFIX, NAMESPACE_PREFIX_NAMESPACE, PARSE_IMMEDIATE, PARSE_ONE_LINE, userEnv, VALUE_NAMESPACE
 
Constructor Summary
CommonLisp()
           
 
Method Summary
static char asChar(java.lang.Object x)
           
static Numeric asNumber(java.lang.Object arg)
           
 ReadTable createReadTable()
          Create a fresh ReadTable appropriate for this language.
static java.lang.Object getCharacter(int c)
          Get a CommonLisp character object.
 AbstractFormat getFormat(boolean readable)
           
static CommonLisp getInstance()
           
 Lexer getLexer(InPort inp, SourceMessages messages)
           
 java.lang.String getName()
           
 Type getTypeFor(java.lang.Class clas)
           
 Type getTypeFor(java.lang.String name)
           
 java.lang.Object read(InPort in)
           
static void registerEnvironment()
          The compiler insert calls to this method for applications and applets.
 
Methods inherited from class gnu.commonlisp.lang.Lisp2
asSymbol, booleanObject, defun, defun, emitPushBoolean, fromLangSymbol, getEnvPropertyFor, getNamespaceOf, getString, getString, hasSeparateFunctionNamespace, importLocation, isTrue, noValue, selfEvaluatingSymbol
 
Methods inherited from class gnu.kawa.lispexpr.LispLanguage
declFromField, defSntxStFld, defSntxStFld, langSymbolToSymbol, makeApply, makeBody, parse
 
Methods inherited from class gnu.expr.Language
asType, coerceFromObject, coerceToObject, coerceToObject, defAliasStFld, define, defineFunction, defineFunction, defProcStFld, defProcStFld, emitCoerceToBoolean, eval, eval, eval, eval, eval, eval, eval, eval, eval, getDefaultLanguage, getEnvironment, getEnvPropertyFor, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLanguages, getNewEnvironment, getOutputConsumer, getPrompter, getSymbol, getTypeFor, loadClass, lookup, lookupBuiltin, parse, print, print, registerLanguage, runAsApplication, setDefaultLanguage, setDefaults, string2Type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clispEnvironment

public static final Environment clispEnvironment

numEqu

public static final NumberCompare numEqu

numGrt

public static final NumberCompare numGrt

numGEq

public static final NumberCompare numGEq

numLss

public static final NumberCompare numLss

numLEq

public static final NumberCompare numLEq
Constructor Detail

CommonLisp

public CommonLisp()
Method Detail

getCharacter

public static java.lang.Object getCharacter(int c)
Get a CommonLisp character object.


asNumber

public static Numeric asNumber(java.lang.Object arg)

asChar

public static char asChar(java.lang.Object x)

getLexer

public Lexer getLexer(InPort inp,
                      SourceMessages messages)
Specified by:
getLexer in class Language

getName

public java.lang.String getName()
Overrides:
getName in class Language

getInstance

public static CommonLisp getInstance()

registerEnvironment

public static void registerEnvironment()
The compiler insert calls to this method for applications and applets.


read

public java.lang.Object read(InPort in)
                      throws java.io.IOException,
                             SyntaxException
Throws:
java.io.IOException
SyntaxException

getFormat

public AbstractFormat getFormat(boolean readable)
Overrides:
getFormat in class Language

getTypeFor

public Type getTypeFor(java.lang.String name)
Overrides:
getTypeFor in class Language

getTypeFor

public Type getTypeFor(java.lang.Class clas)
Overrides:
getTypeFor in class Language

createReadTable

public ReadTable createReadTable()
Description copied from class: LispLanguage
Create a fresh ReadTable appropriate for this language.

Specified by:
createReadTable in class LispLanguage