gnu.q2.lang

Class Q2


public class Q2
extends Scheme

Support for the experimental Q2 language. See the web site for information.

Field Summary

Fields inherited from class kawa.standard.Scheme

booleanType, displayFormat, forEach, instanceOf, isEq, isEqual, isEqv, kawaEnvironment, lambda, map, not, nullEnvironment, numEqu, numGEq, numGrt, numLEq, numLss, r4Environment, r5Environment, repl, writeFormat

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

Constructor Summary

Q2()

Method Summary

ReadTable
createReadTable()
Create a fresh ReadTable appropriate for this language.
Lexer
getLexer(InPort inp, SourceMessages messages)
Consumer
getOutputConsumer(java.io.Writer out)
Procedure
getPrompter()
static Q2
getQ2Instance()
ApplyExp
makeApply(Expression func, Expression[] args)
Expression
makeBody(Expression[] exps)
Combine a
static void
registerEnvironment()
The compiler insert calls to this method for applications and applets.

Methods inherited from class kawa.standard.Scheme

builtin, createReadTable, define_proc, define_proc, define_proc, eval, eval, eval, exp2Type, getFormat, getInstance, getLexer, getName, getNamedType, getNamespaceOf, getTypeFor, getTypeFor, getTypeValue, lookupBuiltin, read, registerEnvironment, string2Type

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

Constructor Details

Q2

public Q2()

Method Details

createReadTable

public ReadTable createReadTable()
Create a fresh ReadTable appropriate for this language.
Overrides:
createReadTable in interface Scheme

getLexer

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

getOutputConsumer

public Consumer getOutputConsumer(java.io.Writer out)

getPrompter

public Procedure getPrompter()
Overrides:
getPrompter in interface Language

getQ2Instance

public static Q2 getQ2Instance()

makeApply

public ApplyExp makeApply(Expression func,
                          Expression[] args)
Overrides:
makeApply in interface LispLanguage

makeBody

public Expression makeBody(Expression[] exps)
Combine a
Overrides:
makeBody in interface LispLanguage

registerEnvironment

public static void registerEnvironment()
The compiler insert calls to this method for applications and applets.
Overrides:
registerEnvironment in interface Scheme