gnu.jemacs.lang

Class ELisp


public class ELisp
extends Lisp2

Field Summary

static Environment
elispEnvironment

Fields inherited from class gnu.commonlisp.lang.Lisp2

FALSE, TRUE, nilExpr

Fields inherited from class gnu.kawa.lispexpr.LispLanguage

defaultReadTable, quasiquote_sym, quote_sym, unquote_sym, unquotesplicing_sym

Fields inherited from class gnu.expr.Language

FUNCTION_NAMESPACE, NAMESPACE_PREFIX, NAMESPACE_PREFIX_NAMESPACE, PARSE_IMMEDIATE, PARSE_ONE_LINE, VALUE_NAMESPACE, current, env_counter, environ, userEnv

Method Summary

static char
asChar(Object x)
static Numeric
asNumber(Object arg)
ReadTable
createReadTable()
static Object
getCharacter(int c)
Get a ELisp character object.
AbstractFormat
getFormat(boolean readable)
static ELisp
getInstance()
Lexer
getLexer(InPort inp, SourceMessages messages)
String
getName()
Type
getTypeFor(Class clas)
Type
getTypeFor(String name)
static void
main(String[] args)
Object
read(InPort in)
static void
readableChar(char ch, StringBuffer buf, boolean quote)
static String
readableString(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

createReadTable, declFromField, defSntxStFld, defSntxStFld, fromLangSymbol, langSymbolToSymbol, makeApply, makeBody, parse, selfEvaluatingSymbol

Methods inherited from class gnu.expr.Language

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

Field Details

elispEnvironment

public static final Environment elispEnvironment

Method Details

asChar

public static char asChar(Object x)

asNumber

public static Numeric asNumber(Object arg)

createReadTable

public ReadTable createReadTable()
Overrides:
createReadTable in interface LispLanguage

getCharacter

public static Object getCharacter(int c)
Get a ELisp character object.

getFormat

public AbstractFormat getFormat(boolean readable)
Overrides:
getFormat in interface Language

getInstance

public static ELisp getInstance()

getLexer

public Lexer getLexer(InPort inp,
                      SourceMessages messages)
Overrides:
getLexer in interface Language

getName

public String getName()
Overrides:
getName in interface Language

getTypeFor

public Type getTypeFor(Class clas)
Overrides:
getTypeFor in interface Language

getTypeFor

public Type getTypeFor(String name)
Overrides:
getTypeFor in interface Language

main

public static void main(String[] args)

read

public Object read(InPort in)
            throws java.io.IOException,
                   SyntaxException

readableChar

public static void readableChar(char ch,
                                StringBuffer buf,
                                boolean quote)

readableString

public static String readableString(Object obj)
Call toString, quoting characters that are not ascii graphic chars. This method will probably be moved somewhere more appropriate.

registerEnvironment

public static void registerEnvironment()
The compiler insert calls to this method for applications and applets.