Chris Hanson [Tue, 29 Jan 2002 20:43:14 +0000 (20:43 +0000)]
Use SCHEME_COMPILER variable to allow end-user override.
Chris Hanson [Tue, 29 Jan 2002 20:32:34 +0000 (20:32 +0000)]
Use SCHEME_COMPILER variable to allow end-user override.
Chris Hanson [Tue, 29 Jan 2002 06:12:55 +0000 (06:12 +0000)]
In socklen_t test, must include <sys/types.h> also.
Chris Hanson [Tue, 29 Jan 2002 06:00:09 +0000 (06:00 +0000)]
Undefine false and true prior to including <curses.h>, to work around
bug in recent versions of ncurses.
Chris Hanson [Tue, 29 Jan 2002 05:57:24 +0000 (05:57 +0000)]
Don't use <stdbool.h>; it is incompatible with older versions of
ncurses.
Chris Hanson [Tue, 29 Jan 2002 05:16:57 +0000 (05:16 +0000)]
Add shell script with environment variable that can be used to
override the default Scheme compiler.
Chris Hanson [Tue, 29 Jan 2002 04:59:03 +0000 (04:59 +0000)]
Fix problem: don't define true and false if <stdbool.h> exists,
because the GNU version of <stdbool.h> breaks in that case. Instead
just use <stdbool.h> to make the definitions.
Chris Hanson [Tue, 29 Jan 2002 04:14:03 +0000 (04:14 +0000)]
Add support for cut/paste to "clipboard", which seems to be new standard.
Chris Hanson [Tue, 29 Jan 2002 01:36:20 +0000 (01:36 +0000)]
Fix FSF address.
Chris Hanson [Mon, 28 Jan 2002 20:24:00 +0000 (20:24 +0000)]
Update release version to reflect that next release will be 7.7.0
rather than 7.6.1.
Chris Hanson [Sun, 27 Jan 2002 06:34:34 +0000 (06:34 +0000)]
Fix typo.
Chris Hanson [Tue, 22 Jan 2002 18:44:03 +0000 (18:44 +0000)]
Fix bug: package name for SOS was wrong.
Chris Hanson [Sat, 12 Jan 2002 02:57:38 +0000 (02:57 +0000)]
Add note about Hal's suggestion to overload o to subsume M-o.
Chris Hanson [Sat, 12 Jan 2002 02:56:35 +0000 (02:56 +0000)]
Move runtime support for DEFINE-STRUCTURE into "record.scm", in order
to simplify the boot sequence. This allows "defstr.scm" to move late
into the boot sequence and to use the record abstraction without
complicated tricks.
Chris Hanson [Wed, 9 Jan 2002 05:11:38 +0000 (05:11 +0000)]
Change remaining "syntax-table" references to "environment". Delete
unused procedure SF/SET-FILE-SYNTAX-TABLE!.
Chris Hanson [Tue, 8 Jan 2002 05:06:46 +0000 (05:06 +0000)]
Fix naming issue right (?).
Chris Hanson [Tue, 8 Jan 2002 05:03:56 +0000 (05:03 +0000)]
If reference trap has no name, print its number.
Chris Hanson [Mon, 7 Jan 2002 05:01:33 +0000 (05:01 +0000)]
Must do reference-trap mapping when looking things up in compiled-code
environments.
Chris Hanson [Mon, 7 Jan 2002 04:35:10 +0000 (04:35 +0000)]
Don't ever list bindings for packages.
Chris Hanson [Mon, 7 Jan 2002 04:30:28 +0000 (04:30 +0000)]
Fix problem: only one of the places that prints bindings knew about
syntactic keywords.
Chris Hanson [Mon, 7 Jan 2002 04:26:29 +0000 (04:26 +0000)]
Change representation of reference trap to show kind name rather than
number.
Chris Hanson [Mon, 7 Jan 2002 04:12:37 +0000 (04:12 +0000)]
Use new environment-abstraction design to clean up debugger access to
environments.
Chris Hanson [Mon, 7 Jan 2002 03:38:47 +0000 (03:38 +0000)]
Redesign way that macros are integrated into environments. Syntactic
keywords are now considered bound, but ordinary variable-reference
operations signal errors on those bindings; but each of the definition
operations can be used to modify either kind of binding.
New procedure ENVIRONMENT-DEFINABLE? can be used to determine if a
definition is allowed on a particular environment; currently it is
false on compiled-code environments.
New procedures ENVIRONMENT-REFERENCE-TYPE and ENVIRONMENT-SAFE-LOOKUP
provide very flexible mechanisms for determining what is contained in
an environment or binding without generating errors.
Chris Hanson [Sat, 5 Jan 2002 06:16:04 +0000 (06:16 +0000)]
Handle case where binding is a syntactic keyword.
Chris Hanson [Sat, 5 Jan 2002 06:15:10 +0000 (06:15 +0000)]
Rename ENVIRONMENT-WHICH-BINDS to ENVIRONMENT-THAT-BINDS.
Chris Hanson [Sat, 5 Jan 2002 06:15:01 +0000 (06:15 +0000)]
Rename ENVIRONMENT-WHICH-BINDS to ENVIRONMENT-THAT-BINDS.
Chris Hanson [Sat, 5 Jan 2002 05:57:56 +0000 (05:57 +0000)]
Don't unparse environments specially.
Chris Hanson [Fri, 4 Jan 2002 06:05:21 +0000 (06:05 +0000)]
New procedure GUARANTEE-ENVIRONMENT.
Chris Hanson [Sat, 29 Dec 2001 04:16:32 +0000 (04:16 +0000)]
Oops... last revision deleted a little too much.
Chris Hanson [Mon, 24 Dec 2001 04:21:50 +0000 (04:21 +0000)]
Eliminate deep-binding FLUID-LET.
Chris Hanson [Mon, 24 Dec 2001 04:18:01 +0000 (04:18 +0000)]
Eliminate references to UNASSIGNED?.
Chris Hanson [Sun, 23 Dec 2001 18:33:08 +0000 (18:33 +0000)]
Fix missing string line terminators.
Chris Hanson [Sun, 23 Dec 2001 18:28:52 +0000 (18:28 +0000)]
Fix missing string line terminators.
Chris Hanson [Sun, 23 Dec 2001 17:21:00 +0000 (17:21 +0000)]
Eliminate all references to SYNTAX-TABLE/DEFINE. Wrap all macros with
new procedure NON-HYGIENIC-MACRO-TRANSFORMER; this will serve as a
marker for identifying macros that need to be rewritten.
Chris Hanson [Sat, 22 Dec 2001 04:00:39 +0000 (04:00 +0000)]
Store macro definitions in environments rather than in syntax tables.
Chris Hanson [Sat, 22 Dec 2001 03:21:44 +0000 (03:21 +0000)]
Store macro definitions in environments rather than in syntax tables.
Chris Hanson [Sat, 22 Dec 2001 03:19:19 +0000 (03:19 +0000)]
Fix problem: DEFINE-SYNTAX was expanding into a fixed reference trap
in which the SCode lambda was inserted; it must instead expand into an
expression that evaluates the lambda and wraps it in a reference trap.
Chris Hanson [Fri, 21 Dec 2001 18:41:22 +0000 (18:41 +0000)]
Store macro definitions in environments rather than in syntax tables.
Chris Hanson [Fri, 21 Dec 2001 18:32:11 +0000 (18:32 +0000)]
Eliminate reference to SYNTAX-TABLE?.
Chris Hanson [Fri, 21 Dec 2001 18:31:11 +0000 (18:31 +0000)]
Eliminate reference to GUARANTEE-SYNTAX-TABLE.
Chris Hanson [Fri, 21 Dec 2001 18:28:31 +0000 (18:28 +0000)]
Store macro definitions in environments rather than in syntax tables.
Chris Hanson [Fri, 21 Dec 2001 18:27:27 +0000 (18:27 +0000)]
Eliminate references to MAKE-SYNTAX-TABLE.
Chris Hanson [Fri, 21 Dec 2001 18:22:57 +0000 (18:22 +0000)]
Store macro definitions in environments rather than in syntax tables.
Chris Hanson [Fri, 21 Dec 2001 18:18:21 +0000 (18:18 +0000)]
Fix bug: looking up a macro returns the trap, not the transformer.
Chris Hanson [Fri, 21 Dec 2001 05:18:22 +0000 (05:18 +0000)]
Change DEFINE-SYNTAX so that it emits code to define the macro at run
time when written at top level.
Chris Hanson [Fri, 21 Dec 2001 04:37:56 +0000 (04:37 +0000)]
Implement support for storing macro transformers in environments.
Chris Hanson [Fri, 21 Dec 2001 01:57:19 +0000 (01:57 +0000)]
Fix problem: this file was being syntaxed in the (RUNTIME) package but
loaded into the () package; it needed on the macros in (RUNTIME).
Also add this file to the package description, so that its bindings
are visible.
Chris Hanson [Fri, 21 Dec 2001 01:53:29 +0000 (01:53 +0000)]
Fix comment.
Chris Hanson [Thu, 20 Dec 2001 21:46:10 +0000 (21:46 +0000)]
Eliminate MACRO special form.
Chris Hanson [Thu, 20 Dec 2001 21:29:22 +0000 (21:29 +0000)]
Eliminate MACRO special form.
Chris Hanson [Thu, 20 Dec 2001 21:20:40 +0000 (21:20 +0000)]
Eliminate references to THE-ENVIRONMENT.
Chris Hanson [Thu, 20 Dec 2001 20:51:16 +0000 (20:51 +0000)]
Eliminate DEFINE-MACRO special form.
Chris Hanson [Thu, 20 Dec 2001 20:38:29 +0000 (20:38 +0000)]
Eliminate definition of SCODE-QUOTE.
Chris Hanson [Thu, 20 Dec 2001 20:32:02 +0000 (20:32 +0000)]
Fix over-long lines.
Chris Hanson [Thu, 20 Dec 2001 18:56:59 +0000 (18:56 +0000)]
Eliminate references to THE-ENVIRONMENT.
Chris Hanson [Thu, 20 Dec 2001 18:48:55 +0000 (18:48 +0000)]
Eliminate references to THE-ENVIRONMENT.
Chris Hanson [Thu, 20 Dec 2001 18:06:22 +0000 (18:06 +0000)]
Eliminate references to MAKE-ENVIRONMENT.
Chris Hanson [Thu, 20 Dec 2001 16:28:23 +0000 (16:28 +0000)]
Eliminate IN-PACKAGE and USING-SYNTAX special forms.
Chris Hanson [Thu, 20 Dec 2001 16:13:19 +0000 (16:13 +0000)]
Eliminate IN-PACKAGE and USING-SYNTAX special forms.
Chris Hanson [Thu, 20 Dec 2001 06:52:49 +0000 (06:52 +0000)]
Eliminate references to SYNTAX-TABLE-DEFINE and SYNTAX-TABLE-REF.
Chris Hanson [Thu, 20 Dec 2001 06:49:28 +0000 (06:49 +0000)]
Eliminate references to SYSTEM-GLOBAL-SYNTAX-TABLE.
Chris Hanson [Thu, 20 Dec 2001 06:21:45 +0000 (06:21 +0000)]
Eliminate references to SYSTEM-GLOBAL-SYNTAX-TABLE.
Chris Hanson [Thu, 20 Dec 2001 05:04:28 +0000 (05:04 +0000)]
Fix bug: compiler was being syntaxed in wrong environment.
Chris Hanson [Thu, 20 Dec 2001 04:14:49 +0000 (04:14 +0000)]
Fix missing bindings for UCODE-PRIMITIVE and UCODE-TYPE.
Chris Hanson [Thu, 20 Dec 2001 03:48:45 +0000 (03:48 +0000)]
Fix problem caused by SCode-manipulating macro being closed in
compiler environment.
Chris Hanson [Thu, 20 Dec 2001 03:46:57 +0000 (03:46 +0000)]
Fix problem caused by SCode-manipulating macro being closed in
compiler environment.
Chris Hanson [Thu, 20 Dec 2001 03:35:56 +0000 (03:35 +0000)]
Fix dangling reference to SF/SET-DEFAULT-SYNTAX-TABLE!.
Chris Hanson [Thu, 20 Dec 2001 03:27:54 +0000 (03:27 +0000)]
Eliminate references to SYNTAX-TABLE/SYSTEM-INTERNAL.
Chris Hanson [Thu, 20 Dec 2001 03:16:08 +0000 (03:16 +0000)]
Eliminate references to SYNTAX-TABLE/SYSTEM-INTERNAL.
Chris Hanson [Thu, 20 Dec 2001 03:04:02 +0000 (03:04 +0000)]
Eliminate COMPILER:ENABLE-EXPANSION-DECLARATIONS? and the associated
early-expansion macros. This hasn't been used in a while and there's
no clear way to make it work when environments and syntax tables are
unified.
Chris Hanson [Thu, 20 Dec 2001 02:37:21 +0000 (02:37 +0000)]
Remove unused definitions of DEFINE-EARLY-TRANSFORMER. Move bindings
for EARLY-TRANSFORMERS and EARLY-INSTRUCTIONS to "back/syerly.scm".
Chris Hanson [Thu, 20 Dec 2001 02:03:21 +0000 (02:03 +0000)]
Remove unused EQ-SUBSET? definitions.
Chris Hanson [Wed, 19 Dec 2001 21:55:37 +0000 (21:55 +0000)]
Eliminate references to SYNTAX-TABLE/SYSTEM-INTERNAL.
Chris Hanson [Wed, 19 Dec 2001 21:52:41 +0000 (21:52 +0000)]
Eliminate references to SYNTAX-TABLE/SYSTEM-INTERNAL.
Chris Hanson [Wed, 19 Dec 2001 21:41:14 +0000 (21:41 +0000)]
Eliminate references to SYNTAX-TABLE/SYSTEM-INTERNAL.
Chris Hanson [Wed, 19 Dec 2001 21:39:30 +0000 (21:39 +0000)]
Remove explicit references to syntax tables.
Chris Hanson [Wed, 19 Dec 2001 20:52:48 +0000 (20:52 +0000)]
Eliminate references to SYNTAX-TABLE/SYSTEM-INTERNAL.
Chris Hanson [Wed, 19 Dec 2001 19:53:46 +0000 (19:53 +0000)]
Change cache serialization to do condition testing once when Scheme is
started rather each time a closure is created.
Chris Hanson [Wed, 19 Dec 2001 05:26:35 +0000 (05:26 +0000)]
Delete SF/SET-DEFAULT-SYNTAX-TABLE!.
Chris Hanson [Wed, 19 Dec 2001 05:25:43 +0000 (05:25 +0000)]
Excise syntax tables from the REPL.
Chris Hanson [Wed, 19 Dec 2001 04:18:37 +0000 (04:18 +0000)]
Reimplement EXTEND-INTERPRETER-ENVIRONMENT and
MAKE-NULL-INTERPRETER-ENVIRONMENT so that they don't use EVAL, and so
that they take optional arguments specifying bindings to be defined in
the newly-allocated environment.
Chris Hanson [Wed, 19 Dec 2001 04:12:03 +0000 (04:12 +0000)]
Move SYNTAXER/DEFAULT-ENVIRONMENT into the syntaxer.
Chris Hanson [Wed, 19 Dec 2001 04:10:18 +0000 (04:10 +0000)]
Move SYNTAXER/DEFAULT-ENVIRONMENT into the syntaxer.
Chris Hanson [Wed, 19 Dec 2001 04:03:54 +0000 (04:03 +0000)]
Change references to LOCAL-ASSIGNMENT and LEXICAL-* to instead use
procedures in the environment abstraction.
Chris Hanson [Wed, 19 Dec 2001 03:31:25 +0000 (03:31 +0000)]
Change references to LOCAL-ASSIGNMENT and LEXICAL-* to instead use
procedures in the environment abstraction.
Chris Hanson [Wed, 19 Dec 2001 01:57:36 +0000 (01:57 +0000)]
Use default syntax table for LOAD.
Chris Hanson [Wed, 19 Dec 2001 01:54:09 +0000 (01:54 +0000)]
Change order of names in renaming export declaration; now first name
is always the destination and second is always the source.
Chris Hanson [Wed, 19 Dec 2001 01:52:10 +0000 (01:52 +0000)]
Rename references to SCode variable abstraction. Eliminate special
hack in "rename.scm"; instead use new packaging feature to link
different names.
Chris Hanson [Wed, 19 Dec 2001 01:49:45 +0000 (01:49 +0000)]
Change references to LOCAL-ASSIGNMENT and LEXICAL-* to instead use
procedures in the environment abstraction.
Chris Hanson [Wed, 19 Dec 2001 01:44:43 +0000 (01:44 +0000)]
Rename references to SCode variable abstraction.
Chris Hanson [Wed, 19 Dec 2001 01:44:03 +0000 (01:44 +0000)]
Rename references to SCode variable abstraction. Eliminate special
hack in "rename.scm"; instead use new packaging feature to link
different names.
Chris Hanson [Wed, 19 Dec 2001 01:42:39 +0000 (01:42 +0000)]
Eliminate unnecessary use of LEXICAL-UNREFERENCEABLE?.
Chris Hanson [Wed, 19 Dec 2001 01:40:12 +0000 (01:40 +0000)]
Use ENVIRONMENT-DEFINE in place of LOCAL-ASSIGNMENT.
Chris Hanson [Wed, 19 Dec 2001 01:39:52 +0000 (01:39 +0000)]
Implement ENVIRONMENT-DEFINE and ENVIRONMENT-ASSIGNED?. Change
ENVIRONMENT-LOOKUP to signal an error if the variable is unassigned.
Move ENVIRONMENT-SYNTAX-TABLE and SET-ENVIRONMENT-SYNTAX-TABLE! into
the syntax-table abstraction.
Chris Hanson [Tue, 18 Dec 2001 22:23:26 +0000 (22:23 +0000)]
Rename references to SCode variable abstraction.
Chris Hanson [Tue, 18 Dec 2001 22:17:19 +0000 (22:17 +0000)]
Use default syntax table for LOAD.
Chris Hanson [Tue, 18 Dec 2001 22:17:06 +0000 (22:17 +0000)]
Allow syntax table to be explicitly defaulted.
Chris Hanson [Tue, 18 Dec 2001 22:16:06 +0000 (22:16 +0000)]
Use default syntax table for LOAD.
Chris Hanson [Tue, 18 Dec 2001 22:12:39 +0000 (22:12 +0000)]
Use MAKE-CHAR-SYNTAX-TABLE rather than MAKE-SYNTAX-TABLE.
Chris Hanson [Tue, 18 Dec 2001 21:57:13 +0000 (21:57 +0000)]
Eliminate reference to SYNTAX-TABLE/SYSTEM-INTERNAL.