gnu.commonlisp.lang

Class 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, TRUE, nilExpr

Fields inherited from class gnu.kawa.lispexpr.LispLanguage

defaultReadTable, quasiquote_sym, quote_sym, unquote_sym, unquotesplicing_sym

Fields inherited from class gnu.expr.Language

FUNCTION_NAMESPACE, NAMESPACE_PREFIX, NAMESPACE_PREFIX_NAMESPACE, PARSE_IMMEDIATE, PARSE_ONE_LINE, VALUE_NAMESPACE, current, env_counter, environ, userEnv

Constructor Summary

CommonLisp()

Method Summary

static char
asChar(Object x)
static Numeric
asNumber(Object arg)
ReadTable
createReadTable()
Create a fresh ReadTable appropriate for this language.
static Object
getCharacter(int c)
Get a CommonLisp character object.
AbstractFormat
getFormat(boolean readable)
static CommonLisp
getInstance()
Lexer
getLexer(InPort inp, SourceMessages messages)
String
getName()
Type
getTypeFor(Class clas)
Type
getTypeFor(String name)
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

createReadTable, declFromField, defSntxStFld, defSntxStFld, fromLangSymbol, langSymbolToSymbol, makeApply, makeBody, parse, selfEvaluatingSymbol

Methods inherited from class gnu.expr.Language

asType, booleanObject, coerceFromObject, coerceToObject, coerceToObject, declFromField, defAliasStFld, defProcStFld, defProcStFld, define, defineFunction, defineFunction, emitCoerceToBoolean, emitPushBoolean, eval, eval, eval, eval, eval, eval, eval, eval, eval, getDefaultLanguage, getEnvPropertyFor, getEnvPropertyFor, getEnvironment, getFormat, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLanguages, getLexer, getName, getNamespaceOf, getNewEnvironment, getOutputConsumer, getPrompter, getSymbol, getTypeFor, getTypeFor, getTypeFor, hasSeparateFunctionNamespace, isTrue, loadClass, lookup, lookupBuiltin, noValue, parse, parse, print, print, registerLanguage, runAsApplication, setDefaultLanguage, setDefaults, string2Type

Field Details

clispEnvironment

public static final Environment clispEnvironment

numEqu

public static final NumberCompare numEqu

numGEq

public static final NumberCompare numGEq

numGrt

public static final NumberCompare numGrt

numLEq

public static final NumberCompare numLEq

numLss

public static final NumberCompare numLss

Constructor Details

CommonLisp

public CommonLisp()

Method Details

asChar

public static char asChar(Object x)

asNumber

public static Numeric asNumber(Object arg)

createReadTable

public ReadTable createReadTable()
Create a fresh ReadTable appropriate for this language.
Overrides:
createReadTable in interface LispLanguage

getCharacter

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

getFormat

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

getInstance

public static CommonLisp getInstance()

getLexer

public Lexer getLexer(InPort inp,
                      SourceMessages messages)
Overrides:
getLexer in interface Language

getName

public String getName()
Overrides:
getName in interface Language

getTypeFor

public Type getTypeFor(Class clas)
Overrides:
getTypeFor in interface Language

getTypeFor

public Type getTypeFor(String name)
Overrides:
getTypeFor in interface Language

read

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

registerEnvironment

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