Language sub-class for Lisp-like languages (including Scheme).
defaultReadTable
public ReadTable defaultReadTable
The default ReadTable
for this language.
lookup_sym
public static final String lookup_sym
Used for Kawa infix ':' operator.
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)