mit-scheme.git
30 years agoPatch two bugs.
Chris Hanson [Sun, 9 Apr 1995 23:09:19 +0000 (23:09 +0000)]
Patch two bugs.

30 years agoMake OS-independent binding for file-time->string.
Chris Hanson [Sun, 9 Apr 1995 23:07:05 +0000 (23:07 +0000)]
Make OS-independent binding for file-time->string.

30 years agoMake OS-independent binding for file-time->string.
Chris Hanson [Sun, 9 Apr 1995 22:58:09 +0000 (22:58 +0000)]
Make OS-independent binding for file-time->string.

30 years agoAdd shared-memory API calls -- these will be needed for several
Chris Hanson [Sun, 9 Apr 1995 22:34:36 +0000 (22:34 +0000)]
Add shared-memory API calls -- these will be needed for several
different purposes.

30 years agoMake OS-independent bindings for the following procedures. These
Chris Hanson [Sun, 9 Apr 1995 22:33:28 +0000 (22:33 +0000)]
Make OS-independent bindings for the following procedures.  These
procedure were previously defined for all OSs, but with different
names in each OS:

    user-home-directory
    current-user-name
    current-home-directory

The old names have been aliased to the new, except for OS/2.

30 years agoHand coded SIMPLIFY/ENV/FRAME-LOOKUP rather than use
Stephen Adams [Sun, 9 Apr 1995 04:45:59 +0000 (04:45 +0000)]
Hand coded SIMPLIFY/ENV/FRAME-LOOKUP rather than use
ASSOCIATION-PROCEDURE to get better profiling info.

30 years agoUnrolled loop in NODES-LINKED?
Stephen Adams [Sat, 8 Apr 1995 21:00:17 +0000 (21:00 +0000)]
Unrolled loop in NODES-LINKED?

30 years agoFixed interrupt logic bug -- a consequence of making internal
Stephen Adams [Sat, 8 Apr 1995 19:46:51 +0000 (19:46 +0000)]
Fixed interrupt logic bug -- a consequence of making internal
procedures look (and thus be condisered to be) external procedures.

30 years agoTemporarily commented out unsafe accessors for cookie calls.
Stephen Adams [Sat, 8 Apr 1995 16:44:54 +0000 (16:44 +0000)]
Temporarily commented out unsafe accessors for cookie calls.

30 years agoAdded lots of hair to deal with programs that have large chunks
Stephen Adams [Sat, 8 Apr 1995 04:38:22 +0000 (04:38 +0000)]
Added lots of hair to deal with programs that have large chunks
duplicated.  The problem was that the duplicated frame vectors were
still EQ?, causing conflicting stack optimizations.

30 years agoAdded a MATCH macro. The generated code is not very good.
Stephen Adams [Fri, 7 Apr 1995 04:55:36 +0000 (04:55 +0000)]
Added a MATCH macro.  The generated code is not very good.

30 years agoTidying.
Stephen Adams [Thu, 6 Apr 1995 19:00:44 +0000 (19:00 +0000)]
Tidying.

30 years agoTidying.
Stephen Adams [Thu, 6 Apr 1995 18:33:25 +0000 (18:33 +0000)]
Tidying.

30 years agoAdded COERCE as a midend phase.
ssmith [Thu, 6 Apr 1995 18:15:39 +0000 (18:15 +0000)]
Added COERCE as a midend phase.

30 years agoTidying.
Stephen Adams [Mon, 3 Apr 1995 06:08:41 +0000 (06:08 +0000)]
Tidying.

30 years agoFixed code for FLOAT->OBJECT to work if the target is a machine
Stephen Adams [Sun, 2 Apr 1995 15:21:40 +0000 (15:21 +0000)]
Fixed code for FLOAT->OBJECT to work if the target is a machine
register and the temp for the manifest-nm-header is allocated to the
same register.

30 years agoAdded KMP->STANDARD, a lame attenpt to make KMP-Scheme look like
Stephen Adams [Sat, 1 Apr 1995 16:56:23 +0000 (16:56 +0000)]
Added KMP->STANDARD, a lame attenpt to make KMP-Scheme look like
normal Scheme.

30 years agoAdded open-coder for %make-entity.
Stephen Adams [Sat, 1 Apr 1995 16:55:14 +0000 (16:55 +0000)]
Added open-coder for %make-entity.

30 years agoLots of changes. It is nearer `working'.
Stephen Adams [Sat, 1 Apr 1995 16:54:25 +0000 (16:54 +0000)]
Lots of changes.  It is nearer `working'.

30 years agoAdded %make-entity.
Stephen Adams [Sat, 1 Apr 1995 16:53:14 +0000 (16:53 +0000)]
Added %make-entity.

30 years agoAdded "coerce".
Stephen Adams [Sat, 1 Apr 1995 16:51:03 +0000 (16:51 +0000)]
Added "coerce".

30 years agoTweaked with SORT-MACHINE-REGISTERS.
Stephen Adams [Sat, 1 Apr 1995 16:49:32 +0000 (16:49 +0000)]
Tweaked with SORT-MACHINE-REGISTERS.

30 years agoUn-integrated SORT-MACHINE-REGISTERS.
Stephen Adams [Sat, 1 Apr 1995 14:27:57 +0000 (14:27 +0000)]
Un-integrated SORT-MACHINE-REGISTERS.

30 years agoFix handling of comments when indenting an expression. Previously,
Chris Hanson [Thu, 30 Mar 1995 21:51:13 +0000 (21:51 +0000)]
Fix handling of comments when indenting an expression.  Previously,
comments appearing at the end of a line containing code were not
treated specially.  Now, such comments are re-indented to the comment
column after the line has been re-indented.

30 years agoChecking in before removing PLACEHOLDER-QUOTE.
Stephen Adams [Thu, 30 Mar 1995 20:04:35 +0000 (20:04 +0000)]
Checking in before removing PLACEHOLDER-QUOTE.

30 years agoInitial revision
Stephen Adams [Thu, 30 Mar 1995 15:11:40 +0000 (15:11 +0000)]
Initial revision

30 years agoTidying.
Stephen Adams [Tue, 28 Mar 1995 05:19:27 +0000 (05:19 +0000)]
Tidying.

30 years agoAdjusted to make run for longer.
Stephen Adams [Sun, 26 Mar 1995 16:59:24 +0000 (16:59 +0000)]
Adjusted to make run for longer.

30 years agoInitial revision
Stephen Adams [Sun, 26 Mar 1995 16:49:13 +0000 (16:49 +0000)]
Initial revision

30 years agoAdjusted to make run for longer.
Stephen Adams [Sun, 26 Mar 1995 16:46:00 +0000 (16:46 +0000)]
Adjusted to make run for longer.

30 years agoAdjusted to make run for longer.
Stephen Adams [Sun, 26 Mar 1995 16:43:42 +0000 (16:43 +0000)]
Adjusted to make run for longer.

30 years agoFixed so that it no longer tries to coerce bindings of known lambdas
Stephen Adams [Sat, 25 Mar 1995 16:02:55 +0000 (16:02 +0000)]
Fixed so that it no longer tries to coerce bindings of known lambdas
(which will later be lambda-lifted).

30 years agoChanged to be much smarter about where the coercion code should be
Stephen Adams [Thu, 23 Mar 1995 04:17:10 +0000 (04:17 +0000)]
Changed to be much smarter about where the coercion code should be
inserted.  Removed comments saying how dumb it was.

30 years agoAdded missing cookie-call forms.
Stephen Adams [Wed, 22 Mar 1995 01:08:13 +0000 (01:08 +0000)]
Added missing cookie-call forms.

30 years agoAdded code to improve code where it is known that all the values are
Stephen Adams [Wed, 22 Mar 1995 01:06:49 +0000 (01:06 +0000)]
Added code to improve code where it is known that all the values are
procedures, or all procedures with the same maximum arity.

30 years agoChanges to get bchscheme running under OS/2.
Chris Hanson [Tue, 21 Mar 1995 22:13:56 +0000 (22:13 +0000)]
Changes to get bchscheme running under OS/2.

30 years agoAdded code to change %internal-apply to %internal-apply-unchecked when
Stephen Adams [Tue, 21 Mar 1995 18:14:12 +0000 (18:14 +0000)]
Added code to change %internal-apply to %internal-apply-unchecked when
all values are known to be operators with the correct arity.

30 years agoAdd new primitive to scan Scheme's memory usage.
Chris Hanson [Tue, 21 Mar 1995 01:05:22 +0000 (01:05 +0000)]
Add new primitive to scan Scheme's memory usage.

30 years agoAdd expansion for INTERN -- just like that for STRING->SYMBOL.
Chris Hanson [Mon, 20 Mar 1995 23:29:00 +0000 (23:29 +0000)]
Add expansion for INTERN -- just like that for STRING->SYMBOL.

30 years agoChanged PA to print primitive documentation rather than signal an
Stephen Adams [Mon, 20 Mar 1995 20:14:10 +0000 (20:14 +0000)]
Changed PA to print primitive documentation rather than signal an
error when given a primitive procedure.

30 years agoInitial revision
Stephen Adams [Mon, 20 Mar 1995 02:44:31 +0000 (02:44 +0000)]
Initial revision

30 years agoModified to treat %internal-apply-unchecked like %internal-apply.
Stephen Adams [Mon, 20 Mar 1995 02:02:02 +0000 (02:02 +0000)]
Modified to treat %internal-apply-unchecked like %internal-apply.

30 years agoAdded INVOCATION:REGISTER as an invocation that cares about its
Stephen Adams [Sat, 18 Mar 1995 15:09:27 +0000 (15:09 +0000)]
Added INVOCATION:REGISTER as an invocation that cares about its
continuation now that %internal-apply-unchecked can generate
INVOCATION:REGISTER with a continuation (symmetric to INVOCATION:NEW-APPLY).

30 years agoThe result of OBJECT->TYPE may be preserved.
Stephen Adams [Sat, 18 Mar 1995 14:38:59 +0000 (14:38 +0000)]
The result of OBJECT->TYPE may be preserved.

30 years ago*** empty log message ***
Stephen Adams [Fri, 17 Mar 1995 03:46:53 +0000 (03:46 +0000)]
*** empty log message ***

30 years ago*** empty log message ***
Stephen Adams [Thu, 16 Mar 1995 05:52:05 +0000 (05:52 +0000)]
*** empty log message ***

30 years agoAdded rule to prevent tagging of a byte with 0.
Stephen Adams [Thu, 16 Mar 1995 05:27:46 +0000 (05:27 +0000)]
Added rule to prevent tagging of a byte with 0.

30 years agoRemoved lots of commented out old code.
Stephen Adams [Thu, 16 Mar 1995 04:36:29 +0000 (04:36 +0000)]
Removed lots of commented out old code.

30 years agoOpen coding of %compiled-entry-maximum-arity? only needs to take
Stephen Adams [Wed, 15 Mar 1995 01:08:51 +0000 (01:08 +0000)]
Open coding of %compiled-entry-maximum-arity? only needs to take
object-address when entries are tagged.

30 years agoFix typo.
Stephen Adams [Mon, 13 Mar 1995 23:36:44 +0000 (23:36 +0000)]
Fix typo.

30 years agoAdded %compiled-entry? and %compiled-entry-maximum-arity?
Stephen Adams [Mon, 13 Mar 1995 23:25:49 +0000 (23:25 +0000)]
Added %compiled-entry? and %compiled-entry-maximum-arity?

30 years ago*** empty log message ***
Stephen Adams [Mon, 13 Mar 1995 23:23:16 +0000 (23:23 +0000)]
*** empty log message ***

30 years agoDelete old definition of "all" target.
Chris Hanson [Mon, 13 Mar 1995 23:20:46 +0000 (23:20 +0000)]
Delete old definition of "all" target.

30 years agoAdd default target "all". Change references to assembler and to the
Chris Hanson [Mon, 13 Mar 1995 23:18:16 +0000 (23:18 +0000)]
Add default target "all".  Change references to assembler and to the
libraries that it requires -- these files are now assumed to reside in
the "os2utl" subdirectory.

30 years agoAdded fcomp.
Stephen Adams [Mon, 13 Mar 1995 20:59:53 +0000 (20:59 +0000)]
Added fcomp.

30 years agoAdded fcomp.
Stephen Adams [Mon, 13 Mar 1995 20:53:48 +0000 (20:53 +0000)]
Added fcomp.

30 years agoExtended rule for INVOCATION:REGISTER to take continuation.
Stephen Adams [Mon, 13 Mar 1995 07:01:27 +0000 (07:01 +0000)]
Extended rule for INVOCATION:REGISTER to take continuation.

Some time we must figure out whin INVOCATION:REGISTER has five slots
but the other invocations only four.

30 years agoAdded code for %internal-apply-unchecked.
Stephen Adams [Mon, 13 Mar 1995 06:59:28 +0000 (06:59 +0000)]
Added code for %internal-apply-unchecked.

30 years ago*** empty log message ***
Stephen Adams [Mon, 13 Mar 1995 04:33:05 +0000 (04:33 +0000)]
*** empty log message ***

30 years agoFixed free variable.
Stephen Adams [Sun, 12 Mar 1995 16:31:16 +0000 (16:31 +0000)]
Fixed free variable.

30 years agoRemoved some old useless rules.
Stephen Adams [Sun, 12 Mar 1995 16:04:31 +0000 (16:04 +0000)]
Removed some old useless rules.

30 years agoPropagted TAG to FIXED-SELECTION in case we can use it there for a
Stephen Adams [Sun, 12 Mar 1995 15:34:01 +0000 (15:34 +0000)]
Propagted TAG to FIXED-SELECTION in case we can use it there for a
more efficient version of OBJECT->ADDRESS.

30 years agoTidying.
Stephen Adams [Sun, 12 Mar 1995 05:59:29 +0000 (05:59 +0000)]
Tidying.

30 years agoMindless reformatting.
Stephen Adams [Sat, 11 Mar 1995 17:44:22 +0000 (17:44 +0000)]
Mindless reformatting.

30 years agoImproved handling of (CALL (LETREC ...) ...)
Stephen Adams [Sat, 11 Mar 1995 17:09:32 +0000 (17:09 +0000)]
Improved handling of (CALL (LETREC ...) ...)

30 years agoAdded comment about order of names.
Stephen Adams [Sat, 11 Mar 1995 16:01:01 +0000 (16:01 +0000)]
Added comment about order of names.

30 years agoImproved handling of
Stephen Adams [Fri, 10 Mar 1995 14:52:16 +0000 (14:52 +0000)]
Improved handling of

    (call (lambda (cont) (call (lookup foo) (lookup cont) ...))
  (call %make-stack-closure ...))

30 years agoWITH-VALUES -> CALL-WITH-VALUES
Stephen Adams [Fri, 10 Mar 1995 14:44:08 +0000 (14:44 +0000)]
WITH-VALUES -> CALL-WITH-VALUES

30 years agoAdded BIT-STRING-LENGTH to known operators.
Stephen Adams [Thu, 9 Mar 1995 22:15:14 +0000 (22:15 +0000)]
Added BIT-STRING-LENGTH to known operators.

30 years ago"os2top.obj" now depends on "scheme.h".
Chris Hanson [Wed, 8 Mar 1995 21:39:23 +0000 (21:39 +0000)]
"os2top.obj" now depends on "scheme.h".

30 years agoImplement OS/2 stack-overflow detection mechanism. This is a pile of
Chris Hanson [Wed, 8 Mar 1995 21:38:49 +0000 (21:38 +0000)]
Implement OS/2 stack-overflow detection mechanism.  This is a pile of
hair involving some tricky memory management and a little cooperation
from the OS/2 exception handler.  See the code for details.

30 years agoAdd stack hooks for OS/2 stack-overflow detection. Move existing
Chris Hanson [Wed, 8 Mar 1995 21:36:54 +0000 (21:36 +0000)]
Add stack hooks for OS/2 stack-overflow detection.  Move existing
overrides of STACK_RESET macro from "stack.h" to "config.h".  Change
`Stack_Check' macro to use STACK_OVERFLOWED_P macro rather than
comparing the stack pointer to `Stack_Bottom', because OS/2 overrides
this macro with an unusual definition.

30 years agoFixed OFFSET-FITS? to know that LDIL is never assembled as two machine
Stephen Adams [Wed, 8 Mar 1995 14:33:28 +0000 (14:33 +0000)]
Fixed OFFSET-FITS? to know that LDIL is never assembled as two machine
instructionas an is therefore always acceptable in a delay slot.  (The
common cases, e.g. LDIL unspecific,2 were not finding their way into
the delay slot).

30 years agoAdded rule for storing a zero byte.
Stephen Adams [Wed, 8 Mar 1995 13:38:51 +0000 (13:38 +0000)]
Added rule for storing a zero byte.

30 years agoFixed bug in (AND ...) expression
Stephen Adams [Wed, 8 Mar 1995 05:14:24 +0000 (05:14 +0000)]
Fixed bug in (AND ...) expression

30 years agoNow loads sf if necessary.
Stephen Adams [Tue, 7 Mar 1995 22:32:11 +0000 (22:32 +0000)]
Now loads sf if necessary.

30 years agoInitial revision
Stephen Adams [Tue, 7 Mar 1995 22:21:02 +0000 (22:21 +0000)]
Initial revision

30 years agoAdded bit-string-length.
Stephen Adams [Tue, 7 Mar 1995 05:57:24 +0000 (05:57 +0000)]
Added bit-string-length.

30 years agoFix think-o in previous change.
Chris Hanson [Tue, 7 Mar 1995 02:19:20 +0000 (02:19 +0000)]
Fix think-o in previous change.

30 years agoAdd INC and DEC procedures.
Chris Hanson [Mon, 6 Mar 1995 23:32:39 +0000 (23:32 +0000)]
Add INC and DEC procedures.

30 years agoAdd operations required by new edition of SICP.
Chris Hanson [Mon, 6 Mar 1995 23:29:41 +0000 (23:29 +0000)]
Add operations required by new edition of SICP.

30 years agoFix stupid bug in `copy_bits': code to generate mask was doing
Chris Hanson [Mon, 6 Mar 1995 21:45:34 +0000 (21:45 +0000)]
Fix stupid bug in `copy_bits': code to generate mask was doing

    ((1 << 32) - 1)

and expecting something reasonable to happen on a 32-bit machine.

30 years agoReorganize code a little. Add general hook for generating the
Chris Hanson [Sat, 4 Mar 1995 00:39:48 +0000 (00:39 +0000)]
Reorganize code a little.  Add general hook for generating the
"description" of an object.

30 years agoAdd more general hook for unparsing records.
Chris Hanson [Sat, 4 Mar 1995 00:37:55 +0000 (00:37 +0000)]
Add more general hook for unparsing records.

30 years agoImplement MAKE-INITIALIZED-LIST.
Chris Hanson [Fri, 3 Mar 1995 23:40:44 +0000 (23:40 +0000)]
Implement MAKE-INITIALIZED-LIST.

30 years agoFiddled with argument ordering.
Stephen Adams [Thu, 2 Mar 1995 05:41:11 +0000 (05:41 +0000)]
Fiddled with argument ordering.

30 years agoDocumented WT-TREE/UNION-MERGE.
Stephen Adams [Thu, 2 Mar 1995 04:56:36 +0000 (04:56 +0000)]
Documented WT-TREE/UNION-MERGE.

30 years agoExported WT-TREE/UNION-MERGE
Stephen Adams [Wed, 1 Mar 1995 21:58:07 +0000 (21:58 +0000)]
Exported WT-TREE/UNION-MERGE

30 years agoAdded operation
Stephen Adams [Wed, 1 Mar 1995 21:57:17 +0000 (21:57 +0000)]
Added operation

  (WT-TREE/UNION-MERGE merge tree1 tree2)

merge = (lambda (key value1 value2) ...)

30 years agoEdit
Stephen Adams [Wed, 1 Mar 1995 14:09:28 +0000 (14:09 +0000)]
Edit

  simple-operator? => (lambda (op) (simple-operator? op))

to fix loading order problem

30 years agoAmended SIMPLIFY/OPEN-CODE? to take into account that the static
Stephen Adams [Wed, 1 Mar 1995 14:06:55 +0000 (14:06 +0000)]
Amended SIMPLIFY/OPEN-CODE? to take into account that the static
arguments to some cookie calls (e.g. %internal-apply's 'ARITY slot) do
not result in code expansion.

30 years agoInitial revision
Stephen Adams [Wed, 1 Mar 1995 14:02:52 +0000 (14:02 +0000)]
Initial revision

30 years agoRemoved unused 7.3 procedure.
Stephen Adams [Tue, 28 Feb 1995 01:50:05 +0000 (01:50 +0000)]
Removed unused 7.3 procedure.

30 years agoRemove duplicate definition.
Stephen Adams [Tue, 28 Feb 1995 01:46:02 +0000 (01:46 +0000)]
Remove duplicate definition.

30 years agoRemoved duplicate of RTLGEN/HEAP-PUSH!/POST-INCREMENT
Stephen Adams [Tue, 28 Feb 1995 01:44:55 +0000 (01:44 +0000)]
Removed duplicate of RTLGEN/HEAP-PUSH!/POST-INCREMENT

30 years agoRemoved duplicate of SIMPLE-OPERATOR?
Stephen Adams [Tue, 28 Feb 1995 01:42:59 +0000 (01:42 +0000)]
Removed duplicate of SIMPLE-OPERATOR?

30 years agoRemoved some rules for outdated RTL.
Stephen Adams [Tue, 28 Feb 1995 01:40:38 +0000 (01:40 +0000)]
Removed some rules for outdated RTL.

30 years agoFixed free variable bug.
Stephen Adams [Tue, 28 Feb 1995 01:39:12 +0000 (01:39 +0000)]
Fixed free variable bug.

30 years agoAdded lots of procedures from the runtime, including favourites like
Stephen Adams [Tue, 28 Feb 1995 01:36:54 +0000 (01:36 +0000)]
Added lots of procedures from the runtime, including favourites like
APPEND, MAP and FOR-EACH, REVERSE, MEMQ etc.

30 years agoInitial revision
Stephen Adams [Tue, 28 Feb 1995 01:35:31 +0000 (01:35 +0000)]
Initial revision