gnu.q2.lang
Class Q2

java.lang.Object
  extended by gnu.expr.Language
      extended by gnu.kawa.lispexpr.LispLanguage
          extended by kawa.standard.Scheme
              extended by gnu.q2.lang.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
current, env_counter, environ, FUNCTION_NAMESPACE, NAMESPACE_PREFIX, NAMESPACE_PREFIX_NAMESPACE, PARSE_IMMEDIATE, PARSE_ONE_LINE, userEnv, VALUE_NAMESPACE
 
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 consisting of a list of expression.
static void registerEnvironment()
          The compiler insert calls to this method for applications and applets.
 
Methods inherited from class kawa.standard.Scheme
builtin, define_proc, define_proc, define_proc, eval, eval, eval, exp2Type, getFormat, getInstance, getName, getNamedType, getNamespaceOf, getTypeFor, getTypeFor, getTypeValue, lookupBuiltin, read, string2Type
 
Methods inherited from class gnu.kawa.lispexpr.LispLanguage
declFromField, defSntxStFld, defSntxStFld, fromLangSymbol, langSymbolToSymbol, parse, selfEvaluatingSymbol
 
Methods inherited from class gnu.expr.Language
asType, booleanObject, coerceFromObject, coerceToObject, coerceToObject, defAliasStFld, define, defineFunction, defineFunction, defProcStFld, defProcStFld, emitCoerceToBoolean, emitPushBoolean, eval, eval, eval, eval, eval, eval, eval, eval, eval, getDefaultLanguage, getEnvironment, getEnvPropertyFor, getEnvPropertyFor, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLanguages, getNewEnvironment, getSymbol, getTypeFor, hasSeparateFunctionNamespace, isTrue, loadClass, lookup, noValue, parse, print, print, registerLanguage, runAsApplication, setDefaultLanguage, setDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Q2

public Q2()
Method Detail

getQ2Instance

public static Q2 getQ2Instance()

getLexer

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

getOutputConsumer

public Consumer getOutputConsumer(java.io.Writer out)
Overrides:
getOutputConsumer in class Language

registerEnvironment

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


makeBody

public Expression makeBody(Expression[] exps)
Description copied from class: LispLanguage
Combine a consisting of a list of expression.

Overrides:
makeBody in class LispLanguage

makeApply

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

getPrompter

public Procedure getPrompter()
Overrides:
getPrompter in class Language

createReadTable

public ReadTable createReadTable()
Description copied from class: LispLanguage
Create a fresh ReadTable appropriate for this language.

Overrides:
createReadTable in class Scheme