Kawa, the Java-based Scheme system
13.1 Differences between KRL and BRL
This section summarizes the known differences between KRL and BRL.
Unless otherwise specified, KRL in BRL-compatibility mode will
act as BRL.
In BRL a normal Scheme string
"mystring" is the same
as the inverted quote string
]mystring[, and both are instances
of the type
"mystring" is a normal Scheme string of type
]mystring[ is special type that suppresses output escaping.
When BRL writes out a string, it does not do any processing
to escape special characters like
<. However, KRL in its default
mode does normally ecsape characters and strings. Thus
is written as
You can stop it from doing this by overriding the output format, for example
--output-format scheme on the Kawa command line.
Various Scheme syntax forms, including
<body>, which is a list of one or more declarations and
expressions. In normal Scheme and in BRL the value of a
is the value of the last expression. In KRL the value of a
is the concatenation of all the values of the expressions,
as if using
In BRL a word starting with a colon is a keyword.
In KRL a word starting with a colon is an identifier, which by
default is bound to the
make-element function specialized
to take the rest of the word as the tag name (first argument).
BRL has an extensive utility library. Most of this has not yet been ported
to KRL, even in BRL-compatibility mode.