gnu.kawa.lispexpr
Class LispLanguage
public abstract class LispLanguage
Language sub-class for Lisp-like languages (including Scheme).
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 |
defaultReadTable
public ReadTable defaultReadTable
The default ReadTable
for this language.
quasiquote_sym
public static final String quasiquote_sym
quote_sym
public static final String quote_sym
unquote_sym
public static final String unquote_sym
unquotesplicing_sym
public static final String unquotesplicing_sym
createReadTable
public abstract ReadTable createReadTable()
Create a fresh ReadTable
appropriate for this language.
defSntxStFld
protected void defSntxStFld(String name,
String cname)
defSntxStFld
protected void defSntxStFld(String name,
String cname,
String fname)
Declare in the current Environment a Syntax bound to a static field.
name
- the procedure's source-level name.cname
- the name of the class containing the field.fname
- the name of the field, which should be a static
final field whose type extends kawa.lang.Syntax.
fromLangSymbol
protected Symbol fromLangSymbol(Object sym)
langSymbolToSymbol
public static Symbol langSymbolToSymbol(Object sym)
Convert the Language's idea of a symbol to a gnu.mapping.Symbol.
selfEvaluatingSymbol
public boolean selfEvaluatingSymbol(Object obj)