Chris Hanson [Fri, 22 Feb 2002 04:16:20 +0000 (04:16 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:55:30 +0000 (03:55 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:42:52 +0000 (03:42 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:21:43 +0000 (03:21 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Fri, 22 Feb 2002 03:15:47 +0000 (03:15 +0000)]
Eliminate non-hygienic macros.
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.
Chris Hanson [Fri, 22 Feb 2002 01:34:04 +0000 (01:34 +0000)]
Don't close the identifier of a definition.
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.
Chris Hanson [Thu, 21 Feb 2002 18:56:38 +0000 (18:56 +0000)]
Update copyright statement.
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.
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.
Chris Hanson [Tue, 19 Feb 2002 19:09:12 +0000 (19:09 +0000)]
Fix typo in previous change.
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.
Chris Hanson [Tue, 19 Feb 2002 12:47:02 +0000 (12:47 +0000)]
Add "unknown-8bit" to list of known character sets.
Chris Hanson [Sat, 16 Feb 2002 06:43:11 +0000 (06:43 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Sat, 16 Feb 2002 03:37:50 +0000 (03:37 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Sat, 16 Feb 2002 03:32:20 +0000 (03:32 +0000)]
Eliminate non-hygienic macros.
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.
Chris Hanson [Thu, 14 Feb 2002 15:58:56 +0000 (15:58 +0000)]
Make sure that all expressions are properly closed.
Chris Hanson [Thu, 14 Feb 2002 05:05:26 +0000 (05:05 +0000)]
Fix bug: name->foo procedures no longer accept string arguments.
Chris Hanson [Thu, 14 Feb 2002 01:24:24 +0000 (01:24 +0000)]
Make 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.
Chris Hanson [Wed, 13 Feb 2002 18:45:24 +0000 (18:45 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Wed, 13 Feb 2002 05:56:24 +0000 (05:56 +0000)]
Eliminate non-hygienic macros.
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.
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.
Chris Hanson [Wed, 13 Feb 2002 01:04:13 +0000 (01:04 +0000)]
Modify CASE syntactic keyword to generate better code for tests.
Chris Hanson [Wed, 13 Feb 2002 01:00:56 +0000 (01:00 +0000)]
Add descriptions of new environment operations.
Chris Hanson [Tue, 12 Feb 2002 21:50:12 +0000 (21:50 +0000)]
Add descriptions of new environment operations.
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.
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
Chris Hanson [Tue, 12 Feb 2002 14:54:42 +0000 (14:54 +0000)]
Make changes related to new syntax engine.
Chris Hanson [Tue, 12 Feb 2002 05:58:16 +0000 (05:58 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Tue, 12 Feb 2002 00:31:37 +0000 (00:31 +0000)]
Don't close the identifier of a definition.
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.
Chris Hanson [Tue, 12 Feb 2002 00:29:16 +0000 (00:29 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Tue, 12 Feb 2002 00:26:34 +0000 (00:26 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Sun, 10 Feb 2002 06:03:25 +0000 (06:03 +0000)]
Don'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.
Chris Hanson [Sat, 9 Feb 2002 06:10:11 +0000 (06:10 +0000)]
Don'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.
Chris Hanson [Sat, 9 Feb 2002 05:43:15 +0000 (05:43 +0000)]
Use CLOSE-SYNTAX where possible.
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.
Chris Hanson [Fri, 8 Feb 2002 03:55:01 +0000 (03:55 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Fri, 8 Feb 2002 03:31:11 +0000 (03:31 +0000)]
Eliminate instances of FALSE.
Chris Hanson [Fri, 8 Feb 2002 03:15:10 +0000 (03:15 +0000)]
Add missing macro imports.
Chris Hanson [Fri, 8 Feb 2002 03:13:05 +0000 (03:13 +0000)]
Eliminate non-hygienic macros.
Chris Hanson [Fri, 8 Feb 2002 03:01:54 +0000 (03:01 +0000)]
Fix error message in PARSE-MIT-LAMBDA-LIST.
Chris Hanson [Thu, 7 Feb 2002 05:58:14 +0000 (05:58 +0000)]
Eliminate non-hygienic macros.
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.
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.
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.
Chris Hanson [Mon, 4 Feb 2002 21:50:16 +0000 (21:50 +0000)]
Initial draft of macro documentation.
Chris Hanson [Mon, 4 Feb 2002 21:49:22 +0000 (21:49 +0000)]
Initial draft of macro documentation.
Chris Hanson [Mon, 4 Feb 2002 06:26:58 +0000 (06:26 +0000)]
Fix fatal bug in previous revision.
Chris Hanson [Sun, 3 Feb 2002 04:42:26 +0000 (04:42 +0000)]
Update version to reflect changes for new syntax engine.
Chris Hanson [Sun, 3 Feb 2002 03:38:58 +0000 (03:38 +0000)]
Merge hygienic-macros branch into trunk.
Chris Hanson [Tue, 29 Jan 2002 20:49:56 +0000 (20:49 +0000)]
Use 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.
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.