mit-scheme.git
22 years agoChange the following to allow their BUFFER argument to be any object
Chris Hanson [Wed, 6 Mar 2002 20:07:00 +0000 (20:07 +0000)]
Change the following to allow their BUFFER argument to be any object
accepted by ->BUFFER:

DEFINE-VARIABLE-LOCAL-VALUE!
UNDEFINE-VARIABLE-LOCAL-VALUE!
VARIABLE-LOCAL-VALUE?
SET-VARIABLE-LOCAL-VALUE!

22 years agoRewrite mechanism that controls whether PRIMARY or CLIPBOARD selection
Chris Hanson [Wed, 6 Mar 2002 20:05:44 +0000 (20:05 +0000)]
Rewrite mechanism that controls whether PRIMARY or CLIPBOARD selection
is used on X.  Now cut and paste are separately configurable, and the
defaults are different for each.  This should provide better behavior
on older systems while making the default more usable on newer ones.

22 years agoDon't output bare block declarations at top level; always wrap them in
Chris Hanson [Sat, 2 Mar 2002 04:31:41 +0000 (04:31 +0000)]
Don't output bare block declarations at top level; always wrap them in
an open block.  Otherwise, SF won't act on the declarations, just
passing them through to the compiler.

22 years agoThe "star-parser" directory must be compiled prior to the "imail"
Chris Hanson [Sat, 2 Mar 2002 04:21:44 +0000 (04:21 +0000)]
The "star-parser" directory must be compiled prior to the "imail"
directory.

22 years agoFix up various problems in the name management. This now appears to
Chris Hanson [Fri, 1 Mar 2002 17:46:25 +0000 (17:46 +0000)]
Fix up various problems in the name management.  This now appears to
work properly.

22 years agoAdd procedures to get a list of subexpressions of an scode combinator.
Chris Hanson [Fri, 1 Mar 2002 17:02:46 +0000 (17:02 +0000)]
Add procedures to get a list of subexpressions of an scode combinator.

22 years agoRewrite renaming code to allocate temporary uninterned symbols during
Chris Hanson [Fri, 1 Mar 2002 05:43:26 +0000 (05:43 +0000)]
Rewrite renaming code to allocate temporary uninterned symbols during
expansion, then map them to interned symbols in a post pass.  Mapping
algorithm avoids renaming where possible, keeping original names of
identifiers in outermost frames in cases of conflict.

22 years agoHash-table abstraction is now always loaded. It's no longer necessary
Chris Hanson [Fri, 1 Mar 2002 03:23:23 +0000 (03:23 +0000)]
Hash-table abstraction is now always loaded.  It's no longer necessary
to use LOAD-OPTION prior to use.

22 years agoRewrite the declaration processor to make it reusable for alpha
Chris Hanson [Fri, 1 Mar 2002 03:09:58 +0000 (03:09 +0000)]
Rewrite the declaration processor to make it reusable for alpha
substitution.

22 years agoMake sure scheme-program-name is defined for XEmacs.
Chris Hanson [Mon, 25 Feb 2002 19:50:11 +0000 (19:50 +0000)]
Make sure scheme-program-name is defined for XEmacs.

22 years agoFix another problem with NAME->VARIABLE being passed a string.
Chris Hanson [Mon, 25 Feb 2002 18:53:02 +0000 (18:53 +0000)]
Fix another problem with NAME->VARIABLE being passed a string.

22 years agoShow MIME message/delivery-status parts inline. Simplify the MIME
Chris Hanson [Fri, 22 Feb 2002 16:07:34 +0000 (16:07 +0000)]
Show MIME message/delivery-status parts inline.  Simplify the MIME
inline/outline decision logic.

22 years agoAdd alternate Unicode charsets from RFC-1641.
Chris Hanson [Fri, 22 Feb 2002 15:39:02 +0000 (15:39 +0000)]
Add alternate Unicode charsets from RFC-1641.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 05:14:11 +0000 (05:14 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 05:07:18 +0000 (05:07 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 04:38:10 +0000 (04:38 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 04:16:20 +0000 (04:16 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:55:30 +0000 (03:55 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:42:52 +0000 (03:42 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:21:43 +0000 (03:21 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:15:47 +0000 (03:15 +0000)]
Eliminate non-hygienic macros.

22 years agoIf a synthetic identifier is bound at top level, rename it to a
Chris Hanson [Fri, 22 Feb 2002 01:35:12 +0000 (01:35 +0000)]
If a synthetic identifier is bound at top level, rename it to a
special name so that it doesn't conflict with other non-EQ?
identifiers.

22 years agoDon't close the identifier of a definition.
Chris Hanson [Fri, 22 Feb 2002 01:34:04 +0000 (01:34 +0000)]
Don't close the identifier of a definition.

22 years agoFix FIND-DIR-NODE-FILES, which was returning the pathname list in
Chris Hanson [Thu, 21 Feb 2002 18:57:07 +0000 (18:57 +0000)]
Fix FIND-DIR-NODE-FILES, which was returning the pathname list in
reverse order.

22 years agoUpdate copyright statement.
Chris Hanson [Thu, 21 Feb 2002 18:56:38 +0000 (18:56 +0000)]
Update copyright statement.

22 years agoIn STRIP-SYNTACTIC-CLOSURES, don't copy the argument unless it has
Chris Hanson [Tue, 19 Feb 2002 21:28:20 +0000 (21:28 +0000)]
In STRIP-SYNTACTIC-CLOSURES, don't copy the argument unless it has
embedded syntactic closures.

22 years agoIn STRIP-SYNTACTIC-CLOSURES, don't copy the argument unless it has
Chris Hanson [Tue, 19 Feb 2002 21:27:50 +0000 (21:27 +0000)]
In STRIP-SYNTACTIC-CLOSURES, don't copy the argument unless it has
embedded syntactic closures.

22 years agoFix typo in previous change.
Chris Hanson [Tue, 19 Feb 2002 19:09:12 +0000 (19:09 +0000)]
Fix typo in previous change.

22 years agoFix some missing syntax: FLUID-LET must allow (access ...) as LHS in
Chris Hanson [Tue, 19 Feb 2002 19:08:08 +0000 (19:08 +0000)]
Fix some missing syntax: FLUID-LET must allow (access ...) as LHS in
binding.  Named LET must allow unassigned bindings.  RHS of syntax
binding must allow arbitrary procedure-valued expression, which is
treated as a non-hygienic macro expander.

22 years agoAdd "unknown-8bit" to list of known character sets.
Chris Hanson [Tue, 19 Feb 2002 12:47:02 +0000 (12:47 +0000)]
Add "unknown-8bit" to list of known character sets.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Sat, 16 Feb 2002 06:43:11 +0000 (06:43 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Sat, 16 Feb 2002 03:37:50 +0000 (03:37 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Sat, 16 Feb 2002 03:32:20 +0000 (03:32 +0000)]
Eliminate non-hygienic macros.

22 years agoChange most instruction-set macros to use reverse syntactic closure
Chris Hanson [Thu, 14 Feb 2002 22:03:32 +0000 (22:03 +0000)]
Change most instruction-set macros to use reverse syntactic closure
style, and propagate changes down through the maze of supporting
procedures.

22 years agoMake sure that all expressions are properly closed.
Chris Hanson [Thu, 14 Feb 2002 15:58:56 +0000 (15:58 +0000)]
Make sure that all expressions are properly closed.

22 years agoFix bug: name->foo procedures no longer accept string arguments.
Chris Hanson [Thu, 14 Feb 2002 05:05:26 +0000 (05:05 +0000)]
Fix bug: name->foo procedures no longer accept string arguments.

22 years agoMake sure that all expressions are properly closed.
Chris Hanson [Thu, 14 Feb 2002 01:24:24 +0000 (01:24 +0000)]
Make sure that all expressions are properly closed.

22 years agoMake sure that all expressions are properly closed.
Chris Hanson [Wed, 13 Feb 2002 18:46:04 +0000 (18:46 +0000)]
Make sure that all expressions are properly closed.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Wed, 13 Feb 2002 18:45:24 +0000 (18:45 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Wed, 13 Feb 2002 05:56:24 +0000 (05:56 +0000)]
Eliminate non-hygienic macros.

22 years agoFix bug: WITH-INSTANCE-VARIABLES should have used
Chris Hanson [Wed, 13 Feb 2002 01:18:41 +0000 (01:18 +0000)]
Fix bug: WITH-INSTANCE-VARIABLES should have used
MAKE-UNMAPPED-MACRO-REFERENCE-TRAP rather than
MAKE-MACRO-REFERENCE-TRAP.

22 years agoRename MAKE-NULL-TOP-LEVEL-ENVIRONMENT to MAKE-ROOT-TOP-LEVEL-ENVIRONMENT.
Chris Hanson [Wed, 13 Feb 2002 01:06:02 +0000 (01:06 +0000)]
Rename MAKE-NULL-TOP-LEVEL-ENVIRONMENT to MAKE-ROOT-TOP-LEVEL-ENVIRONMENT.
Eliminate alias for EXTEND-INTERPRETER-ENVIRONMENT.

22 years agoModify CASE syntactic keyword to generate better code for tests.
Chris Hanson [Wed, 13 Feb 2002 01:04:13 +0000 (01:04 +0000)]
Modify CASE syntactic keyword to generate better code for tests.

22 years agoAdd descriptions of new environment operations.
Chris Hanson [Wed, 13 Feb 2002 01:00:56 +0000 (01:00 +0000)]
Add descriptions of new environment operations.

22 years agoAdd descriptions of new environment operations.
Chris Hanson [Tue, 12 Feb 2002 21:50:12 +0000 (21:50 +0000)]
Add descriptions of new environment operations.

22 years agoDon't signal error from ENVIRONMENT-LOOKUP-MACRO if name is unbound.
Chris Hanson [Tue, 12 Feb 2002 21:17:47 +0000 (21:17 +0000)]
Don't signal error from ENVIRONMENT-LOOKUP-MACRO if name is unbound.

22 years agoAdd aliases:
Chris Hanson [Tue, 12 Feb 2002 15:14:21 +0000 (15:14 +0000)]
Add aliases:

interpreter-environment?          => top-level-environment?
extend-interpreter-environment    => extend-top-level-environment
make-null-interpreter-environment => make-null-top-level-environment

22 years agoMake changes related to new syntax engine.
Chris Hanson [Tue, 12 Feb 2002 14:54:42 +0000 (14:54 +0000)]
Make changes related to new syntax engine.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Tue, 12 Feb 2002 05:58:16 +0000 (05:58 +0000)]
Eliminate non-hygienic macros.

22 years agoDon't close the identifier of a definition.
Chris Hanson [Tue, 12 Feb 2002 00:31:37 +0000 (00:31 +0000)]
Don't close the identifier of a definition.

22 years agoImplement REVERSE-SYNTACTIC-ENVIRONMENTS. Add bindings for
Chris Hanson [Tue, 12 Feb 2002 00:30:51 +0000 (00:30 +0000)]
Implement REVERSE-SYNTACTIC-ENVIRONMENTS.  Add bindings for
SYSTEM-GLOBAL-SYNTAX-TABLE and EXTEND-IC-ENVIRONMENT to ease upgrading.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Tue, 12 Feb 2002 00:29:16 +0000 (00:29 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Tue, 12 Feb 2002 00:26:34 +0000 (00:26 +0000)]
Eliminate non-hygienic macros.

22 years agoDon't close the identifier of a definition.
Chris Hanson [Sun, 10 Feb 2002 06:03:25 +0000 (06:03 +0000)]
Don't close the identifier of a definition.

22 years agoDon't close the identifier of a definition.
Chris Hanson [Sat, 9 Feb 2002 06:17:50 +0000 (06:17 +0000)]
Don't close the identifier of a definition.

22 years agoDon't close the identifier of a definition.
Chris Hanson [Sat, 9 Feb 2002 06:10:11 +0000 (06:10 +0000)]
Don't close the identifier of a definition.

22 years agoDon't close the identifier of a definition.
Chris Hanson [Sat, 9 Feb 2002 05:56:43 +0000 (05:56 +0000)]
Don't close the identifier of a definition.

22 years agoUse CLOSE-SYNTAX where possible.
Chris Hanson [Sat, 9 Feb 2002 05:43:15 +0000 (05:43 +0000)]
Use CLOSE-SYNTAX where possible.

22 years agoChange renaming algorithm to treat synthetic identifiers differently
Chris Hanson [Fri, 8 Feb 2002 17:31:58 +0000 (17:31 +0000)]
Change renaming algorithm to treat synthetic identifiers differently
from symbols.  The new algorithm implements an EQ?-isomorphic map
between identifiers and renamed symbols.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 8 Feb 2002 03:55:01 +0000 (03:55 +0000)]
Eliminate non-hygienic macros.

22 years agoEliminate instances of FALSE.
Chris Hanson [Fri, 8 Feb 2002 03:31:11 +0000 (03:31 +0000)]
Eliminate instances of FALSE.

22 years agoAdd missing macro imports.
Chris Hanson [Fri, 8 Feb 2002 03:15:10 +0000 (03:15 +0000)]
Add missing macro imports.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Fri, 8 Feb 2002 03:13:05 +0000 (03:13 +0000)]
Eliminate non-hygienic macros.

22 years agoFix error message in PARSE-MIT-LAMBDA-LIST.
Chris Hanson [Fri, 8 Feb 2002 03:01:54 +0000 (03:01 +0000)]
Fix error message in PARSE-MIT-LAMBDA-LIST.

22 years agoEliminate non-hygienic macros.
Chris Hanson [Thu, 7 Feb 2002 05:58:14 +0000 (05:58 +0000)]
Eliminate non-hygienic macros.

22 years agoAdd notes regarding anonymous macro transformers and the dual action
Chris Hanson [Tue, 5 Feb 2002 18:12:03 +0000 (18:12 +0000)]
Add notes regarding anonymous macro transformers and the dual action
of top-level define-syntax.

22 years agoFix bug: top-level syntax definition was being loaded into global
Chris Hanson [Tue, 5 Feb 2002 17:34:04 +0000 (17:34 +0000)]
Fix bug: top-level syntax definition was being loaded into global
environment.

22 years agoSecond draft of macro documentation includes section on explicit
Chris Hanson [Tue, 5 Feb 2002 05:28:55 +0000 (05:28 +0000)]
Second draft of macro documentation includes section on explicit
renaming, plus a bunch of fixes to previous draft.

22 years agoInitial draft of macro documentation.
Chris Hanson [Mon, 4 Feb 2002 21:50:16 +0000 (21:50 +0000)]
Initial draft of macro documentation.

22 years agoInitial draft of macro documentation.
Chris Hanson [Mon, 4 Feb 2002 21:49:22 +0000 (21:49 +0000)]
Initial draft of macro documentation.

22 years agoFix fatal bug in previous revision.
Chris Hanson [Mon, 4 Feb 2002 06:26:58 +0000 (06:26 +0000)]
Fix fatal bug in previous revision.

22 years agoUpdate version to reflect changes for new syntax engine.
Chris Hanson [Sun, 3 Feb 2002 04:42:26 +0000 (04:42 +0000)]
Update version to reflect changes for new syntax engine.

22 years agoMerge hygienic-macros branch into trunk.
Chris Hanson [Sun, 3 Feb 2002 03:38:58 +0000 (03:38 +0000)]
Merge hygienic-macros branch into trunk.

22 years agoUse SCHEME_COMPILER variable to allow end-user override.
Chris Hanson [Tue, 29 Jan 2002 20:49:56 +0000 (20:49 +0000)]
Use SCHEME_COMPILER variable to allow end-user override.

22 years agoUse SCHEME_COMPILER variable to allow end-user override.
Chris Hanson [Tue, 29 Jan 2002 20:43:14 +0000 (20:43 +0000)]
Use SCHEME_COMPILER variable to allow end-user override.

22 years agoUse 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.

22 years agoIn socklen_t test, must include <sys/types.h> also.
Chris Hanson [Tue, 29 Jan 2002 06:12:55 +0000 (06:12 +0000)]
In socklen_t test, must include <sys/types.h> also.

22 years agoUndefine false and true prior to including <curses.h>, to work around
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.

22 years agoDon't use <stdbool.h>; it is incompatible with older versions of
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.

22 years agoAdd shell script with environment variable that can be used to
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.

22 years agoFix problem: don't define true and false if <stdbool.h> exists,
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.

22 years agoAdd support for cut/paste to "clipboard", which seems to be new standard.
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.

22 years agoFix FSF address.
Chris Hanson [Tue, 29 Jan 2002 01:36:20 +0000 (01:36 +0000)]
Fix FSF address.

22 years agoUpdate release version to reflect that next release will be 7.7.0
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.

22 years agoFix typo.
Chris Hanson [Sun, 27 Jan 2002 06:34:34 +0000 (06:34 +0000)]
Fix typo.

22 years agoFix bug: package name for SOS was wrong.
Chris Hanson [Tue, 22 Jan 2002 18:44:03 +0000 (18:44 +0000)]
Fix bug: package name for SOS was wrong.

22 years agoAdd note about Hal's suggestion to overload o to subsume M-o.
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.

22 years agoMove runtime support for DEFINE-STRUCTURE into "record.scm", in order
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.

22 years agoChange remaining "syntax-table" references to "environment". Delete
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!.

22 years agoFix naming issue right (?).
Chris Hanson [Tue, 8 Jan 2002 05:06:46 +0000 (05:06 +0000)]
Fix naming issue right (?).

22 years agoIf reference trap has no name, print its number.
Chris Hanson [Tue, 8 Jan 2002 05:03:56 +0000 (05:03 +0000)]
If reference trap has no name, print its number.

22 years agoMust do reference-trap mapping when looking things up in compiled-code
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.

22 years agoDon't ever list bindings for packages.
Chris Hanson [Mon, 7 Jan 2002 04:35:10 +0000 (04:35 +0000)]
Don't ever list bindings for packages.

22 years agoFix problem: only one of the places that prints bindings knew about
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.

22 years agoChange representation of reference trap to show kind name rather than
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.

22 years agoUse new environment-abstraction design to clean up debugger access to
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.

22 years agoRedesign way that macros are integrated into environments. Syntactic
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.

22 years agoHandle case where binding is a syntactic keyword.
Chris Hanson [Sat, 5 Jan 2002 06:16:04 +0000 (06:16 +0000)]
Handle case where binding is a syntactic keyword.

22 years agoRename ENVIRONMENT-WHICH-BINDS to ENVIRONMENT-THAT-BINDS.
Chris Hanson [Sat, 5 Jan 2002 06:15:10 +0000 (06:15 +0000)]
Rename ENVIRONMENT-WHICH-BINDS to ENVIRONMENT-THAT-BINDS.

22 years agoRename 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.