gnu.jemacs.lang
Class ELisp
java.lang.Object
gnu.expr.Language
gnu.kawa.lispexpr.LispLanguage
gnu.commonlisp.lang.Lisp2
gnu.jemacs.lang.ELisp
public class ELisp
- extends Lisp2
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.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 |
elispEnvironment
public static final Environment elispEnvironment
getCharacter
public static java.lang.Object getCharacter(int c)
- Get a ELisp 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 ELisp 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
readableChar
public static void readableChar(char ch,
java.lang.StringBuffer buf,
boolean quote)
readableString
public static java.lang.String readableString(java.lang.Object obj)
- Call toString, quoting characters that are not ascii graphic chars.
This method will probably be moved somewhere more appropriate.
main
public static void main(java.lang.String[] args)