mit-scheme.git
30 years agoAdded some hooks.
ssmith [Fri, 20 Jan 1995 23:13:03 +0000 (23:13 +0000)]
Added some hooks.

30 years agoFixed bug in allowing ebp to be a scratch reg.
ssmith [Fri, 20 Jan 1995 22:51:58 +0000 (22:51 +0000)]
Fixed bug in allowing ebp to be a scratch reg.

30 years agoMade EBP switchable between datum mask and scratch register.
ssmith [Fri, 20 Jan 1995 22:45:55 +0000 (22:45 +0000)]
Made EBP switchable between datum mask and scratch register.

30 years agoChanged CONTINUATION-VARIABLE? to REFERENCED-CONTINUATION-VARIABLE? in
Stephen Adams [Fri, 20 Jan 1995 22:23:42 +0000 (22:23 +0000)]
Changed CONTINUATION-VARIABLE? to REFERENCED-CONTINUATION-VARIABLE? in
stackopt/constrain because it was complaining about the position of an
IGNORED-CONTINUATION-VARIABLE that was passed on the stack.

30 years agoTidying.
Stephen Adams [Fri, 20 Jan 1995 20:33:59 +0000 (20:33 +0000)]
Tidying.

30 years agoRemoved extraneous text.
Stephen Adams [Fri, 20 Jan 1995 20:31:21 +0000 (20:31 +0000)]
Removed extraneous text.

30 years agoMade a lot of additions and bugfixes. Now compiles (probably
ssmith [Fri, 20 Jan 1995 20:17:52 +0000 (20:17 +0000)]
Made a lot of additions and bugfixes.  Now compiles (probably
incorrectly) about half of the runtime library.

30 years agoMade a lot of additions, bug fixes. Now compiles (probably
ssmith [Fri, 20 Jan 1995 20:15:59 +0000 (20:15 +0000)]
Made a lot of additions, bug fixes.  Now compiles (probably
incorrectly) about half of the runtime library.

30 years agoAdded phase/pre-hook and phase/post-hook for debugging activities like
Stephen Adams [Thu, 19 Jan 1995 23:43:16 +0000 (23:43 +0000)]
Added phase/pre-hook and phase/post-hook for debugging activities like
dumping intermediate results.

30 years agoFix bug in presentation of pathnames to user -- if the pathname being
Chris Hanson [Thu, 19 Jan 1995 19:41:55 +0000 (19:41 +0000)]
Fix bug in presentation of pathnames to user -- if the pathname being
presented is on a different device from the default, ENOUGH-PATHNAME
cannot be used.  This is because ENOUGH-PATHNAME and MERGE-PATHNAMES
treat the device as separate from the directory, whereas Edwin wants
the device to be considered as part of the directory.

30 years agoFixed example in vector-map
Stephen Adams [Thu, 19 Jan 1995 06:15:43 +0000 (06:15 +0000)]
Fixed example in vector-map

30 years agoAdded environment part of debugging information. This lead to some
Stephen Adams [Thu, 19 Jan 1995 04:58:18 +0000 (04:58 +0000)]
Added environment part of debugging information.  This lead to some
contempation which for the time being has been placed in a comment.

Tidied some archaic accessors (caddr -> set!/expr).

30 years agoNew procedures for
Stephen Adams [Thu, 19 Jan 1995 04:55:13 +0000 (04:55 +0000)]
New procedures for

 . Making new objects like old ones but with new fields
 . Copying and updating block structures

30 years agoTidying layout.
Stephen Adams [Thu, 19 Jan 1995 04:52:40 +0000 (04:52 +0000)]
Tidying layout.

30 years agoChanged debugging info from a variable name to a LOOKUP expression.
Stephen Adams [Thu, 19 Jan 1995 04:51:16 +0000 (04:51 +0000)]
Changed debugging info from a variable name to a LOOKUP expression.

30 years agoAdded FORM/COPY-TRANSFORMING
Stephen Adams [Thu, 19 Jan 1995 01:27:46 +0000 (01:27 +0000)]
Added FORM/COPY-TRANSFORMING

30 years ago*** empty log message ***
Stephen Adams [Thu, 19 Jan 1995 00:10:42 +0000 (00:10 +0000)]
*** empty log message ***

30 years agoExported COMPILER:GURU?
Stephen Adams [Tue, 17 Jan 1995 23:01:57 +0000 (23:01 +0000)]
Exported COMPILER:GURU?

30 years ago*** empty log message ***
Stephen Adams [Tue, 17 Jan 1995 23:00:51 +0000 (23:00 +0000)]
*** empty log message ***

30 years agoAdded COMPILER:GURU?
Stephen Adams [Tue, 17 Jan 1995 22:59:43 +0000 (22:59 +0000)]
Added COMPILER:GURU?

30 years agoRemoved constant progagation message.
Stephen Adams [Tue, 17 Jan 1995 22:49:36 +0000 (22:49 +0000)]
Removed constant progagation message.

30 years agoChange SELECT-DESCRIPTOR to return process-status flag when
Chris Hanson [Mon, 16 Jan 1995 20:58:18 +0000 (20:58 +0000)]
Change SELECT-DESCRIPTOR to return process-status flag when
appropriate.

30 years agoChange many of the fatal window-system errors to non-fatal warnings.
Chris Hanson [Mon, 16 Jan 1995 20:57:52 +0000 (20:57 +0000)]
Change many of the fatal window-system errors to non-fatal warnings.
Expand the error/warning text to make it clearer and more useful.

30 years agoError pop-ups are now disabled all the time. Additionally, catch more
Chris Hanson [Mon, 16 Jan 1995 20:57:00 +0000 (20:57 +0000)]
Error pop-ups are now disabled all the time.  Additionally, catch more
error codes when probing for file existence.  Most of the new error
codes have to do with floppy drives.

30 years agoDisable random error/exception pop-ups generated by OS/2 kernel.
Chris Hanson [Mon, 16 Jan 1995 20:56:12 +0000 (20:56 +0000)]
Disable random error/exception pop-ups generated by OS/2 kernel.

30 years agoFix bug in pathname merging -- if the user specifies a device, don't
Chris Hanson [Mon, 16 Jan 1995 20:46:15 +0000 (20:46 +0000)]
Fix bug in pathname merging -- if the user specifies a device, don't
merge in the default pathname's directory but instead start at that
device's root directory.

30 years agoFix bug in previous change: OS/NUMERIC-BACKUP-FILENAME? must return a
Chris Hanson [Mon, 16 Jan 1995 20:40:09 +0000 (20:40 +0000)]
Fix bug in previous change: OS/NUMERIC-BACKUP-FILENAME? must return a
pair consisting of the filename root and the backup version.

30 years agoUse new CREF directives to improve packaging.
Chris Hanson [Mon, 16 Jan 1995 20:12:06 +0000 (20:12 +0000)]
Use new CREF directives to improve packaging.

30 years agoFix bug in C indentation: side-effect occurring at wrong time caused
Chris Hanson [Mon, 16 Jan 1995 20:08:33 +0000 (20:08 +0000)]
Fix bug in C indentation: side-effect occurring at wrong time caused
temporary markers to lose their position.

30 years agoAdded annotations for trampolines.
Stephen Adams [Sat, 14 Jan 1995 17:02:41 +0000 (17:02 +0000)]
Added annotations for trampolines.

30 years agoExported *pp-arity-dispatched-procedure-style*.
Stephen Adams [Sat, 14 Jan 1995 00:30:27 +0000 (00:30 +0000)]
Exported *pp-arity-dispatched-procedure-style*.

30 years agoTaught the top level PP procedure about a range of new object types:
Stephen Adams [Sat, 14 Jan 1995 00:29:51 +0000 (00:29 +0000)]
Taught the top level PP procedure about a range of new object types:

 .  RECORDs with no recognised record type, WEAK PAIRs, and CELLs
    print out a bit like named structures.

 .  arity-dispatched-procedures (a kind of ENTITY) print out as a CASE
    expression.  The style is controlled by
    *pp-arity-dispatched-procedure-style*

30 years agoChanged all the default procedures for the entities for +, min, < etc
Stephen Adams [Fri, 13 Jan 1995 22:17:16 +0000 (22:17 +0000)]
Changed all the default procedures for the entities for +, min, < etc
to be named procedures.

30 years agoFixed typo in previous edit.
Stephen Adams [Fri, 13 Jan 1995 22:11:39 +0000 (22:11 +0000)]
Fixed typo in previous edit.

30 years agoIf an arity-dispatched-procedure has a named compiled procedure as the
Stephen Adams [Fri, 13 Jan 1995 21:48:54 +0000 (21:48 +0000)]
If an arity-dispatched-procedure has a named compiled procedure as the
default then this procedure's name is used in printing the #[..] object.

30 years agoAdded pretty printer method for CASE which works like this:
Stephen Adams [Fri, 13 Jan 1995 18:39:16 +0000 (18:39 +0000)]
Added pretty printer method for CASE which works like this:

  (case will-fit-on-line
    clause
    clause)
or

  (case
      wont-fit-on-line
    clause
    clause)

30 years agoFixed bug: editted target-register so that it always calls allocate-alias-
ssmith [Thu, 12 Jan 1995 22:39:50 +0000 (22:39 +0000)]
Fixed bug: editted target-register so that it always calls allocate-alias-
register.  If it is not called, then any assigns to machine registers will
not "lock" the register.  This was a problem when the procedure would assign
the return value and then use the same register to compute where to go next.

30 years agoFixed bug in invocations: It jmped to the address at the memory location
ssmith [Thu, 12 Jan 1995 19:51:19 +0000 (19:51 +0000)]
Fixed bug in invocations: It jmped to the address at the memory location
pointed to by the register, instead of jumping to the address pointed to by the
register.

30 years agoMade fixes. Still doesn't handle addressing forms.
ssmith [Thu, 12 Jan 1995 19:42:02 +0000 (19:42 +0000)]
Made fixes.  Still doesn't handle addressing forms.

30 years agoOne missing close-paren...
ssmith [Thu, 12 Jan 1995 17:29:24 +0000 (17:29 +0000)]
One missing close-paren...

30 years agoAdded Pentium timing procedure.
ssmith [Thu, 12 Jan 1995 17:24:26 +0000 (17:24 +0000)]
Added Pentium timing procedure.

30 years agoEntities used to inplement arity-dispatched-procedures print out
Stephen Adams [Thu, 12 Jan 1995 17:24:07 +0000 (17:24 +0000)]
Entities used to inplement arity-dispatched-procedures print out
slighty differently.

30 years agoAdded the predicate ARITY-DISPATCHED-PROCEDURE?, which is true for
Stephen Adams [Thu, 12 Jan 1995 17:02:26 +0000 (17:02 +0000)]
Added the predicate ARITY-DISPATCHED-PROCEDURE?, which is true for
certain kinds of ENTITY.

30 years agoMore bug fixes: Incorrect function names, bad pattern for lea.
ssmith [Thu, 12 Jan 1995 16:34:48 +0000 (16:34 +0000)]
More bug fixes: Incorrect function names, bad pattern for lea.

30 years agoFixed a bug in referencing instruction part of the pattern. Also added
ssmith [Thu, 12 Jan 1995 16:28:23 +0000 (16:28 +0000)]
Fixed a bug in referencing instruction part of the pattern.  Also added
patterns for non-code items, such as comment, etc...

30 years agoStupid bug in call (car) of procedure get-instruction-info.
ssmith [Thu, 12 Jan 1995 16:22:32 +0000 (16:22 +0000)]
Stupid bug in call (car) of procedure get-instruction-info.

30 years agoAdded clock timing. Still needs much work.
ssmith [Thu, 12 Jan 1995 16:16:21 +0000 (16:16 +0000)]
Added clock timing.  Still needs much work.

30 years agoMade it print instructions so I can learn what linear-lap looks like.
ssmith [Thu, 12 Jan 1995 15:33:07 +0000 (15:33 +0000)]
Made it print instructions so I can learn what linear-lap looks like.

30 years agoFixed assumption that raw continuation is 4 bytes after one left on stack.
ssmith [Thu, 12 Jan 1995 14:45:48 +0000 (14:45 +0000)]
Fixed assumption that raw continuation is 4 bytes after one left on stack.

30 years agoAdded internal-closure-code-word.
ssmith [Wed, 11 Jan 1995 22:14:41 +0000 (22:14 +0000)]
Added internal-closure-code-word.

30 years agoCopied CLOSURE and EXPRESSION rules verbatim.
ssmith [Wed, 11 Jan 1995 22:09:38 +0000 (22:09 +0000)]
Copied CLOSURE and EXPRESSION rules verbatim.

30 years agoFixed missing close-paren.
ssmith [Wed, 11 Jan 1995 22:02:45 +0000 (22:02 +0000)]
Fixed missing close-paren.

30 years agoAdded invocations.
ssmith [Wed, 11 Jan 1995 21:58:54 +0000 (21:58 +0000)]
Added invocations.

30 years agoAdded standard-source!. Also added comment on *privilege-level*
ssmith [Wed, 11 Jan 1995 21:09:46 +0000 (21:09 +0000)]
Added standard-source!.  Also added comment on *privilege-level*

30 years agoAdded COERCE-VALUE-CLASS rules. Copied verbatim from Spectrum without
ssmith [Wed, 11 Jan 1995 20:53:51 +0000 (20:53 +0000)]
Added COERCE-VALUE-CLASS rules.  Copied verbatim from Spectrum without
understanding their purpose or function.

30 years agoAdded rules for interrupt-check'ing. Also added privilege-level to lapgen.scm.
ssmith [Wed, 11 Jan 1995 20:42:52 +0000 (20:42 +0000)]
Added rules for interrupt-check'ing.  Also added privilege-level to lapgen.scm.

30 years agoAdded *privilege-level*
ssmith [Wed, 11 Jan 1995 20:42:06 +0000 (20:42 +0000)]
Added *privilege-level*

30 years agoAdded the hook register (eax) so invoke-hook calls in rules3 can use it instead
ssmith [Wed, 11 Jan 1995 20:25:23 +0000 (20:25 +0000)]
Added the hook register (eax) so invoke-hook calls in rules3 can use it instead
of hard coding EAX.

30 years agoAdded trivial closures -- copied from Spectrum's.
ssmith [Wed, 11 Jan 1995 16:24:26 +0000 (16:24 +0000)]
Added trivial closures -- copied from Spectrum's.

30 years agoAdded max-type-code and machine/cont-adjustment -- copied verbatim from the
ssmith [Tue, 10 Jan 1995 23:15:57 +0000 (23:15 +0000)]
Added max-type-code and machine/cont-adjustment -- copied verbatim from the
Spectrum's machin.scm.

30 years agoAdded *rtlgen/argument-registers* to be ecx and edx.
ssmith [Tue, 10 Jan 1995 21:55:11 +0000 (21:55 +0000)]
Added *rtlgen/argument-registers* to be ecx and edx.

30 years agoInitial revision
Stephen Adams [Tue, 10 Jan 1995 21:48:43 +0000 (21:48 +0000)]
Initial revision

30 years agoInitial revision
Stephen Adams [Tue, 10 Jan 1995 20:53:08 +0000 (20:53 +0000)]
Initial revision

30 years agoAdd new directives INCLUDE and EXTEND-PACKAGE.
Chris Hanson [Tue, 10 Jan 1995 20:38:15 +0000 (20:38 +0000)]
Add new directives INCLUDE and EXTEND-PACKAGE.

30 years agoRemoved `Missing debugging info' message as it was irritating people.
Stephen Adams [Tue, 10 Jan 1995 02:46:27 +0000 (02:46 +0000)]
Removed `Missing debugging info' message as it was irritating people.

30 years agoChange 4-character filename suffixes to 3-character.
Chris Hanson [Sat, 7 Jan 1995 00:29:42 +0000 (00:29 +0000)]
Change 4-character filename suffixes to 3-character.

30 years agoDon't enable interrupts which currently have no handlers.
Chris Hanson [Fri, 6 Jan 1995 23:58:17 +0000 (23:58 +0000)]
Don't enable interrupts which currently have no handlers.

30 years agoDon't enable interrupts which currently have no handlers.
Chris Hanson [Fri, 6 Jan 1995 23:54:53 +0000 (23:54 +0000)]
Don't enable interrupts which currently have no handlers.

30 years agoEliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:15:45 +0000 (22:15 +0000)]
Eliminate extra period in OS/2 error messages.

30 years agoEliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:14:29 +0000 (22:14 +0000)]
Eliminate extra period in OS/2 error messages.

30 years agoEliminate extra period in OS/2 error messages.
Chris Hanson [Fri, 6 Jan 1995 22:12:13 +0000 (22:12 +0000)]
Eliminate extra period in OS/2 error messages.

30 years agoSignal error when attempting to read non-existant directory.
Chris Hanson [Fri, 6 Jan 1995 21:58:40 +0000 (21:58 +0000)]
Signal error when attempting to read non-existant directory.

30 years agoUpdate to reflect change to runtime system.
Chris Hanson [Fri, 6 Jan 1995 20:52:39 +0000 (20:52 +0000)]
Update to reflect change to runtime system.

30 years agoUse LOAD-OPTION to load CREF.
Chris Hanson [Fri, 6 Jan 1995 20:51:57 +0000 (20:51 +0000)]
Use LOAD-OPTION to load CREF.

30 years agoChange \\ to / in file specification so that unix systems won't get
Chris Hanson [Fri, 6 Jan 1995 20:39:20 +0000 (20:39 +0000)]
Change \\ to / in file specification so that unix systems won't get
confused.

30 years agoFix typos from last change.
Chris Hanson [Fri, 6 Jan 1995 20:37:18 +0000 (20:37 +0000)]
Fix typos from last change.

30 years agoAdd definition for OS2WIN-SET-MIX.
Chris Hanson [Fri, 6 Jan 1995 20:28:31 +0000 (20:28 +0000)]
Add definition for OS2WIN-SET-MIX.

30 years agoUse explicit reference to SYSTEM-GLOBAL-ENVIRONMENT rather than #F in
Chris Hanson [Fri, 6 Jan 1995 19:29:58 +0000 (19:29 +0000)]
Use explicit reference to SYSTEM-GLOBAL-ENVIRONMENT rather than #F in
top-level IN-PACKAGE.

30 years agoChange 4-character suffixes used by package system to be 3-character
Chris Hanson [Fri, 6 Jan 1995 19:25:59 +0000 (19:25 +0000)]
Change 4-character suffixes used by package system to be 3-character
suffixes.  This is done by defaulting the output file on the call to
SF, which now generates the correct 3-character suffix.

30 years agoMerge in #F/() bug fix from split code.
Chris Hanson [Fri, 6 Jan 1995 19:18:39 +0000 (19:18 +0000)]
Merge in #F/() bug fix from split code.

30 years agoChange 4-character suffixes used by package system to be 3-character
Chris Hanson [Fri, 6 Jan 1995 18:44:17 +0000 (18:44 +0000)]
Change 4-character suffixes used by package system to be 3-character
suffixes.  This is done by defaulting the output file on the call to
SF, which now generates the correct 3-character suffix.

30 years agoChange 4-character suffixes used by package system to be 3-character
Chris Hanson [Fri, 6 Jan 1995 18:38:47 +0000 (18:38 +0000)]
Change 4-character suffixes used by package system to be 3-character
suffixes.  This is done by defaulting the output file on the call to
SF, which now generates the correct 3-character suffix.

30 years agoChange default output file name to be limited to a three character
Chris Hanson [Fri, 6 Jan 1995 18:36:33 +0000 (18:36 +0000)]
Change default output file name to be limited to a three character
suffix.

30 years agoSimplify interface to OS/2 API by moving all definitions to one file:
Chris Hanson [Fri, 6 Jan 1995 17:50:54 +0000 (17:50 +0000)]
Simplify interface to OS/2 API by moving all definitions to one file:
"os2api.h".  By means of some trickery, this eliminates the OS/2
dependencies in "syscall.h".  Additionally, add definitions to allow
preallocation of the heap's memory (which is temporarily disabled due
to problems it causes during debugging).

30 years agoFix problem with init-file loading: if the init file deletes the
Chris Hanson [Fri, 6 Jan 1995 17:47:23 +0000 (17:47 +0000)]
Fix problem with init-file loading: if the init file deletes the
initial buffer or sets an inhibition flag, don't start the inferior
REPL.

30 years agoFix problem with init-file loading: if the init file deletes the
Chris Hanson [Fri, 6 Jan 1995 17:47:09 +0000 (17:47 +0000)]
Fix problem with init-file loading: if the init file deletes the
initial buffer or sets an inhibition flag, don't start the inferior
REPL.

30 years agoSimplify interface to OS/2 API by moving all definitions to one file:
Chris Hanson [Fri, 6 Jan 1995 17:42:11 +0000 (17:42 +0000)]
Simplify interface to OS/2 API by moving all definitions to one file:
"os2api.h".  By means of some trickery, this eliminates the OS/2
dependencies in "syscall.h".  Additionally, add definitions to allow
preallocation of the heap's memory (which is temporarily disabled due
to problems it causes during debugging).

30 years agoUnder OS/2, guarantee that correct number of type bits is used.
Chris Hanson [Fri, 6 Jan 1995 17:39:39 +0000 (17:39 +0000)]
Under OS/2, guarantee that correct number of type bits is used.

30 years agoAdd OS conditionalizations so that OS/2 can be supported.
Chris Hanson [Fri, 6 Jan 1995 01:14:58 +0000 (01:14 +0000)]
Add OS conditionalizations so that OS/2 can be supported.

30 years agoAdd OS conditionalizations so that OS/2 can be supported. Change
Chris Hanson [Fri, 6 Jan 1995 01:14:37 +0000 (01:14 +0000)]
Add OS conditionalizations so that OS/2 can be supported.  Change
subprocess I/O to use input and output buffers so that end-of-line
translation can be handled automatically by the runtime system.

30 years agoChange to use runtime system's "os2winp" support. Change
Chris Hanson [Fri, 6 Jan 1995 01:12:44 +0000 (01:12 +0000)]
Change to use runtime system's "os2winp" support.  Change
corresponding to microcode which now supports multiple event queues
for windows.  Add subprocess support.  Reimplement management of state
so that windows are closed down properly when the editor is killed.
Change code that "controlifies" input characters -- previously it was
not doing this correctly.  Change handling of paint events to clear
the region being painted before drawing in it -- previously the
microcode took care of this, but it no longer does so.

30 years agoImplement OS-specific part of subprocess support.
Chris Hanson [Fri, 6 Jan 1995 01:08:47 +0000 (01:08 +0000)]
Implement OS-specific part of subprocess support.

30 years agoExtend M-x count-lines to show the number of characters in the region
Chris Hanson [Fri, 6 Jan 1995 01:08:00 +0000 (01:08 +0000)]
Extend M-x count-lines to show the number of characters in the region
as well as the number of lines.

30 years agoChange text-mode translation to be done during buffer read or write by
Chris Hanson [Fri, 6 Jan 1995 01:07:23 +0000 (01:07 +0000)]
Change text-mode translation to be done during buffer read or write by
means of the input/output-buffer abstractions in the runtime system.
This is MUCH faster than the mechanism previously implemented here.

30 years agoDon't signal an error if a file has a "find-file initialization" that
Chris Hanson [Fri, 6 Jan 1995 01:06:09 +0000 (01:06 +0000)]
Don't signal an error if a file has a "find-file initialization" that
specifies an non-existent environment or syntax table.  Instead, just
print a warning message and set the environment to the default.

30 years agoChange to use new CREF OS-conditionalization expression, so that this
Chris Hanson [Fri, 6 Jan 1995 01:04:45 +0000 (01:04 +0000)]
Change to use new CREF OS-conditionalization expression, so that this
file can be shared between unix, OS/2, DOS, and Windows without
editing.  Also add changes for OS/2 subprocess support.

30 years agoChange to load subprocess support for OS/2 as well as unix.
Chris Hanson [Fri, 6 Jan 1995 01:03:24 +0000 (01:03 +0000)]
Change to load subprocess support for OS/2 as well as unix.

30 years agoDon't allow the mouse to select the typein window if it is inactive.
Chris Hanson [Fri, 6 Jan 1995 01:02:39 +0000 (01:02 +0000)]
Don't allow the mouse to select the typein window if it is inactive.

30 years agoChange loading of editor init file so that it is performed before
Chris Hanson [Fri, 6 Jan 1995 01:01:50 +0000 (01:01 +0000)]
Change loading of editor init file so that it is performed before
starting the inferior REPL.  Also do not temporarily change the
current buffer to a dummy buffer during this load.

30 years agoFIND-PROGRAM is now operating-system specific.
Chris Hanson [Fri, 6 Jan 1995 00:59:18 +0000 (00:59 +0000)]
FIND-PROGRAM is now operating-system specific.