| java.lang.Object gnu.expr.Language gnu.kawa.lispexpr.LispLanguage
All known Subclasses: kawa.standard.Scheme, gnu.commonlisp.lang.Lisp2,
LispLanguage | abstract public class LispLanguage extends Language (Code) | | Language sub-class for Lisp-like languages (including Scheme).
|
defaultReadTable | public ReadTable defaultReadTable(Code) | | The default ReadTable for this language.
|
lookup_sym | final public static String lookup_sym(Code) | | Used for Kawa infix ':' operator.
|
quasiquote_sym | final public static String quasiquote_sym(Code) | | |
unquotesplicing_sym | final public static String unquotesplicing_sym(Code) | | |
createReadTable | abstract public ReadTable createReadTable()(Code) | | Create a fresh ReadTable appropriate for this language.
|
defSntxStFld | protected void defSntxStFld(String name, String cname, String fname)(Code) | | Declare in the current Environment a Syntax bound to a static field.
Parameters: name - the procedure's source-level name. Parameters: cname - the name of the class containing the field. Parameters: fname - the name of the field, which should be a staticfinal field whose type extends kawa.lang.Syntax. |
langSymbolToSymbol | public static Symbol langSymbolToSymbol(Object sym)(Code) | | Convert the Language's idea of a symbol to a gnu.mapping.Symbol.
|
resolve | public void resolve(Compilation comp)(Code) | | Resolve names and other post-parsing processing.
|
selfEvaluatingSymbol | public boolean selfEvaluatingSymbol(Object obj)(Code) | | |
Methods inherited from gnu.expr.Language | final public Type asType(Object spec)(Code)(Java Doc) public Object booleanObject(boolean b)(Code)(Java Doc) public Object coerceFromObject(Class clas, Object obj)(Code)(Java Doc) public Object coerceToObject(Class clas, Object obj)(Code)(Java Doc) public Object coerceToObject(int val)(Code)(Java Doc) public Declaration declFromField(ModuleExp mod, Object fvalue, Field fld)(Code)(Java Doc) protected void defAliasStFld(String name, String cname, String fname)(Code)(Java Doc) protected void defProcStFld(String name, String cname, String fname)(Code)(Java Doc) protected void defProcStFld(String name, String cname)(Code)(Java Doc) public void define(String sym, Object p)(Code)(Java Doc) final public void defineFunction(Named proc)(Code)(Java Doc) public void defineFunction(String name, Object proc)(Code)(Java Doc) public static Language detect(InputStream in) throws IOException(Code)(Java Doc) public static Language detect(InPort port) throws IOException(Code)(Java Doc) public static Language detect(String line)(Code)(Java Doc) public void emitCoerceToBoolean(CodeAttr code)(Code)(Java Doc) public void emitPushBoolean(boolean value, CodeAttr code)(Code)(Java Doc) final public Object eval(String string) throws Throwable(Code)(Java Doc) final public Object eval(Reader in) throws Throwable(Code)(Java Doc) final public Object eval(InPort port) throws Throwable(Code)(Java Doc) final public void eval(String string, Writer out) throws Throwable(Code)(Java Doc) final public void eval(String string, PrintConsumer out) throws Throwable(Code)(Java Doc) final public void eval(String string, Consumer out) throws Throwable(Code)(Java Doc) final public void eval(Reader in, Writer out) throws Throwable(Code)(Java Doc) public void eval(Reader in, Consumer out) throws Throwable(Code)(Java Doc) public void eval(InPort port, CallContext ctx) throws Throwable(Code)(Java Doc) public String formatType(Type type)(Code)(Java Doc) public Compilation getCompilation(Lexer lexer, SourceMessages messages)(Code)(Java Doc) public static Language getDefaultLanguage()(Code)(Java Doc) public Object getEnvPropertyFor(java.lang.reflect.Field fld, Object value)(Code)(Java Doc) public Object getEnvPropertyFor(Declaration decl)(Code)(Java Doc) final public Environment getEnvironment()(Code)(Java Doc) public AbstractFormat getFormat(boolean readable)(Code)(Java Doc) public static Language getInstance(String name)(Code)(Java Doc) public static Language getInstance(String langName, Class langClass)(Code)(Java Doc) public static Language getInstanceFromFilenameExtension(String filename)(Code)(Java Doc) public Environment getLangEnvironment()(Code)(Java Doc) final public Type getLangTypeFor(Type type)(Code)(Java Doc) public static String[][] getLanguages()(Code)(Java Doc) abstract public Lexer getLexer(InPort inp, SourceMessages messages)(Code)(Java Doc) public String getName()(Code)(Java Doc) public int getNamespaceOf(Declaration decl)(Code)(Java Doc) final public Environment getNewEnvironment()(Code)(Java Doc) public Consumer getOutputConsumer(Writer out)(Code)(Java Doc) public Procedure getPrompter()(Code)(Java Doc) public Symbol getSymbol(String name)(Code)(Java Doc) public Type getTypeFor(Class clas)(Code)(Java Doc) public Type getTypeFor(String name)(Code)(Java Doc) final public Type getTypeFor(Object spec, boolean lenient)(Code)(Java Doc) final public Type getTypeFor(Expression exp)(Code)(Java Doc) public Type getTypeFor(Expression exp, boolean lenient)(Code)(Java Doc) public boolean hasNamespace(Declaration decl, int namespace)(Code)(Java Doc) public boolean hasSeparateFunctionNamespace()(Code)(Java Doc) public boolean isTrue(Object value)(Code)(Java Doc) public void loadClass(String name) throws java.lang.ClassNotFoundException(Code)(Java Doc) public Object lookup(String name)(Code)(Java Doc) public NamedLocation lookupBuiltin(Symbol name, Object property, int hash)(Code)(Java Doc) public Object noValue()(Code)(Java Doc) final public Compilation parse(InPort port, gnu.text.SourceMessages messages, int options) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc) final public Compilation parse(InPort port, gnu.text.SourceMessages messages, ModuleInfo info) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc) final public Compilation parse(Lexer lexer, int options, ModuleInfo info) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc) abstract public boolean parse(Compilation comp, int options) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc) public static void registerLanguage(String[] langMapping)(Code)(Java Doc) public void resolve(Compilation comp)(Code)(Java Doc) public void runAsApplication(String[] args)(Code)(Java Doc) public static void setDefaultLanguage(Language language)(Code)(Java Doc) public static synchronized void setDefaults(Language lang)(Code)(Java Doc) public static Type string2Type(String name)(Code)(Java Doc)
|
|
|