1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00
Commit graph

111 commits

Author SHA1 Message Date
Mikael Djurfeldt
33cf699f6e * * boot-9.scm (use-modules): New macro (from Marius Vollmer).
(use-modules <module name> ...) Put the the modules named by
	<module name> ... on the use list of the current module.
1997-01-05 23:38:10 +00:00
Jim Blandy
7a8188539f *** empty log message *** 1997-01-05 22:01:56 +00:00
Jim Blandy
16050117fd * boot-9.scm (error-catching-loop): Remove message saying that
typing "$" will put you in the debugger.  This isn't implemented
yet.
1997-01-05 22:00:43 +00:00
Jim Blandy
506067f046 *** empty log message *** 1996-12-23 04:39:29 +00:00
Jim Blandy
ed440df5a9 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
been fixed, so this function is superfluous.
(transform-usage-lambda): Use delq!, not delq-all!.
1996-12-23 04:38:04 +00:00
Marius Vollmer
2ebf31560f *** empty log message *** 1996-12-21 09:51:27 +00:00
Marius Vollmer
0209ca9a14 * * boot-9.scm (resolve-module): New optional parameter that
controls whether autoloading is attempted or not. Default is #t.
	(process-define-module): Don't autoload the defined module.
	(try-module-autoload): Don't autoload the directory modules.

*	* boot-9.scm (process-define-module): Ensure that the-scm-module
 	is last in the `uses' list to allow shadowing builtin
 	bindings. All :use-module options are added in the order they
 	appear in the arguments but before anything already on the list
 	(such as the-scm-module).
1996-12-21 09:50:38 +00:00
Jim Blandy
2bb21d9358 rebuilt 1996-12-18 21:56:42 +00:00
Mark Galassi
22c7f3c838 little stuff in docs 1996-12-18 00:38:36 +00:00
Mikael Djurfeldt
74f17710af Regenerated by automake-1.1l. 1996-12-14 14:46:02 +00:00
Mark Galassi
0871d40773 working on gh_catch examples 1996-12-13 02:01:23 +00:00
Gary Houston
00f06035f1 * slib.scm (slib-parent-dir): throw error if #f returned from
%search-load-path.
1996-12-12 00:16:05 +00:00
Tom Tromey
85e02c55a9 updated to automake 1.1l 1996-12-10 07:31:57 +00:00
Jim Blandy
a62ca5a1d3 Regenerated using patched automake-1.1k. 1996-12-08 06:21:24 +00:00
Mark Galassi
84da179fc3 some configuration fixes to get gtcltk to work for me 1996-12-07 04:25:26 +00:00
Tom Tromey
733943b9d2 Changes to use automake-generated Makefile.ins everywhere 1996-12-03 05:34:34 +00:00
Marius Vollmer
b1818df3c3 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
(slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
 function, use it accordingly.
1996-11-27 13:32:02 +00:00
Marius Vollmer
84abd24334 *** empty log message *** 1996-11-27 13:29:16 +00:00
Jim Blandy
a31bc6fbba *** empty log message *** 1996-11-21 16:16:54 +00:00
Jim Blandy
31d50456c4 It's an "eval closure", not an "eval thunk." A thunk is a
function of no arguments.
* boot-9.scm (module-type): Rename module field.
(make-module, eval-in-module, make-root-module,
set-current-module): Uses changed.
(module-eval-closure, set-module-eval-closure!,
root-module-closure): Renamed from module-eval-thunk,
set-module-eval-thunk!, root-module-thunk.
(set-current-module): Change uses of *top-level-lookup-thunk* to
*top-level-eval-closure*.
1996-11-21 16:16:46 +00:00
Jim Blandy
3763761c89 *** empty log message *** 1996-11-20 21:06:20 +00:00
Jim Blandy
84d219d43d * slib.scm (slib-parent-dir): Use string-length, not length.
(Thanks to Bernard Urban.)
1996-11-20 21:06:05 +00:00
Mikael Djurfeldt
7ad737b69b *** empty log message *** 1996-11-02 20:54:28 +00:00
Mikael Djurfeldt
c51bfd813b * slib.scm (slib:load): Adapt to the new behavior of
primitive-load: It doesn't any longer try both with and without
".scm" extension.  (We don't want to use %search-load-path here.)
1996-11-02 20:51:44 +00:00
Mikael Djurfeldt
61529d8e6e * * boot-9.scm: The debugging evaluator and recording of positions
aren't enabled by default any longer (they are switched on in
	debug.scm).  But during development we want to have them also

	* debug.scm: Enable debugging evaluator and recording of positions
	by default.
1996-11-02 20:51:37 +00:00
Mikael Djurfeldt
21ed9efe51 * * boot-9.scm: The debugging evaluator and recording of positions
aren't enabled by default any longer (they are switched on in
	debug.scm).  But during development we want to have them also
	*inside* boot-9.scm.  Therefore, two lines are added at the
	beginning of boot-9.scm to enable these.
1996-11-02 20:51:30 +00:00
Jim Blandy
581a242ba5 *** empty log message *** 1996-10-29 03:59:48 +00:00
Jim Blandy
a06181a2d5 * boot-9.scm (load-from-path): New function.
* boot-9.scm (try-load, basic-try-load, try-load-module,
try-load): Deleted.  I don't think they're being used.
1996-10-29 03:59:35 +00:00
Jim Blandy
48be3fb33d *** empty log message *** 1996-10-29 03:48:55 +00:00
Jim Blandy
059e888268 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
so they'll get distributed.
1996-10-29 03:48:41 +00:00
Jim Blandy
98c27b65ad Get Guile to be a little less chatty by default. The new user
should see as little clutter as possible.
* r4rs.scm (%load-verbosely): Make this #f by default.
* boot-9.scm (scm-repl-verbose): Make this #f by default.
(scm-style-repl): Don't run 'pk' on the value passed to quit.

* r4rs.scm: New file.
* boot-9.scm: Load r4rs.scm, first thing.
(OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
open-output-file, open-io-file, close-input-port,
close-output-port, close-io-port, call-with-input-file,
call-with-output-file, with-input-from-port, with-output-to-port,
with-error-to-port, with-input-from-file, with-output-to-file,
with-error-to-file, with-input-from-string, with-output-to-string,
with-error-to-string, the-eof-object): Definitions moved to
r4rs.scm.  Not all of them are R4RS, but those that are use those
that are not.
(load, %load-verbosely, %load-announce): Moved, along with code to
set %load-hook, to r4rs.scm.
1996-10-29 03:48:15 +00:00
Jim Blandy
79451588c7 Get Guile to be a little less chatty by default. The new user
should see as little clutter as possible.
* r4rs.scm (%load-verbosely): Make this #f by default.
* boot-9.scm (scm-repl-verbose): Make this #f by default.
(scm-style-repl): Don't run 'pk' on the value passed to quit.

* r4rs.scm: New file.
* boot-9.scm: Load r4rs.scm, first thing.
(OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
open-output-file, open-io-file, close-input-port,
close-output-port, close-io-port, call-with-input-file,
call-with-output-file, with-input-from-port, with-output-to-port,
with-error-to-port, with-input-from-file, with-output-to-file,
with-error-to-file, with-input-from-string, with-output-to-string,
with-error-to-string, the-eof-object): Definitions moved to
r4rs.scm.  Not all of them are R4RS, but those that are use those
that are not.
(load, %load-verbosely, %load-announce): Moved, along with code to
set %load-hook, to r4rs.scm.

* boot-9.scm (integer?): Definition deleted, in favor of the one
present in libguile (which used to be called int?).  I have no
idea why integer? didn't just call int? to begin with.

* boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
=?, >?, and >=? deleted; they're defined that way by libguile now.
1996-10-29 03:47:36 +00:00
Jim Blandy
93d4a182b1 * test.scm: New file. 1996-10-29 03:46:39 +00:00
Jim Blandy
d098b5d348 (load): Should call primitive-load-path, not primitive-load. Oops. 1996-10-28 23:15:34 +00:00
Jim Blandy
99f97bfe7e *** empty log message *** 1996-10-28 23:06:04 +00:00
Jim Blandy
c368ffcff1 * boot-9.scm (load): Simplified; primitive-load does most of this
work now.
(%load-announce-win): Removed; no longer used.  Set %load-hook to
call %load-announce.
1996-10-28 23:00:25 +00:00
Jim Blandy
4fe3604d42 *** empty log message *** 1996-10-28 19:37:04 +00:00
Gary Houston
3afb28ce85 * boot-9.scm (stat:dev etc.) accessor functions for stat components.
(file-is-directory?): use stat:type.
1996-10-27 23:26:35 +00:00
Jim Blandy
3065a62a4c *** empty log message *** 1996-10-25 08:40:27 +00:00
Jim Blandy
0464a0956f * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
that's now taken care of in libguile, and in a way compatible with
SCSH (which this isn't).
1996-10-25 08:35:36 +00:00
Jim Blandy
e4c5095fda *** empty log message *** 1996-10-21 23:54:02 +00:00
Jim Blandy
c7c03b9f87 * boot-9.scm: Formatting tweaks. 1996-10-21 23:53:01 +00:00
Mikael Djurfeldt
fdd649e1bf Adjustment of load-stack selection. 1996-10-18 00:15:09 +00:00
Mikael Djurfeldt
c27659c87d Bugfix: arg-list --> args in error handler. 1996-10-17 23:56:31 +00:00
Mikael Djurfeldt
1bb961a353 *** empty log message *** 1996-10-17 23:43:30 +00:00
Mikael Djurfeldt
1c6cd8e85e * boot-9.scm (handle-system-error): Added hooks before-error-hook,
after-error-hook, before-backtrace-hook and after-backtrace-hook
to the error handler.  E.g.: fancy emacs support could plug into
these.
(save-stack): New function.  The stack is now made differently
depending on the stack id.  (The motivation is to make a better
choice regarding what stack frames to present to the user.)
(error-catching-loop): Stack handling code moved outside into
save-stack.
1996-10-17 23:43:23 +00:00
Gary Houston
d7189b4983 * Makefile.in (scm_files): add expect.scm.
* expect.scm: new file ported from guile-iii.
1996-10-17 23:21:10 +00:00
Gary Houston
35c5db8731 Second thoughts, keep handle-system-error but call it from
error-catching-loop.
1996-10-17 21:56:22 +00:00
Gary Houston
9a0d70e21e * boot-9.scm: remove handle-system-error, after moving the code into
error-catching-loop.
Don't set 'throw-handler-default property on error keys.
Just interpret (almost) any throw with 4 args as an error throw.
Delete some try-load stuff that was already commented out.
1996-10-17 21:45:04 +00:00
Jim Blandy
44cf1f0f8c Formatting niggles. 1996-10-16 22:29:19 +00:00