Chris Hanson [Thu, 13 Mar 2003 03:15:41 +0000 (03:15 +0000)]
Use explicit name for hash-table type descriptor.
Chris Hanson [Thu, 13 Mar 2003 03:12:15 +0000 (03:12 +0000)]
Fix mistaken reference to DEFINE-STRUCTURE type descriptor.
Chris Hanson [Wed, 12 Mar 2003 20:41:42 +0000 (20:41 +0000)]
Change both records and named structures to store default values as
thunks in the type structure, which are then called when needed.
Introduce new procedures to get the default value for a slot, given
the type descriptor, and use them as needed in DEFINE-STRUCTURE,
rather than just inserting the default-init expression.
Put back the UNPARSER-METHOD argument to MAKE-RECORD-TYPE, and use it
in DEFINE-STRUCTURE.
Once again, use RECORD-KEYWORD-CONSTRUCTOR in DEFINE-STRUCTURE, this
time with better results.
Chris Hanson [Wed, 12 Mar 2003 20:40:28 +0000 (20:40 +0000)]
Fix bug: STRUCTURE-TAG/DEFAULT-VALUE can't be used on untagged
structures.
Chris Hanson [Tue, 11 Mar 2003 05:01:21 +0000 (05:01 +0000)]
Change both records and named structures to store default values as
thunks in the type structure, which are then called when needed.
Introduce new procedures to get the default value for a slot, given
the type descriptor, and use them as needed in DEFINE-STRUCTURE,
rather than just inserting the default-init expression.
Put back the UNPARSER-METHOD argument to MAKE-RECORD-TYPE, and use it
in DEFINE-STRUCTURE.
Once again, use RECORD-KEYWORD-CONSTRUCTOR in DEFINE-STRUCTURE, this
time with better results.
Chris Hanson [Mon, 10 Mar 2003 20:53:51 +0000 (20:53 +0000)]
Eliminate incorrect usage of default initializers in DEFINE-STRUCTURE.
These initializers contain variable references that are intended to
refer to other slots in the structure. The correct usage assumes that
the initializers are closed in the environment in which the
DEFINE-STRUCTURE form appears.
Chris Hanson [Mon, 10 Mar 2003 20:12:30 +0000 (20:12 +0000)]
If script is invoked from top-level build directory (the usual case),
allow user to omit the argument.
Chris Hanson [Mon, 10 Mar 2003 06:05:53 +0000 (06:05 +0000)]
Fix typo in %RECORD-CONSTRUCTOR-GIVEN-NAMES.
Chris Hanson [Sun, 9 Mar 2003 17:17:06 +0000 (17:17 +0000)]
Change START-INDENT to be two booleans, INDENT-DTD? and
INDENT-ATTRIBUTES?.
Chris Hanson [Sat, 8 Mar 2003 05:28:29 +0000 (05:28 +0000)]
Don't save DEFAULT-RECORD, go back to using DEFAULT-VALUES.
DEFAULT-RECORD has the problem that when the defaults aren't
specified, often the record can't be printed, which makes examining
the structure painful.
Chris Hanson [Sat, 8 Mar 2003 04:53:58 +0000 (04:53 +0000)]
Revert earlier change to use RECORD-KEYWORD-CONSTRUCTOR, because it
doesn't handle default values right.
Actually, I don't think it can do so, because DEFINE-STRUCTURE has
default expressions rather than default values; the expressions are
intended to be evaluated within the context of the constructor. I
think this is a design flaw, but I'm not yet sure whether it is OK to
fix the design.
Chris Hanson [Sat, 8 Mar 2003 02:52:33 +0000 (02:52 +0000)]
Fix thinko in previous change.
Chris Hanson [Sat, 8 Mar 2003 02:48:36 +0000 (02:48 +0000)]
Use angle notation for type descriptor.
Chris Hanson [Sat, 8 Mar 2003 02:40:14 +0000 (02:40 +0000)]
Use angle notation for type descriptor.
Chris Hanson [Sat, 8 Mar 2003 02:26:01 +0000 (02:26 +0000)]
Implement GUARANTEE- procedures for symbols.
Chris Hanson [Sat, 8 Mar 2003 02:16:14 +0000 (02:16 +0000)]
Use angle notation for type descriptor.
Chris Hanson [Sat, 8 Mar 2003 02:09:05 +0000 (02:09 +0000)]
Export GUARANTEE-PARSER-MACROS.
Chris Hanson [Sat, 8 Mar 2003 02:05:50 +0000 (02:05 +0000)]
Don't use WRITE-TO-STRING in ->TYPE-NAME; it gets called too early in
the cold load.
Chris Hanson [Sat, 8 Mar 2003 02:03:47 +0000 (02:03 +0000)]
Fix typo in previous change.
Chris Hanson [Fri, 7 Mar 2003 21:24:45 +0000 (21:24 +0000)]
Export some syntactic-environment procedures.
Chris Hanson [Fri, 7 Mar 2003 21:22:51 +0000 (21:22 +0000)]
Export some syntactic-environment procedures.
Chris Hanson [Fri, 7 Mar 2003 21:18:22 +0000 (21:18 +0000)]
Use angle notation for type descriptor.
Chris Hanson [Fri, 7 Mar 2003 21:13:29 +0000 (21:13 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 20:53:22 +0000 (20:53 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 20:48:09 +0000 (20:48 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 20:41:23 +0000 (20:41 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 19:40:14 +0000 (19:40 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 19:34:48 +0000 (19:34 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 19:19:24 +0000 (19:19 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 19:09:22 +0000 (19:09 +0000)]
Use DEFINE-RECORD-TYPE to make record descriptions more succinct.
Chris Hanson [Fri, 7 Mar 2003 19:08:28 +0000 (19:08 +0000)]
Remove angle brackets ("<...>") from record-type name.
Chris Hanson [Fri, 7 Mar 2003 18:45:58 +0000 (18:45 +0000)]
Use RECORD-KEYWORD-CONSTRUCTOR.
Chris Hanson [Fri, 7 Mar 2003 18:34:43 +0000 (18:34 +0000)]
Implement RECORD-KEYWORD-CONSTRUCTOR.
Chris Hanson [Fri, 7 Mar 2003 06:18:17 +0000 (06:18 +0000)]
Fix typo.
Chris Hanson [Fri, 7 Mar 2003 05:49:18 +0000 (05:49 +0000)]
Rename RECORD-COPY to COPY-RECORD.
Chris Hanson [Fri, 7 Mar 2003 05:48:36 +0000 (05:48 +0000)]
Revamp the record abstraction. Record types now have a "default
record" that can be used as a template to speed up record
construction, and to hold default slot values. Eliminate optional
print-method argument to MAKE-RECORD-TYPE, replacing it with an
optional default-values argument. Tune record constructors to be very
fast for those cases where it is easy to do so. Change RECORD-COPY to
COPY-RECORD.
Chris Hanson [Fri, 7 Mar 2003 05:42:38 +0000 (05:42 +0000)]
Revert most of previous change. Instead introduce new procedures
LIST?->LENGTH and LIST-OF-TYPE?->LENGTH (yes, I know these names suck;
I'm open to suggestions). Also introduce corresponding GUARANTEE
procedures.
Chris Hanson [Thu, 6 Mar 2003 15:28:48 +0000 (15:28 +0000)]
Change LIST?, ALIST?, and LIST-OF-TYPE? to return the length of the
list when true. New procedures GUARANTEE-LIST, GUARANTEE-ALIST, and
GUARANTEE-LIST-OF-TYPE. Replace GUARANTEE-INDEX/LIST with
GUARANTEE-INDEX-FIXNUM.
Chris Hanson [Thu, 6 Mar 2003 05:41:19 +0000 (05:41 +0000)]
Eliminate long-unused support for applicable records.
Chris Hanson [Thu, 6 Mar 2003 05:14:21 +0000 (05:14 +0000)]
Change name of button type from BUTTON-RECORD-TYPE to <BUTTON>.
Chris Hanson [Thu, 6 Mar 2003 05:05:52 +0000 (05:05 +0000)]
Fix mistake in definition of DEFINE-RECORD-TYPE: fields are in CDDDDR
of form, not in the fifth element.
Chris Hanson [Thu, 6 Mar 2003 04:57:52 +0000 (04:57 +0000)]
Eliminate long-unused support for applicable records.
Chris Hanson [Wed, 5 Mar 2003 01:15:13 +0000 (01:15 +0000)]
New procedure XML->WIDE-STRING.
Chris Hanson [Wed, 5 Mar 2003 01:14:40 +0000 (01:14 +0000)]
Restructure XML output procedures to take a rest argument that is a
list of keyword options. At present, there is only one option,
'start-indent, which turns the indentation on or off.
Chris Hanson [Mon, 3 Mar 2003 12:42:13 +0000 (12:42 +0000)]
Fix typo.
Chris Hanson [Sun, 2 Mar 2003 03:49:46 +0000 (03:49 +0000)]
Fix several parser bugs that were found by the conformance tests.
Chris Hanson [Sun, 2 Mar 2003 03:48:47 +0000 (03:48 +0000)]
Don't allow whitespace in DTD.
Chris Hanson [Sun, 2 Mar 2003 02:48:39 +0000 (02:48 +0000)]
Reject documents that contain entity references whose replacement text
isn't fully defined.
Chris Hanson [Sat, 1 Mar 2003 16:53:39 +0000 (16:53 +0000)]
Major rewrite, primarily to eliminate XML-UNINTERPRETED, replacing it
with XML-ENTITY-REF and XML-PARAMETER-ENTITY-REF. Also add careful
type checking to data structures, so that argument structure is
verified.
Chris Hanson [Sat, 1 Mar 2003 05:38:22 +0000 (05:38 +0000)]
Fix logic error in UTF-8 decoding.
Chris Hanson [Fri, 28 Feb 2003 04:40:25 +0000 (04:40 +0000)]
Major rewrite of Unicode support. New design supports "wide"
characters and strings, and has support for UTF-8, UTF-16, and UTF-32
encodings.
Chris Hanson [Fri, 28 Feb 2003 04:36:04 +0000 (04:36 +0000)]
Change character representation to have 21 code bits and 4 bucky bits.
This new representation allows all Unicode characters to be
represented.
Chris Hanson [Thu, 27 Feb 2003 21:27:58 +0000 (21:27 +0000)]
Allow OPEN-INPUT-STRING to accept #F for optional arguments.
Chris Hanson [Wed, 26 Feb 2003 00:24:29 +0000 (00:24 +0000)]
Change GUARANTEE-SUBSTRING-END-INDEX to take a length argument rather
than a string argument.
Chris Hanson [Tue, 25 Feb 2003 20:53:22 +0000 (20:53 +0000)]
Remove references to #\T- characters.
Chris Hanson [Tue, 25 Feb 2003 20:37:28 +0000 (20:37 +0000)]
Add GUARANTEE-LIMITED-INDEX-FIXNUM.
Chris Hanson [Tue, 25 Feb 2003 20:35:26 +0000 (20:35 +0000)]
Add GUARANTEE-INDEX-FIXNUM.
Chris Hanson [Tue, 25 Feb 2003 18:35:12 +0000 (18:35 +0000)]
Add VECTOR-OF-TYPE? to indentation table.
Chris Hanson [Mon, 24 Feb 2003 21:56:36 +0000 (21:56 +0000)]
Export "guarantee" procedures for string indices.
Chris Hanson [Mon, 24 Feb 2003 21:55:32 +0000 (21:55 +0000)]
Export "guarantee" procedures for string indices.
Chris Hanson [Mon, 24 Feb 2003 20:48:38 +0000 (20:48 +0000)]
Export "guarantee" procedures for string indices.
Chris Hanson [Wed, 19 Feb 2003 17:11:07 +0000 (17:11 +0000)]
Add LIST-OF-TYPE? to indentation table.
Chris Hanson [Sun, 16 Feb 2003 06:28:49 +0000 (06:28 +0000)]
Generate changelog for HTML files.
Chris Hanson [Sun, 16 Feb 2003 06:16:44 +0000 (06:16 +0000)]
Generate changelog for HTML files.
Chris Hanson [Fri, 14 Feb 2003 19:22:43 +0000 (19:22 +0000)]
Change program name to MIT/GNU Scheme.
Chris Hanson [Fri, 14 Feb 2003 18:48:13 +0000 (18:48 +0000)]
Change program name to MIT/GNU Scheme.
Chris Hanson [Fri, 14 Feb 2003 18:30:31 +0000 (18:30 +0000)]
Change program name to MIT/GNU Scheme.
Chris Hanson [Fri, 14 Feb 2003 18:25:21 +0000 (18:25 +0000)]
Canonicalize copyright/license notices.
Chris Hanson [Thu, 13 Feb 2003 19:59:00 +0000 (19:59 +0000)]
Add support for SRFI-6 -- this consists of renaming some procedures.
Also change all the references to the SRFI-6 names.
Chris Hanson [Thu, 13 Feb 2003 18:17:09 +0000 (18:17 +0000)]
Add procedure to compare two build trees.
Chris Hanson [Thu, 13 Feb 2003 05:07:46 +0000 (05:07 +0000)]
Eliminate definitions embedded inside LET-SYNTAX, since they depend on
an incorrect implementation of LET-SYNTAX.
Chris Hanson [Thu, 13 Feb 2003 04:26:01 +0000 (04:26 +0000)]
Can't use top-level DEFINE-SYNTAX in this file, because it breaks the
cold load.
Chris Hanson [Thu, 13 Feb 2003 02:59:28 +0000 (02:59 +0000)]
Eliminate compiler warning.
Chris Hanson [Thu, 13 Feb 2003 02:46:41 +0000 (02:46 +0000)]
Fix interaction between LET-SYNTAX and definitions. Previously
a definition inside a LET-SYNTAX changed the environment outside the
LET-SYNTAX. Now it changes the environment inside the LET-SYNTAX, as
it is supposed to.
Chris Hanson [Thu, 13 Feb 2003 02:39:48 +0000 (02:39 +0000)]
Eliminate definitions embedded inside LET-SYNTAX, since they depend on
an incorrect implementation of LET-SYNTAX.
Chris Hanson [Wed, 12 Feb 2003 19:42:33 +0000 (19:42 +0000)]
Use "--" form for command-line arguments.
Chris Hanson [Wed, 12 Feb 2003 19:41:09 +0000 (19:41 +0000)]
Eliminate "(c)" string from copyright notices.
Chris Hanson [Wed, 12 Feb 2003 19:40:38 +0000 (19:40 +0000)]
Properly fix problem with LETREC/definition interaction. This
requires an extra environment frame in the syntax expander, to model
the frame that is potentially inserted in the output. And we must
continue to use the "auxiliary" variable mechanism, since the compiler
and several other things depend on it in order to recognize
LETREC-like structures.
Chris Hanson [Mon, 10 Feb 2003 06:09:54 +0000 (06:09 +0000)]
Complete rewrite, greatly simplied code. Initiated to eliminate use
of "internal" LAMBDA expressions, but got out of hand.
Chris Hanson [Mon, 10 Feb 2003 01:54:05 +0000 (01:54 +0000)]
Add GUARANTEE- procedures. Clean up a little, and update copyright
dates.
Chris Hanson [Sun, 9 Feb 2003 01:58:09 +0000 (01:58 +0000)]
Fix bug in output of LETREC expressions: internal definitions within
the LETREC must be rewritten as a nested LETREC. Previously they were
merged into the outer LETREC.
Chris Hanson [Fri, 7 Feb 2003 20:02:14 +0000 (20:02 +0000)]
New procedures: STRING->XML, SUBSTRING->XML, and XML->STRING.
Chris Hanson [Thu, 6 Feb 2003 19:48:32 +0000 (19:48 +0000)]
Export GUARANTEE-PAIR to global environment.
Chris Hanson [Thu, 6 Feb 2003 18:52:08 +0000 (18:52 +0000)]
Fix bug in definition of COMPLETE keyword.
Chris Hanson [Fri, 31 Jan 2003 06:04:38 +0000 (06:04 +0000)]
Generate appropriate error message when ellipsis appears in template
but not in pattern.
Chris Hanson [Fri, 31 Jan 2003 05:00:52 +0000 (05:00 +0000)]
Update copyright; use PAIR? rather than NULL? where appropriate.
Chris Hanson [Thu, 30 Jan 2003 17:30:25 +0000 (17:30 +0000)]
Export CHAR-SET:XML-WHITESPACE.
Chris Hanson [Sun, 26 Jan 2003 06:35:41 +0000 (06:35 +0000)]
Update copyright/license statement.
Chris Hanson [Sun, 26 Jan 2003 06:35:02 +0000 (06:35 +0000)]
Update copyright/license statement.
Chris Hanson [Sun, 26 Jan 2003 06:28:15 +0000 (06:28 +0000)]
Make XML-INTERN be an alias for STRING->SYMBOL.
Chris Hanson [Thu, 23 Jan 2003 02:53:22 +0000 (02:53 +0000)]
When TEST-FOR-IO-ON-CHANNEL returns HANGUP or ERROR, call
CHANNEL-READ/CHANNEL-WRITE just as if it had returned an I/O-available
result.
Chris Hanson [Wed, 22 Jan 2003 20:30:25 +0000 (20:30 +0000)]
Use new I/O synchronization to avoid blocking the Scheme process when
an output channel blocks.
Chris Hanson [Wed, 22 Jan 2003 19:46:40 +0000 (19:46 +0000)]
Change calling interface for test-select-registry so that all of the
returned mode information is passed back.
Chris Hanson [Wed, 22 Jan 2003 18:44:04 +0000 (18:44 +0000)]
Use new I/O synchronization support in runtime system.
Chris Hanson [Wed, 22 Jan 2003 18:43:05 +0000 (18:43 +0000)]
Use ERROR and HANGUP values returned by TEST-SELECT-DESCRIPTOR.
Chris Hanson [Wed, 22 Jan 2003 18:42:32 +0000 (18:42 +0000)]
Pay attention to POLLERR and POLLHUP values returned by poll().
Chris Hanson [Wed, 22 Jan 2003 02:06:44 +0000 (02:06 +0000)]
Use new I/O synchronization primitives. Requires microcode 14.11 or
later.
Chris Hanson [Wed, 22 Jan 2003 02:04:19 +0000 (02:04 +0000)]
Implement new primitives for I/O synchronization. These new
primitives have a uniform interface for all operating systems, and
support detection of write-ready events as well as read-ready. (Note
that the Win32 and OS/2 primitives aren't yet written.)
Chris Hanson [Wed, 15 Jan 2003 21:26:02 +0000 (21:26 +0000)]
Change default value of imail-mime-collapse-digest to #f.
Chris Hanson [Wed, 15 Jan 2003 04:52:25 +0000 (04:52 +0000)]
Add indent methods for SFRI keywords.