mit-scheme.git
30 years agoAdd "OS2_" prefixes to exported procedure names. Implement "readahead
Chris Hanson [Fri, 2 Dec 1994 20:41:57 +0000 (20:41 +0000)]
Add "OS2_" prefixes to exported procedure names.  Implement "readahead
buffer" abstraction.

30 years agoChange initialization sequence so that OS/2 can start up its console
Chris Hanson [Fri, 2 Dec 1994 20:40:20 +0000 (20:40 +0000)]
Change initialization sequence so that OS/2 can start up its console
window before the first `outf' call occurs.  Also add initialization
for PM console.

30 years agoChange initialization sequence so that OS/2 can start up its console
Chris Hanson [Fri, 2 Dec 1994 20:39:36 +0000 (20:39 +0000)]
Change initialization sequence so that OS/2 can start up its console
window before the first `outf' call occurs.

30 years agoI exported *pp-auto-highlighter*
Stephen Adams [Fri, 2 Dec 1994 16:42:11 +0000 (16:42 +0000)]
I exported *pp-auto-highlighter*
cph did something for os2.

30 years agoAdded *pp-auto-highlighter*.
Stephen Adams [Fri, 2 Dec 1994 16:38:29 +0000 (16:38 +0000)]
Added *pp-auto-highlighter*.

When *pp-auto-highlighter* is #F (the default) pp behaves as before.

When assigned a procedure of one argument this procedure is called for
each part of the input tree.  It may return:

 . #F  indicating that pp should proceed normally

 . a new form which is pretty printed instead of the input, for
   example, it may be wrapped with a highlight.

30 years agoRemoved old CFG datatypes and associated variables *expressions and
Stephen Adams [Fri, 2 Dec 1994 03:12:18 +0000 (03:12 +0000)]
Removed old CFG datatypes and associated variables *expressions and
*procedures*

30 years agoRemoved old CFG datatypes and associated variables *expressions and
Stephen Adams [Fri, 2 Dec 1994 03:01:24 +0000 (03:01 +0000)]
Removed old CFG datatypes and associated variables *expressions and
*procedures*

30 years agoRemoved (interrupt-check:procedure/avoid-for-this-label? label)
Stephen Adams [Fri, 2 Dec 1994 02:17:19 +0000 (02:17 +0000)]
Removed (interrupt-check:procedure/avoid-for-this-label? label)

30 years agoFixed string reading again. This time it uses a string output prort
Stephen Adams [Fri, 2 Dec 1994 01:50:28 +0000 (01:50 +0000)]
Fixed string reading again.  This time it uses a string output prort
to accumulate the characters.

30 years ago*** empty log message ***
Stephen Adams [Thu, 1 Dec 1994 20:40:11 +0000 (20:40 +0000)]
*** empty log message ***

30 years agoFixed in PARSE-OBJECT/STRING-QUOTE to make it behave better when
Stephen Adams [Thu, 1 Dec 1994 19:01:09 +0000 (19:01 +0000)]
Fixed in PARSE-OBJECT/STRING-QUOTE to make it behave better when
reading large strings with escapes.  Removed recursion and to reduced
consing by doing a single string-append at the end rather than one per
escape.

Desirable for 7.3 release.

30 years agoFormatting changes while reading to understand what is happening to
Stephen Adams [Wed, 30 Nov 1994 23:20:59 +0000 (23:20 +0000)]
Formatting changes while reading to understand what is happening to
cause the dbg info bug with (lambda () (lambda () '()))

30 years agoExtended variable print method.
Stephen Adams [Wed, 30 Nov 1994 22:19:00 +0000 (22:19 +0000)]
Extended variable print method.

30 years agoInitial revision
Stephen Adams [Tue, 29 Nov 1994 03:24:13 +0000 (03:24 +0000)]
Initial revision

30 years agoRemoved the cf/new etc names.
Stephen Adams [Tue, 29 Nov 1994 02:34:07 +0000 (02:34 +0000)]
Removed the cf/new etc names.

30 years agoRemoved cf/new etc, since the `old' names do the new thing.
Stephen Adams [Tue, 29 Nov 1994 02:33:42 +0000 (02:33 +0000)]
Removed cf/new etc, since the `old' names do the new thing.

30 years agoFix think-o.
Chris Hanson [Mon, 28 Nov 1994 08:11:48 +0000 (08:11 +0000)]
Fix think-o.

30 years agoAdd OS/2 console to list of terminal-like channels.
Chris Hanson [Mon, 28 Nov 1994 07:36:06 +0000 (07:36 +0000)]
Add OS/2 console to list of terminal-like channels.

30 years agoGeneralize runtime system's notion of "terminal" to coincide with that
Chris Hanson [Mon, 28 Nov 1994 07:35:36 +0000 (07:35 +0000)]
Generalize runtime system's notion of "terminal" to coincide with that
of microcode.  Add OS/2 console to list of terminal-like channels.

30 years ago*** empty log message ***
Chris Hanson [Mon, 28 Nov 1994 05:46:25 +0000 (05:46 +0000)]
*** empty log message ***

30 years agoInitial revision
Chris Hanson [Mon, 28 Nov 1994 05:46:24 +0000 (05:46 +0000)]
Initial revision

30 years agoEliminate "canonicalization" from pathname abstraction; this doesn't
Chris Hanson [Mon, 28 Nov 1994 05:45:12 +0000 (05:45 +0000)]
Eliminate "canonicalization" from pathname abstraction; this doesn't
belong here.  Change pathname abstraction so that DOS, NT, and OS/2
can share an single pathname implementation.

30 years agoInitial revision
Chris Hanson [Mon, 28 Nov 1994 05:26:34 +0000 (05:26 +0000)]
Initial revision

30 years agoAdd rule to generate OS/2 assembly language file.
Chris Hanson [Mon, 28 Nov 1994 05:22:58 +0000 (05:22 +0000)]
Add rule to generate OS/2 assembly language file.

30 years agoTweak to last change.
Chris Hanson [Mon, 28 Nov 1994 05:21:39 +0000 (05:21 +0000)]
Tweak to last change.

30 years agoClip out C_call_scheme under OS/2 -- this isn't needed.
Chris Hanson [Mon, 28 Nov 1994 04:37:22 +0000 (04:37 +0000)]
Clip out C_call_scheme under OS/2 -- this isn't needed.

30 years agoFinal update for first working version of OS/2 port.
Chris Hanson [Mon, 28 Nov 1994 04:35:28 +0000 (04:35 +0000)]
Final update for first working version of OS/2 port.

30 years agoAdd conditionalizations for compiling with gcc under OS/2.
Chris Hanson [Mon, 28 Nov 1994 04:30:16 +0000 (04:30 +0000)]
Add conditionalizations for compiling with gcc under OS/2.

30 years agoGeneralize handling of filenames to treat OS/2 like DOS and NT.
Chris Hanson [Mon, 28 Nov 1994 04:28:41 +0000 (04:28 +0000)]
Generalize handling of filenames to treat OS/2 like DOS and NT.

30 years agoInitial revision
Chris Hanson [Mon, 28 Nov 1994 04:26:10 +0000 (04:26 +0000)]
Initial revision

30 years agoAdd tweaks necessary to get this running under OS/2.
Chris Hanson [Mon, 28 Nov 1994 04:15:49 +0000 (04:15 +0000)]
Add tweaks necessary to get this running under OS/2.

30 years agoDefine a special hook to allow OS/2 to shut down its extra threads in
Chris Hanson [Mon, 28 Nov 1994 04:06:33 +0000 (04:06 +0000)]
Define a special hook to allow OS/2 to shut down its extra threads in
an orderly way when Scheme exits.

30 years agoAdd markers to identify procedures that are called from assembly
Chris Hanson [Mon, 28 Nov 1994 04:05:21 +0000 (04:05 +0000)]
Add markers to identify procedures that are called from assembly
language, so that they can be compiled with different calling
conventions from the default.

30 years agoAdded print methods to the structures.
Stephen Adams [Mon, 28 Nov 1994 03:55:12 +0000 (03:55 +0000)]
Added print methods to the structures.

30 years agoSupply missing definition needed for no-compiled-code support case.
Chris Hanson [Mon, 28 Nov 1994 03:53:25 +0000 (03:53 +0000)]
Supply missing definition needed for no-compiled-code support case.

30 years agoCall dstack_initialize and transaction_initialize from main rather
Chris Hanson [Mon, 28 Nov 1994 03:51:01 +0000 (03:51 +0000)]
Call dstack_initialize and transaction_initialize from main rather
than from the operating-system specific initialization procedures.

30 years agoInitial revision
Chris Hanson [Mon, 28 Nov 1994 03:43:02 +0000 (03:43 +0000)]
Initial revision

30 years agoFix bug in previous change.
Chris Hanson [Sun, 27 Nov 1994 23:05:09 +0000 (23:05 +0000)]
Fix bug in previous change.

30 years agoSome minor changes for environment information.
Guillermo J. Rozas [Sat, 26 Nov 1994 22:07:13 +0000 (22:07 +0000)]
Some minor changes for environment information.

30 years agoAdded fnord
Guillermo J. Rozas [Sat, 26 Nov 1994 20:00:29 +0000 (20:00 +0000)]
Added fnord

30 years agoAdded hooks for PROFILE-COUNT.
Stephen Adams [Sat, 26 Nov 1994 19:24:41 +0000 (19:24 +0000)]
Added hooks for PROFILE-COUNT.

30 years agoForbid lapopt to fill the delay slot in the PROFILE-COUNT code.
Stephen Adams [Sat, 26 Nov 1994 19:23:53 +0000 (19:23 +0000)]
Forbid lapopt to fill the delay slot in the PROFILE-COUNT code.

30 years agoAdded switch COMPILER:GENERATE-PROFILING-INSTRUCTIONS?
Stephen Adams [Sat, 26 Nov 1994 19:22:32 +0000 (19:22 +0000)]
Added switch COMPILER:GENERATE-PROFILING-INSTRUCTIONS?

30 years agoAdded RTL PROFILE-COUNT and PROFILE-DATA.
Stephen Adams [Sat, 26 Nov 1994 19:21:03 +0000 (19:21 +0000)]
Added RTL PROFILE-COUNT and PROFILE-DATA.

30 years agoPARSE-RTL now inserts PROFILE-COUNT instructions at the end of basic
Stephen Adams [Sat, 26 Nov 1994 19:20:28 +0000 (19:20 +0000)]
PARSE-RTL now inserts PROFILE-COUNT instructions at the end of basic
block.  It mostly works, but this is the wrong place for it.  There is
no effect unless compiler:generate-profiling-instructions? is true.

The instuctions should be added just prior to assembly.  This would
make PARSE-RTL a reusable utility (we dont want two or three counts
per basic block!), and it would forestall problems with RTL
optimizations that change basic block boundaries (like common suffic
merging).

30 years agoAdded fluid variable *BLOCK-PROFILES* for gathering profiling data.
Stephen Adams [Sat, 26 Nov 1994 19:14:49 +0000 (19:14 +0000)]
Added fluid variable *BLOCK-PROFILES* for gathering profiling data.

30 years agoAdded the profile information abstraction.
Stephen Adams [Sat, 26 Nov 1994 19:13:50 +0000 (19:13 +0000)]
Added the profile information abstraction.

The base abstraction of the profile info keys and tags should probably
go in the runtime.

A reporting package should be created as a load option.

The important parts to the compiler should stay here.  These parts
track the profile-data declarationd and compute the information that
is inserted in the compiled code block.

30 years agoAdded code to process PROFILE-COUNT and PROFILE-DATA
Stephen Adams [Sat, 26 Nov 1994 19:06:58 +0000 (19:06 +0000)]
Added code to process PROFILE-COUNT and PROFILE-DATA

30 years ago*** empty log message ***
Stephen Adams [Sat, 26 Nov 1994 19:06:24 +0000 (19:06 +0000)]
*** empty log message ***

30 years agoBlow away copier/remember, unneeded since the remember routine is
Guillermo J. Rozas [Sat, 26 Nov 1994 19:05:34 +0000 (19:05 +0000)]
Blow away copier/remember, unneeded since the remember routine is
passed around as STATE.

30 years agoAdded methods for PROFILE-COUNT and PROFILE-DATA
Stephen Adams [Sat, 26 Nov 1994 19:03:36 +0000 (19:03 +0000)]
Added methods for PROFILE-COUNT and PROFILE-DATA

30 years agoFor suffix merging, the CONSTANTs in a PROFILE-DATA can be merely
Stephen Adams [Sat, 26 Nov 1994 19:02:23 +0000 (19:02 +0000)]
For suffix merging, the CONSTANTs in a PROFILE-DATA can be merely
EQUAL? (rather than EQV?).

30 years agoChanged NEW-VARIABLE to put the index as part of the name.
Stephen Adams [Sat, 26 Nov 1994 17:43:21 +0000 (17:43 +0000)]
Changed NEW-VARIABLE to put the index as part of the name.

30 years agoWhitespace problem?
Guillermo J. Rozas [Sat, 26 Nov 1994 16:56:47 +0000 (16:56 +0000)]
Whitespace problem?

30 years agoUpdate to partly handle new compatibility stuff.
Guillermo J. Rozas [Sat, 26 Nov 1994 16:55:36 +0000 (16:55 +0000)]
Update to partly handle new compatibility stuff.

30 years agoAdd compile/debug since compile drops the variable properties.
Guillermo J. Rozas [Sat, 26 Nov 1994 16:55:09 +0000 (16:55 +0000)]
Add compile/debug since compile drops the variable properties.

30 years agoCalls to *make-environment now declare the correct number of
Jim Miller [Sat, 26 Nov 1994 00:24:08 +0000 (00:24 +0000)]
Calls to *make-environment now declare the correct number of
arguments, rather than let rtlgen compute it.
This is necessary because some may be passed on the stack,
not easily visible to rtlgen.

30 years agoGet rid of spurious "cont" binding in first-class environments.
Jim Miller [Sat, 26 Nov 1994 00:23:24 +0000 (00:23 +0000)]
Get rid of spurious "cont" binding in first-class environments.

30 years agoIt is now illegal to have a uuo-link with unknown number of arguments.
Jim Miller [Sat, 26 Nov 1994 00:23:03 +0000 (00:23 +0000)]
It is now illegal to have a uuo-link with unknown number of arguments.
Compat may have rewritten the call to pass arguments on the stack,
and there is no simple way for rtlgen to recover this information,
hence the calls must come in with the right number.

30 years agoAdded code-rewrite/remember
Stephen Adams [Fri, 25 Nov 1994 23:08:14 +0000 (23:08 +0000)]
Added code-rewrite/remember

30 years agoChanges make-dataflow-analyzer to do nothing if dataflow/top-level
Stephen Adams [Fri, 25 Nov 1994 23:06:58 +0000 (23:06 +0000)]
Changes make-dataflow-analyzer to do nothing if dataflow/top-level
refused to make a graph (happens when the graph would be too beig)

30 years agoAdded/fixed *phases-to-omit*
Stephen Adams [Fri, 25 Nov 1994 23:05:40 +0000 (23:05 +0000)]
Added/fixed *phases-to-omit*

30 years ago(with Bill) added calls to remember rewrites
Stephen Adams [Fri, 25 Nov 1994 23:04:51 +0000 (23:04 +0000)]
(with Bill) added calls to remember rewrites

30 years ago*** empty log message ***
Stephen Adams [Fri, 25 Nov 1994 23:03:33 +0000 (23:03 +0000)]
*** empty log message ***

30 years agoAdded variable *maximum-node-count* to abort dataflow for large graphs.
Stephen Adams [Fri, 25 Nov 1994 23:03:05 +0000 (23:03 +0000)]
Added variable *maximum-node-count* to abort dataflow for large graphs.

30 years agoChanged order of arguments to %*set!
Jim Miller [Fri, 25 Nov 1994 23:01:56 +0000 (23:01 +0000)]
Changed order of arguments to %*set!

30 years agoAdded code/rewrite stuff
Stephen Adams [Fri, 25 Nov 1994 23:01:39 +0000 (23:01 +0000)]
Added code/rewrite stuff

30 years agoBill added some debugging stuff.
Stephen Adams [Fri, 25 Nov 1994 23:00:45 +0000 (23:00 +0000)]
Bill added some debugging stuff.

30 years agoCorrected the remember procedure.
Stephen Adams [Fri, 25 Nov 1994 22:58:37 +0000 (22:58 +0000)]
Corrected the remember procedure.

30 years ago*** empty log message ***
Stephen Adams [Fri, 25 Nov 1994 22:57:50 +0000 (22:57 +0000)]
*** empty log message ***

30 years agoAdded code to stackopt/model/make to handle the case where a procedure
Jim Miller [Fri, 25 Nov 1994 17:08:10 +0000 (17:08 +0000)]
Added code to stackopt/model/make to handle the case where a procedure
is called with ignored-continuations on the stack (as parameters).
This is really a patch to get around the harder problem of removing
the ignored-continuations.

30 years agoAdded code to include the parameters of `fat' procedures (thos ethat
Stephen Adams [Fri, 25 Nov 1994 16:29:40 +0000 (16:29 +0000)]
Added code to include the parameters of `fat' procedures (thos ethat
have some stack arguments) in the stack optimization.

30 years agoUndo change to rtlgen/available-registers that made the raw
Guillermo J. Rozas [Wed, 23 Nov 1994 23:15:26 +0000 (23:15 +0000)]
Undo change to rtlgen/available-registers that made the raw
continuation register available for allocation.

30 years agoMore profiling stuff
Stephen Adams [Wed, 23 Nov 1994 21:31:58 +0000 (21:31 +0000)]
More profiling stuff

30 years agoEliminate potential register reallocation of the continuation register
Guillermo J. Rozas [Wed, 23 Nov 1994 20:43:30 +0000 (20:43 +0000)]
Eliminate potential register reallocation of the continuation register
in new-apply.

30 years ago*** empty log message ***
Stephen Adams [Wed, 23 Nov 1994 20:40:56 +0000 (20:40 +0000)]
*** empty log message ***

30 years agoMake compile by procedures dump the filename in every compiled code
Guillermo J. Rozas [Wed, 23 Nov 1994 20:03:26 +0000 (20:03 +0000)]
Make compile by procedures dump the filename in every compiled code
block, rather than the symbol 'RECURSIVE.

30 years agoTurn debugging information on by default.
Stephen Adams [Wed, 23 Nov 1994 03:18:44 +0000 (03:18 +0000)]
Turn debugging information on by default.

30 years agoFix within-midend to propagate debugging information correctly accross
Stephen Adams [Wed, 23 Nov 1994 03:18:03 +0000 (03:18 +0000)]
Fix within-midend to propagate debugging information correctly accross
recursive compilations.

30 years agoMake missing debugging info warn instead of signalling an error.
Stephen Adams [Wed, 23 Nov 1994 02:28:44 +0000 (02:28 +0000)]
Make missing debugging info warn instead of signalling an error.

30 years agoFix parenthesis problem.
Guillermo J. Rozas [Tue, 22 Nov 1994 23:33:29 +0000 (23:33 +0000)]
Fix parenthesis problem.

30 years agoAdded profile counts for a few operations (cons, make-cell, ?)
Stephen Adams [Tue, 22 Nov 1994 21:32:52 +0000 (21:32 +0000)]
Added profile counts for a few operations (cons, make-cell, ?)

30 years agoSimple returns (and hook returns) must associate the debugging
Guillermo J. Rozas [Tue, 22 Nov 1994 19:52:24 +0000 (19:52 +0000)]
Simple returns (and hook returns) must associate the debugging
information both with the return and the value being returned.

30 years agoSubstitutions must propagate debugging information correctly.
Guillermo J. Rozas [Tue, 22 Nov 1994 19:51:49 +0000 (19:51 +0000)]
Substitutions must propagate debugging information correctly.

30 years agoLetrec must propagate debugging information correctly when producing a
Guillermo J. Rozas [Tue, 22 Nov 1994 19:50:34 +0000 (19:50 +0000)]
Letrec must propagate debugging information correctly when producing a
trivial closure.

30 years agoAdd definition of code-rewrite/remember*!
Guillermo J. Rozas [Tue, 22 Nov 1994 19:49:17 +0000 (19:49 +0000)]
Add definition of code-rewrite/remember*!

30 years agoAdd call to compat/remember in the special handler for
Guillermo J. Rozas [Tue, 22 Nov 1994 19:48:54 +0000 (19:48 +0000)]
Add call to compat/remember in the special handler for
%make-heap-closure.

30 years ago*** empty log message ***
Stephen Adams [Tue, 22 Nov 1994 19:45:34 +0000 (19:45 +0000)]
*** empty log message ***

30 years agoAdded profile-count hook entries.
Stephen Adams [Tue, 22 Nov 1994 04:01:23 +0000 (04:01 +0000)]
Added profile-count hook entries.

30 years agoMake lamba-list/parse return #!AUX parameters
Stephen Adams [Tue, 22 Nov 1994 03:50:00 +0000 (03:50 +0000)]
Make lamba-list/parse return #!AUX parameters

30 years ago*** empty log message ***
Stephen Adams [Tue, 22 Nov 1994 03:49:09 +0000 (03:49 +0000)]
*** empty log message ***

30 years agoDelay environment construction until after it is determined that
Guillermo J. Rozas [Sun, 20 Nov 1994 22:05:55 +0000 (22:05 +0000)]
Delay environment construction until after it is determined that
the debugging info contains a valid environment.

30 years agoAdded copyright.
Stephen Adams [Sun, 20 Nov 1994 20:40:04 +0000 (20:40 +0000)]
Added copyright.

30 years agoAdd new compiled-code methods for new compiler.
Guillermo J. Rozas [Sun, 20 Nov 1994 17:10:23 +0000 (17:10 +0000)]
Add new compiled-code methods for new compiler.

30 years agoExport new names for channel-file-length etc.
Chris Hanson [Sun, 20 Nov 1994 08:45:11 +0000 (08:45 +0000)]
Export new names for channel-file-length etc.

30 years agoFix name conflict with new OS/2 primitive FILE-LENGTH.
Chris Hanson [Sun, 20 Nov 1994 08:23:29 +0000 (08:23 +0000)]
Fix name conflict with new OS/2 primitive FILE-LENGTH.

30 years agoChange to use new file-length procedure.
Chris Hanson [Sun, 20 Nov 1994 05:18:03 +0000 (05:18 +0000)]
Change to use new file-length procedure.

30 years agoImplement file-length procedure.
Chris Hanson [Sun, 20 Nov 1994 05:13:14 +0000 (05:13 +0000)]
Implement file-length procedure.

30 years agoRename procedures:
Chris Hanson [Sun, 20 Nov 1994 05:06:56 +0000 (05:06 +0000)]
Rename procedures:
  file-length        => channel-file-length
  file-position      => channel-file-position
  file-set-position  => channel-file-set-position
This is needed to free up `file-length' for use as a procedure that
accepts a file name as argument and returns the file's length.

30 years agoDon't use `access' -- use `OS_file_access' instead.
Chris Hanson [Sun, 20 Nov 1994 00:57:29 +0000 (00:57 +0000)]
Don't use `access' -- use `OS_file_access' instead.