gnu.jemacs.lang
Class ELisp

java.lang.Object
  extended by gnu.expr.Language
      extended by gnu.kawa.lispexpr.LispLanguage
          extended by gnu.commonlisp.lang.Lisp2
              extended by gnu.jemacs.lang.ELisp

public class ELisp
extends Lisp2


Field Summary
static Environment elispEnvironment
           
 
Fields inherited from class gnu.commonlisp.lang.Lisp2
FALSE, nilExpr, TRUE
 
Fields inherited from class gnu.kawa.lispexpr.LispLanguage
defaultReadTable, quasiquote_sym, quote_sym, unquote_sym, unquotesplicing_sym
 
Fields inherited from class gnu.expr.Language
current, env_counter, environ, FUNCTION_NAMESPACE, NAMESPACE_PREFIX, NAMESPACE_PREFIX_NAMESPACE, PARSE_IMMEDIATE, PARSE_ONE_LINE, userEnv, VALUE_NAMESPACE
 
Method Summary
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 ELisp character object.
 AbstractFormat getFormat(boolean readable)
           
static ELisp getInstance()
           
 Lexer getLexer(InPort inp, SourceMessages messages)
           
 java.lang.String getName()
           
 Type getTypeFor(java.lang.Class clas)
           
 Type getTypeFor(java.lang.String name)
           
static void main(java.lang.String[] args)
           
 java.lang.Object read(InPort in)
           
static void readableChar(char ch, java.lang.StringBuffer buf, boolean quote)
           
static java.lang.String readableString(java.lang.Object obj)
          Call toString, quoting characters that are not ascii graphic chars.
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
declFromField, defSntxStFld, defSntxStFld, langSymbolToSymbol, makeApply, makeBody, parse
 
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
 

Field Detail

elispEnvironment

public static final Environment elispEnvironment
Method Detail

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)