Package gnu.kawa.brl
Class BRL
- java.lang.Object
-
- gnu.expr.Language
-
- gnu.kawa.lispexpr.LispLanguage
-
- kawa.standard.Scheme
-
- gnu.kawa.brl.BRL
-
public class BRL extends Scheme
-
-
Field Summary
Fields Modifier and Type Field Description static BRL
brl_instance
Language instance for BRL dialect.protected static SimpleEnvironment
brlEnvironment
static BRL
krl_instance
Language instance for KRL dialect.-
Fields inherited from class kawa.standard.Scheme
apply, applyToArgs, booleanType, emptyStringLeft, emptyStringRight, FOLLOW_R5RS, FOLLOW_R6RS, FOLLOW_R7RS, forEach, instance, instanceOf, isEq, isEqual, isEqv, isEven, isOdd, kawaEnvironment, map, not, numEqu, numGEq, numGrt, numLEq, numLss
-
Fields inherited from class gnu.kawa.lispexpr.LispLanguage
bracket_apply_sym, bracket_list_sym, constructNamespace, defaultReadTable, dots3_sym, entityNamespace, getNamedPartLocation, lookup_sym, quasiquote_str, quasiquote_sym, quote_str, splice_colon_str, splice_colon_sym, splice_str, splice_sym, unitNamespace, unquote_str, unquotesplicing_str
-
Fields inherited from class gnu.expr.Language
current, environ, FUNCTION_NAMESPACE, global, NAMESPACE_PREFIX_NAMESPACE, PARSE_CURRENT_NAMES, PARSE_EMIT_MAIN, PARSE_EXPLICIT, PARSE_FOR_APPLET, PARSE_FOR_EVAL, PARSE_FOR_LINT, PARSE_FOR_SERVLET, PARSE_IMMEDIATE, PARSE_INTERACTIVE_MODULE, PARSE_ONE_LINE, PARSE_PROLOG, requirePedantic, userEnv, VALUE_NAMESPACE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BRL(Environment env)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appendBodyValues()
Should the values of body/block be appended as multiple values? Otherwise, just return the result of the final expression.ReadTable
createReadTable()
Create a freshReadTable
appropriate for this language.static BRL
getBrlInstance()
static Language
getInstance(boolean brlCompatible)
static BRL
getKrlInstance()
LispReader
getLexer(gnu.kawa.io.InPort inp, SourceMessages messages)
Consumer
getOutputConsumer(Writer out)
String
getPrimaryPrompt()
String
getSecondaryPrompt()
boolean
isBrlCompatible()
static void
registerEnvironment()
The compiler insert calls to this method for applications and applets.void
setBrlCompatible(boolean compat)
-
Methods inherited from class kawa.standard.Scheme
asSymbol, builtin, eval, eval, eval, exp2Type, formatType, getCompilationClass, getFormat, getInstance, getName, getNamespaceOf, getR5rsEnvironment, getR5rsInstance, getR6rsInstance, getR7rsInstance, getStandardToFollow, getStdEnvironment, getTypeMap, getTypeValue, keywordsAreSelfEvaluating, loadClass
-
Methods inherited from class gnu.kawa.lispexpr.LispLanguage
declFromField, decodeArrayType, defSntxStFld, defSntxStFld, fromLangSymbol, getNamedType, getPackageStyleType, getTypeFor, getTypeFor, langSymbolToSymbol, parse, resolve, selfEvaluatingSymbol
-
Methods inherited from class gnu.expr.Language
asType, booleanObject, booleanValue, coerceFromObject, coerceToObject, decodeType, defAliasStFld, define, defineFunction, defineFunction, defProcStFld, defProcStFld, defProcStFld, defProcStFldAs, detect, detect, detect, encodeType, eval, eval, eval, eval, eval, eval, eval, eval, eval, getCompilation, getCompilation, getDefaultLanguage, getEnvironment, getEnvPropertyFor, getEnvPropertyFor, getExtensions, getInstance, getInstance, getInstanceFromFilenameExtension, getLangEnvironment, getLangTypeFor, getLanguages, getNewEnvironment, getSymbol, getTypeFor, getTypeFor, getTypeFor, hasNamespace, hasSeparateFunctionNamespace, isTrue, isValidJavaName, loadClass, lookup, lookupBuiltin, mangleName, noValue, parse, parse, parse, parse, registerLanguage, restoreCurrent, runAsApplication, setCurrentLanguage, setDefaults, setSaveCurrent, unionType
-
-
-
-
Field Detail
-
krl_instance
public static final BRL krl_instance
Language instance for KRL dialect.
-
brl_instance
public static final BRL brl_instance
Language instance for BRL dialect.
-
brlEnvironment
protected static final SimpleEnvironment brlEnvironment
-
-
Constructor Detail
-
BRL
protected BRL(Environment env)
-
-
Method Detail
-
getInstance
public static Language getInstance(boolean brlCompatible)
-
getKrlInstance
public static BRL getKrlInstance()
-
getBrlInstance
public static BRL getBrlInstance()
-
isBrlCompatible
public boolean isBrlCompatible()
-
setBrlCompatible
public void setBrlCompatible(boolean compat)
-
appendBodyValues
public boolean appendBodyValues()
Description copied from class:Scheme
Should the values of body/block be appended as multiple values? Otherwise, just return the result of the final expression.- Overrides:
appendBodyValues
in classScheme
-
getLexer
public LispReader getLexer(gnu.kawa.io.InPort inp, SourceMessages messages)
-
getOutputConsumer
public Consumer getOutputConsumer(Writer out)
- Overrides:
getOutputConsumer
in classLanguage
-
registerEnvironment
public static void registerEnvironment()
The compiler insert calls to this method for applications and applets.
-
createReadTable
public ReadTable createReadTable()
Description copied from class:LispLanguage
Create a freshReadTable
appropriate for this language.- Overrides:
createReadTable
in classScheme
-
getPrimaryPrompt
public String getPrimaryPrompt()
- Overrides:
getPrimaryPrompt
in classLispLanguage
-
getSecondaryPrompt
public String getSecondaryPrompt()
- Overrides:
getSecondaryPrompt
in classLispLanguage
-
-