public class CommonLisp extends Lisp2
Modifier and Type | Field and Description |
---|---|
static Environment |
clispEnvironment |
static gnu.kawa.format.AbstractFormat |
displayFormat |
static Symbol |
externalKeyword |
static ThreadLocation<LList> |
features |
static Symbol |
inheritedKeyword |
static CommonLisp |
instance |
static Symbol |
internalKeyword
Package location symbols.
|
static IsEq |
isEq |
static IsEqv |
isEqv |
static Not |
not |
static NumberCompare |
numEqu |
static NumberCompare |
numGEq |
static NumberCompare |
numGrt |
static NumberCompare |
numLEq |
static NumberCompare |
numLss |
static gnu.kawa.format.AbstractFormat |
writeFormat |
bracket_apply_sym, bracket_list_sym, constructNamespace, defaultReadTable, dots3_sym, entityNamespace, getNamedPartLocation, lookup_sym, quasiquote_str, quasiquote_sym, quote_str, splice_colon_str, splice_colon_sym, splice_str, splice_sym, unitNamespace, unquote_str, unquotesplicing_str
current, environ, FUNCTION_NAMESPACE, global, NAMESPACE_PREFIX_NAMESPACE, PARSE_CURRENT_NAMES, PARSE_EMIT_MAIN, PARSE_EXPLICIT, PARSE_FOR_APPLET, PARSE_FOR_EVAL, PARSE_FOR_LINT, PARSE_FOR_SERVLET, PARSE_IMMEDIATE, PARSE_INTERACTIVE_MODULE, PARSE_ONE_LINE, PARSE_PROLOG, requirePedantic, userEnv, VALUE_NAMESPACE
Constructor and Description |
---|
CommonLisp() |
Modifier and Type | Method and Description |
---|---|
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.
|
gnu.kawa.format.AbstractFormat |
getFormat(boolean readable) |
static CommonLisp |
getInstance() |
java.lang.String |
getName() |
Type |
getNamedType(java.lang.String name)
Get the corresponding
Type for a given name. |
Type |
getTypeFor(java.lang.Class clas) |
Type |
getTypeFor(java.lang.String name) |
static void |
registerEnvironment()
The compiler insert calls to this method for applications and applets.
|
asSymbol, booleanObject, defun, defun, fromLangSymbol, getCompilationClass, getEnvPropertyFor, getNamespaceOf, getString, getString, hasSeparateFunctionNamespace, importLocation, isTrue, isTrueLisp, noValue, selfEvaluatingSymbol
declFromField, decodeArrayType, defSntxStFld, defSntxStFld, getLexer, getPackageStyleType, getPrimaryPrompt, getSecondaryPrompt, getTypeFor, getTypeMap, keywordsAreSelfEvaluating, langSymbolToSymbol, parse, resolve
asType, booleanValue, coerceFromObject, coerceToObject, decodeType, defAliasStFld, define, defineFunction, defineFunction, defProcStFld, defProcStFld, defProcStFld, defProcStFldAs, detect, detect, detect, encodeType, eval, eval, eval, eval, eval, eval, eval, eval, eval, formatType, getCompilation, getCompilation, getDefaultLanguage, getEnvironment, getEnvPropertyFor, getExtensions, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLangTypeFor, getLanguages, getNewEnvironment, getOutputConsumer, getSymbol, getTypeFor, getTypeFor, hasNamespace, isValidJavaName, loadClass, lookup, lookupBuiltin, mangleName, parse, parse, parse, parse, registerLanguage, restoreCurrent, runAsApplication, setCurrentLanguage, setDefaults, setSaveCurrent, unionType
public static final CommonLisp instance
public static final Environment clispEnvironment
public static final NumberCompare numEqu
public static final NumberCompare numGrt
public static final NumberCompare numGEq
public static final NumberCompare numLss
public static final NumberCompare numLEq
public static final Not not
public static final IsEq isEq
public static final IsEqv isEqv
public static final Symbol internalKeyword
public static final Symbol inheritedKeyword
public static final Symbol externalKeyword
public static ThreadLocation<LList> features
public static final gnu.kawa.format.AbstractFormat writeFormat
public static final gnu.kawa.format.AbstractFormat displayFormat
public static java.lang.Object getCharacter(int c)
public static Numeric asNumber(java.lang.Object arg)
public static char asChar(java.lang.Object x)
public static CommonLisp getInstance()
public static void registerEnvironment()
public gnu.kawa.format.AbstractFormat getFormat(boolean readable)
public Type getTypeFor(java.lang.String name)
getTypeFor
in class Language
public Type getTypeFor(java.lang.Class clas)
getTypeFor
in class LispLanguage
public Type getNamedType(java.lang.String name)
Language
Type
for a given name.
This is currently used as a hook in the conversion of type designators to
types. LispLanguage
uses it to check for package
style type designators such as emacs:buffer
,
and CommonLisp uses it to check for a type designator "boolean",
so that is can return the appropriate boolean type.
This is a bit over-specialised, but it beats actually
overriding getTypeFor(String) in LispLanguage, CommonLisp just for these minor
changes... FIXME!getNamedType
in class LispLanguage
name
- The name of a type to search for.Type
if a suitable one can be found,
otherwise null
.public ReadTable createReadTable()
LispLanguage
ReadTable
appropriate for this language.createReadTable
in class Lisp2