mit-scheme.git
38 years agoKeep track of the number of side-effects to a variable. Somehow this
Chris Hanson [Thu, 19 Mar 1987 23:06:16 +0000 (23:06 +0000)]
Keep track of the number of side-effects to a variable.  Somehow this
code was lost.

38 years agoDo something reasonable if the externs file does not exist.
Chris Hanson [Thu, 19 Mar 1987 17:23:08 +0000 (17:23 +0000)]
Do something reasonable if the externs file does not exist.

38 years agoThe `integrate-primitive-procedures' declaration was looking up the
Chris Hanson [Thu, 19 Mar 1987 17:19:06 +0000 (17:19 +0000)]
The `integrate-primitive-procedures' declaration was looking up the
name twice, resulting in a variable whose name was another variable.

38 years agoReorganize code for new directory structure. Break some large useful
Chris Hanson [Thu, 19 Mar 1987 00:56:02 +0000 (00:56 +0000)]
Reorganize code for new directory structure.  Break some large useful
files into smaller ones that can be compiled.  Delete all
`using-syntax' occurrences and `Edwin Variables'.

38 years agoInitial revision
Chris Hanson [Thu, 19 Mar 1987 00:49:12 +0000 (00:49 +0000)]
Initial revision

38 years agoReorganize code for new directory structure. Break some large useful
Chris Hanson [Thu, 19 Mar 1987 00:34:49 +0000 (00:34 +0000)]
Reorganize code for new directory structure.  Break some large useful
files into smaller ones that can be compiled.  Delete all
`using-syntax' occurrences and `Edwin Variables'.

38 years agoThe info stored in operations is 2-valued and must be separated into
Chris Hanson [Wed, 18 Mar 1987 22:51:09 +0000 (22:51 +0000)]
The info stored in operations is 2-valued and must be separated into
its components before being changed to the external representation.

38 years agoMaking suspend-world reset! the primitive io system on restart.
Guillermo J. Rozas [Wed, 18 Mar 1987 20:07:23 +0000 (20:07 +0000)]
Making suspend-world reset! the primitive io system on restart.

38 years agoAdding reset! to primitive io for the benefit of disk-restore.
Guillermo J. Rozas [Wed, 18 Mar 1987 20:05:36 +0000 (20:05 +0000)]
Adding reset! to primitive io for the benefit of disk-restore.

38 years agoChange runtime system so that a lambda's name is not considered a
Chris Hanson [Tue, 17 Mar 1987 18:55:18 +0000 (18:55 +0000)]
Change runtime system so that a lambda's name is not considered a
bound variable.  Eliminate all references to `#!false' and `#!true'.
Eliminate `canonicalize-filename-string', since pathname parsing is
now system-dependent.  Install new quasiquote expander which does
vectors.  Teach `eqv?' to handle null length vectors.  Eliminate
`make-package' special form.

38 years agoExterns files now are dumped in an internal form rather than by
Chris Hanson [Fri, 13 Mar 1987 04:14:48 +0000 (04:14 +0000)]
Externs files now are dumped in an internal form rather than by
converting them to SCode first.  This speeds up the process of
re-interning them.

Also, `sf' now maintains a database which allows the user to
programmatically specify syntax table and global declarations on a
per-filename basis.  This is used to eliminate `using-syntax' and
`integrate-external' occurrences in each file.

38 years agoAdd RELOAD-BAND-NAME.
Guillermo J. Rozas [Thu, 12 Mar 1987 17:48:32 +0000 (17:48 +0000)]
Add RELOAD-BAND-NAME.

38 years agoRemove compatibility with older versions of fasl files.
Guillermo J. Rozas [Thu, 12 Mar 1987 14:52:23 +0000 (14:52 +0000)]
Remove compatibility with older versions of fasl files.

38 years agoRename read-char-ready? to char-ready? as required by R^3RS.
Guillermo J. Rozas [Thu, 12 Mar 1987 02:20:33 +0000 (02:20 +0000)]
Rename read-char-ready? to char-ready? as required by R^3RS.

38 years agoAdd init file.
Guillermo J. Rozas [Thu, 12 Mar 1987 02:19:48 +0000 (02:19 +0000)]
Add init file.

38 years agoInitial revision
Guillermo J. Rozas [Thu, 12 Mar 1987 02:16:51 +0000 (02:16 +0000)]
Initial revision

38 years agoSplit pathnm.scm into OS independent and OS dependent part for
Guillermo J. Rozas [Thu, 12 Mar 1987 02:16:14 +0000 (02:16 +0000)]
Split pathnm.scm into OS independent and OS dependent part for
portability.

38 years agoOS_tty_tyi now returns ints.
Guillermo J. Rozas [Wed, 11 Mar 1987 07:37:06 +0000 (07:37 +0000)]
OS_tty_tyi now returns ints.

38 years agoEliminate some fossil primitives from io.c
Guillermo J. Rozas [Wed, 11 Mar 1987 07:33:51 +0000 (07:33 +0000)]
Eliminate some fossil primitives from io.c

38 years agoUpdate unknown.c, flush fossil io.c and minor OS changes.
Guillermo J. Rozas [Wed, 11 Mar 1987 07:32:56 +0000 (07:32 +0000)]
Update unknown.c, flush fossil io.c and minor OS changes.

38 years agoAdd integrate-external declaration.
Chris Hanson [Tue, 10 Mar 1987 14:58:01 +0000 (14:58 +0000)]
Add integrate-external declaration.

38 years agoChanges to unix.c and vms.c
Guillermo J. Rozas [Tue, 10 Mar 1987 14:14:11 +0000 (14:14 +0000)]
Changes to unix.c and vms.c

38 years agoEliminate references to "beta".
Chris Hanson [Tue, 10 Mar 1987 13:36:06 +0000 (13:36 +0000)]
Eliminate references to "beta".

38 years ago*** empty log message ***
Chris Hanson [Tue, 10 Mar 1987 13:25:33 +0000 (13:25 +0000)]
*** empty log message ***

38 years agoMake the microcode work on the Vax.
Guillermo J. Rozas [Mon, 9 Mar 1987 23:31:19 +0000 (23:31 +0000)]
Make the microcode work on the Vax.

38 years agoOops... losing typo.
Chris Hanson [Mon, 9 Mar 1987 16:02:18 +0000 (16:02 +0000)]
Oops... losing typo.

38 years agoChange to use named slots for microcode-identification table.
Chris Hanson [Mon, 9 Mar 1987 15:00:25 +0000 (15:00 +0000)]
Change to use named slots for microcode-identification table.

38 years agoAdd new microcode table: Identification_Vector.
Chris Hanson [Mon, 9 Mar 1987 14:45:18 +0000 (14:45 +0000)]
Add new microcode table: Identification_Vector.

38 years agoAdd new entries to ID vector: OS name and OS variant.
Chris Hanson [Mon, 9 Mar 1987 14:24:40 +0000 (14:24 +0000)]
Add new entries to ID vector: OS name and OS variant.

38 years agoWhen doing (read-char) from the terminal, check for any characters in
Chris Hanson [Sat, 7 Mar 1987 17:36:00 +0000 (17:36 +0000)]
When doing (read-char) from the terminal, check for any characters in
the input buffer before asking Emacs to read one.

38 years agoFix read-char-ready? for hpux.
Chris Hanson [Sat, 7 Mar 1987 11:44:20 +0000 (11:44 +0000)]
Fix read-char-ready? for hpux.

38 years agoChange error signalling of declaration processing procedures so that
Chris Hanson [Fri, 27 Feb 1987 21:59:36 +0000 (21:59 +0000)]
Change error signalling of declaration processing procedures so that
they can be called from outside of the syntaxer.

38 years agoChange SCode variable objects to unparse their name as an object
Chris Hanson [Fri, 20 Feb 1987 13:49:28 +0000 (13:49 +0000)]
Change SCode variable objects to unparse their name as an object
rather than a symbol, so as to distinguish between uninterned and
interned symbols.

38 years agoAdd a -utabmd command line option to Scheme.
Guillermo J. Rozas [Sun, 15 Feb 1987 16:10:52 +0000 (16:10 +0000)]
Add a -utabmd command line option to Scheme.

38 years agoChange name of `compilable-primitive-functions' and
Chris Hanson [Sun, 15 Feb 1987 15:46:23 +0000 (15:46 +0000)]
Change name of `compilable-primitive-functions' and
`compilable-primitive-variables' to be
`integrate-primitive-procedures'.

38 years agoUpgrade to match new compiler.
Chris Hanson [Sun, 15 Feb 1987 13:10:52 +0000 (13:10 +0000)]
Upgrade to match new compiler.

38 years agoVarious typos.
Chris Hanson [Sun, 15 Feb 1987 13:06:32 +0000 (13:06 +0000)]
Various typos.

38 years agoUpgrade spectrum back end to reflect changes in compiler since
Chris Hanson [Fri, 13 Feb 1987 09:41:41 +0000 (09:41 +0000)]
Upgrade spectrum back end to reflect changes in compiler since
original implementation.

38 years ago*** empty log message ***
Chris Hanson [Thu, 12 Feb 1987 09:30:28 +0000 (09:30 +0000)]
*** empty log message ***

38 years agoUse `modulo' rather than `remainder' to compute index of bucket in the
Chris Hanson [Thu, 12 Feb 1987 09:08:35 +0000 (09:08 +0000)]
Use `modulo' rather than `remainder' to compute index of bucket in the
hash table.  Reorganize code presentation.

38 years agoEntry for bchscheme (scheme with garbage collector to disk) added.
Guillermo J. Rozas [Thu, 12 Feb 1987 01:19:11 +0000 (01:19 +0000)]
Entry for bchscheme (scheme with garbage collector to disk) added.

38 years agoAdd new method for `unassigned-test' predicate type.
Chris Hanson [Thu, 12 Feb 1987 00:41:08 +0000 (00:41 +0000)]
Add new method for `unassigned-test' predicate type.

38 years agoRvalue expander for `access' was unable to expand its environment
Chris Hanson [Wed, 11 Feb 1987 22:55:14 +0000 (22:55 +0000)]
Rvalue expander for `access' was unable to expand its environment
component because it needed to know whether the ultimate result was an
SCFG or a PCFG.  Reorganized `rvalue->expression' so that this
information was available.

38 years ago*** empty log message ***
Guillermo J. Rozas [Wed, 11 Feb 1987 18:09:32 +0000 (18:09 +0000)]
*** empty log message ***

38 years agoMove list primitives to `boot.scm' because the compiler can't compile
Chris Hanson [Wed, 11 Feb 1987 02:22:09 +0000 (02:22 +0000)]
Move list primitives to `boot.scm' because the compiler can't compile
the `in-package' that used to be in `list.scm' to perform this
function.

Also, change the implementation of a few of the list operations to
make them compile more efficiently (at the expense of space in some
cases).

38 years agoMove list primitives to `boot.scm' because the compiler can't compile
Chris Hanson [Wed, 11 Feb 1987 02:21:11 +0000 (02:21 +0000)]
Move list primitives to `boot.scm' because the compiler can't compile
the `in-package' that used to be in `list.scm' to perform this
function.

38 years agoWhen sending `apply-closure' message to a `subproblem' receiver, the
Chris Hanson [Wed, 11 Feb 1987 00:10:24 +0000 (00:10 +0000)]
When sending `apply-closure' message to a `subproblem' receiver, the
receiver was left on the stack.  Change so that it is removed instead.

38 years agoAdded an option to print heaps when given the relevant parameters from
Guillermo J. Rozas [Tue, 10 Feb 1987 22:45:31 +0000 (22:45 +0000)]
Added an option to print heaps when given the relevant parameters from
the command line.

38 years agoFix incorrect subproblem receiver size.
Chris Hanson [Tue, 10 Feb 1987 22:14:37 +0000 (22:14 +0000)]
Fix incorrect subproblem receiver size.

38 years agoFix bug where radix passed explicitly to `string->number' was ignored.
Chris Hanson [Mon, 9 Feb 1987 23:10:13 +0000 (23:10 +0000)]
Fix bug where radix passed explicitly to `string->number' was ignored.

38 years agoSplit purify.c into purify.c and purutl.c
Guillermo J. Rozas [Mon, 9 Feb 1987 00:37:58 +0000 (00:37 +0000)]
Split purify.c into purify.c and purutl.c

38 years agoRedo some extern declarations for new garbage collector.
Guillermo J. Rozas [Sun, 8 Feb 1987 23:09:10 +0000 (23:09 +0000)]
Redo some extern declarations for new garbage collector.

38 years agoUnnecessary and incorrect reinitialization of Weak_Chain.
Guillermo J. Rozas [Sun, 8 Feb 1987 12:28:47 +0000 (12:28 +0000)]
Unnecessary and incorrect reinitialization of Weak_Chain.

38 years agoVarious trivial changes for the garbage collector to disk.
Guillermo J. Rozas [Sat, 7 Feb 1987 15:31:17 +0000 (15:31 +0000)]
Various trivial changes for the garbage collector to disk.

38 years agoAdd TERM_SIGNAL for unix.c
Guillermo J. Rozas [Sat, 7 Feb 1987 15:29:41 +0000 (15:29 +0000)]
Add TERM_SIGNAL for unix.c

38 years agoVarious changes to accomodate the garbage collector to disk.
Guillermo J. Rozas [Sat, 7 Feb 1987 15:25:07 +0000 (15:25 +0000)]
Various changes to accomodate the garbage collector to disk.

38 years agoAdd Reset_Memory to accomodate the garbage collector to disk.
Guillermo J. Rozas [Sat, 7 Feb 1987 15:23:37 +0000 (15:23 +0000)]
Add Reset_Memory to accomodate the garbage collector to disk.

38 years agoUpgrade spectrum back end to reflect changes in compiler since
Chris Hanson [Thu, 5 Feb 1987 21:49:47 +0000 (21:49 +0000)]
Upgrade spectrum back end to reflect changes in compiler since
original implementation.  This found some machine-dependent sections
of the "machine-independent" code.

38 years agoSome BBN changes afer the last merge.
Guillermo J. Rozas [Wed, 4 Feb 1987 17:51:58 +0000 (17:51 +0000)]
Some BBN changes afer the last merge.

38 years agoRemove comments around definition of BELL.
Guillermo J. Rozas [Wed, 4 Feb 1987 17:50:46 +0000 (17:50 +0000)]
Remove comments around definition of BELL.

38 years agoBBN changes after the last merge. Conditionalize STACK_GUARD_SIZE.
Guillermo J. Rozas [Wed, 4 Feb 1987 17:49:56 +0000 (17:49 +0000)]
BBN changes after the last merge.  Conditionalize STACK_GUARD_SIZE.

38 years agoSmall changes due to "bugs" in the C compiler used by BBN.
Guillermo J. Rozas [Wed, 4 Feb 1987 17:48:52 +0000 (17:48 +0000)]
Small changes due to "bugs" in the C compiler used by BBN.

38 years agoSome primitives have changed homes.
Guillermo J. Rozas [Tue, 3 Feb 1987 16:10:17 +0000 (16:10 +0000)]
Some primitives have changed homes.

38 years agoSome primitives have changed homes.
Guillermo J. Rozas [Tue, 3 Feb 1987 16:00:50 +0000 (16:00 +0000)]
Some primitives have changed homes.

38 years agogc-type has drifted here.
Guillermo J. Rozas [Tue, 3 Feb 1987 15:59:58 +0000 (15:59 +0000)]
gc-type has drifted here.

38 years agoClear_Memory and Setup_Memory have drifted to memmag.c
Guillermo J. Rozas [Tue, 3 Feb 1987 15:59:15 +0000 (15:59 +0000)]
Clear_Memory and Setup_Memory have drifted to memmag.c

38 years agoNew version. Memory management redistribution.
Guillermo J. Rozas [Tue, 3 Feb 1987 15:58:33 +0000 (15:58 +0000)]
New version.  Memory management redistribution.

38 years agoget-next-constant is now in this file. Redistributed.
Guillermo J. Rozas [Tue, 3 Feb 1987 15:57:39 +0000 (15:57 +0000)]
get-next-constant is now in this file.  Redistributed.

38 years ago*** empty log message ***
Guillermo J. Rozas [Tue, 3 Feb 1987 15:56:43 +0000 (15:56 +0000)]
*** empty log message ***

38 years agoRedistribution. gcloop now only contains the gcloop procedure.
Guillermo J. Rozas [Tue, 3 Feb 1987 15:56:10 +0000 (15:56 +0000)]
Redistribution.  gcloop now only contains the gcloop procedure.

38 years ago*** empty log message ***
Guillermo J. Rozas [Mon, 2 Feb 1987 15:22:44 +0000 (15:22 +0000)]
*** empty log message ***

38 years agoNew version. Object hashing and file closing use weak pointers so the
Guillermo J. Rozas [Mon, 2 Feb 1987 14:18:35 +0000 (14:18 +0000)]
New version.  Object hashing and file closing use weak pointers so the
daemons can be written in Scheme and need not look at old space after
a GC.

38 years ago*** empty log message ***
Guillermo J. Rozas [Fri, 23 Jan 1987 00:22:29 +0000 (00:22 +0000)]
*** empty log message ***

38 years agoAdd RCS headers and update copyright notices.
Guillermo J. Rozas [Thu, 22 Jan 1987 14:37:35 +0000 (14:37 +0000)]
Add RCS headers and update copyright notices.

38 years agoAdd RCS headers and update copyright notices.
Guillermo J. Rozas [Thu, 22 Jan 1987 14:17:17 +0000 (14:17 +0000)]
Add RCS headers and update copyright notices.

38 years agoMerge with BBN
Guillermo J. Rozas [Wed, 21 Jan 1987 21:45:11 +0000 (21:45 +0000)]
Merge with BBN

38 years agoMerge with BBN
Guillermo J. Rozas [Wed, 21 Jan 1987 20:31:02 +0000 (20:31 +0000)]
Merge with BBN

38 years ago`debug' had a hack where it used an uninterned symbol with a null
Chris Hanson [Thu, 15 Jan 1987 02:55:47 +0000 (02:55 +0000)]
`debug' had a hack where it used an uninterned symbol with a null
print name to cause the "procedure name" field of the H command to be
blank.  When the printed representation of uninterned symbols changed,
this ceased to work.  Fixed by using `*the-non-printing-object*'
instead.

38 years agoChange macro `Real_To_Upper' to procedure `char_upcase'; similarly for
Chris Hanson [Tue, 13 Jan 1987 19:33:40 +0000 (19:33 +0000)]
Change macro `Real_To_Upper' to procedure `char_upcase'; similarly for
`char_downcase'.  This fixes a class of problems such as:

(Real_To_Upper (*scan++))

38 years agoThe microcode tables file now returns an identification string as a
Chris Hanson [Tue, 13 Jan 1987 18:56:56 +0000 (18:56 +0000)]
The microcode tables file now returns an identification string as a
value so that it can be determined what version is loaded.

38 years agoInitial revision
Chris Hanson [Tue, 13 Jan 1987 18:18:08 +0000 (18:18 +0000)]
Initial revision

38 years agoRemove version number from `UCODE_TABLES_FILENAME', to simplify
Chris Hanson [Tue, 13 Jan 1987 18:14:24 +0000 (18:14 +0000)]
Remove version number from `UCODE_TABLES_FILENAME', to simplify
distribution.  This may cause synchronization problems later!

38 years agoPlease refer to the ChangeLog file under the following entry for this
Chris Hanson [Mon, 12 Jan 1987 17:26:03 +0000 (17:26 +0000)]
Please refer to the ChangeLog file under the following entry for this
log message, which is too long for RCS to handle at present:

Mon Jan 12 17:11:49 1987  Chris Hanson  (cph at kleph)

38 years agoPlease refer to the ChangeLog file under the following entry for this
Chris Hanson [Mon, 12 Jan 1987 17:20:13 +0000 (17:20 +0000)]
Please refer to the ChangeLog file under the following entry for this
log message, which is too long for RCS to handle at present:

Mon Jan 12 17:11:49 1987  Chris Hanson  (cph at kleph)

38 years agoMoby rewrite, which started out as some simple bug fixes.
Chris Hanson [Mon, 12 Jan 1987 17:08:12 +0000 (17:08 +0000)]
Moby rewrite, which started out as some simple bug fixes.
Interesting points:

* New alternative names for some basic macros:

Type_Code --> pointer_type
Datum --> pointer_datum

* New predicates for certain types:

fixnum_p
character_p
string_p

* `Primitive_Error' and `Primitive_Interrupt' close-coded to save
space.  For extra savings, the following new procedures are available
(where N ranges from 1 to 10):

void error_wrong_type_arg_N ()
void error_bad_range_arg_N ()
void error_external_return ()

* M

38 years agoFix `substring-find-next-char-in-set' and
Chris Hanson [Sun, 11 Jan 1987 13:18:54 +0000 (13:18 +0000)]
Fix `substring-find-next-char-in-set' and
`substring-find-previous-char-in-set', which were losing on characters
with the #x80 bit set in the usual way.

38 years agoPrimitive `file-write-char' was unable to write out the character
Chris Hanson [Sun, 11 Jan 1987 09:08:33 +0000 (09:08 +0000)]
Primitive `file-write-char' was unable to write out the character
#\M-Rubout, because of the standard problem.

38 years agoOops! Forgot to push return address for subproblems.
Chris Hanson [Sat, 10 Jan 1987 04:32:35 +0000 (04:32 +0000)]
Oops!  Forgot to push return address for subproblems.
What a loser.

38 years agoFinish changes to poppers.
Chris Hanson [Sat, 10 Jan 1987 03:12:31 +0000 (03:12 +0000)]
Finish changes to poppers.

38 years agoChange type offsets to 16-byte intervals to match new microcode.
Chris Hanson [Sat, 10 Jan 1987 00:29:59 +0000 (00:29 +0000)]
Change type offsets to 16-byte intervals to match new microcode.

38 years agoFix oversight in new popper code.
Chris Hanson [Fri, 9 Jan 1987 23:24:13 +0000 (23:24 +0000)]
Fix oversight in new popper code.

38 years agoFix typo and adjust message receiver type bits to correct values.
Chris Hanson [Fri, 9 Jan 1987 21:57:22 +0000 (21:57 +0000)]
Fix typo and adjust message receiver type bits to correct values.

38 years ago*** empty log message ***
Chris Hanson [Fri, 9 Jan 1987 20:21:06 +0000 (20:21 +0000)]
*** empty log message ***

38 years agoUpdate popper offsets to match new microcode.
Chris Hanson [Fri, 9 Jan 1987 20:16:35 +0000 (20:16 +0000)]
Update popper offsets to match new microcode.

38 years agoChange popper code to interpretive version to prevent screw with 68020
Chris Hanson [Fri, 9 Jan 1987 19:42:20 +0000 (19:42 +0000)]
Change popper code to interpretive version to prevent screw with 68020
instruction cache.

38 years agoChange sizes of message receivers to reflect new interpretive
Chris Hanson [Fri, 9 Jan 1987 19:41:14 +0000 (19:41 +0000)]
Change sizes of message receivers to reflect new interpretive
implementation.

38 years agoAdd special unparsing for pairs.
Chris Hanson [Fri, 9 Jan 1987 00:06:59 +0000 (00:06 +0000)]
Add special unparsing for pairs.

38 years agoFix bug in parsing of complex polar notation.
Chris Hanson [Thu, 8 Jan 1987 22:39:48 +0000 (22:39 +0000)]
Fix bug in parsing of complex polar notation.

38 years ago*** empty log message ***
Chris Hanson [Wed, 7 Jan 1987 18:40:51 +0000 (18:40 +0000)]
*** empty log message ***

38 years agoDefine `TC_COMPLEX' to self-evaluate.
Chris Hanson [Wed, 7 Jan 1987 18:36:23 +0000 (18:36 +0000)]
Define `TC_COMPLEX' to self-evaluate.