1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-26 05:00:28 +02:00
Commit graph

186 commits

Author SHA1 Message Date
Gary Houston
8e44e7a0c7 * boot-9.scm (error-catching-loop thunk): use a status variable to
return the quit args.
(scm-style-repl): call -quit, passing return value from
error-catching-repl.  Make -quit return its args.
stand-along-repl: comment out, since it seems unused.
(top-repl): convert the value returned by scm-style-repl to
an integer and return it.

(error-catching-loop thunk): discard trailing junk after a (quit).
1997-03-02 06:09:41 +00:00
Mikael Djurfeldt
e6aa2a8a24 This is Tom Lord's old printer code. Since it isn't used any longer
it shouldn't be included in the distribution

But we may want to look at it later, so I add it to the repository.
1997-03-01 15:56:21 +00:00
Mikael Djurfeldt
06a02069fe * boot-9.scm: Removed the old printer code.
* r4rs.scm (apply, call-with-current-continuation): Added comment
explaining why apply and call/cc need to be closures.

* boot-9.scm (apply, call-with-current-continuation): Bugfix:
Removed. These definitions are already present in r4rs.scm.
1997-03-01 15:48:38 +00:00
Mikael Djurfeldt
cb3a178451 Added argument checking to trace. 1997-03-01 14:53:27 +00:00
Mikael Djurfeldt
9a942103f0 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
stack before printing traced frames; Re-enable trace flag at end
of handlers.
1997-03-01 14:26:57 +00:00
Mikael Djurfeldt
c7ec19832b Experimental hacks emulating the Guile-iii Tk interface. 1997-03-01 02:04:54 +00:00
Mikael Djurfeldt
7dd98e0b20 Experimental hack implementing the Guile side of a prototype Emacs
interface.
1997-03-01 02:04:00 +00:00
Mikael Djurfeldt
59e1116d05 * debug.scm: Add hook for reset of trace level at abort.
* boot-9.scm (run-hooks): New procedure.
	(add-hooks!): New macro.
	Change hooks to use these functions.
1997-03-01 01:34:23 +00:00
Mikael Djurfeldt
d5d34fa189 (Slight improvement from previous fix.) 1997-03-01 01:01:09 +00:00
Mikael Djurfeldt
e6875011f4 * * debug.scm: *Warning* This feature is a bit premature. I add
it anyway because 1. it is very useful, and, 2. you can start
	making it less premature by complaining to me and by modifying
	the source! :-)
	(trace): Given one or more procedure objects, trace each one.
	Given no arguments, show all traced procedures.
	(untrace): Given one or more procedure objects, untrace each one.
	Given no arguments, untrace all traced procedures.  The tracing in
	Guile have an advantage to most other systems: We don't create new
	procedure objects, but mark the procedure objects themselves.
	This means that also anonymous and internal procedures can be
	traced.

	* boot-9.scm (error-catching-loop): Added handling of apply-frame
	and exit-frame exceptions.

*	* boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
	(set-repl-prompt!): Setter for repl prompt.
	(scm-style-repl): If prompt is #f, don't prompt; if prompt is a
	string, display it; if prompt is a thunk, call it and display its
	result; otherwise display "> ".
	(Change suggested by Roland Orre <orre@nada.kth.se>.)
1997-02-28 23:11:22 +00:00
Mikael Djurfeldt
0065d90e1a * r4rs.scm (%load-verbosely): Reverted change to
`module-defined?', since the module system isn't bootstrapped when
we load r4rs.scm.  This is just a temporary fix to make the
repository version runnable.
1997-02-27 23:05:23 +00:00
Mikael Djurfeldt
eb52a06bb3 * boot-9.scm: Removed the enabling of debug evaluator and
recording of source code positions.  This was placed there for our
convenience, but it has already sneaked into the distribution
once... so we'd better add this in our local copies instead when
we need it.  (These options are normally enabled at the end of
boot-9.scm when loading the debug module.)
1997-02-27 22:36:16 +00:00
Marius Vollmer
d18d1b6dd3 *** empty log message *** 1997-02-27 15:37:02 +00:00
Marius Vollmer
ed218d98d7 * boot-9.scm (module-defined?): New function.
(macroexpand-1, macroexpand): Use local-ref instead of defined?
and eval.
* r4rs.scm (%load-verbosely): Use "module-defined?" instead of
"defined?".
* slib.scm (defined?): New function to take the place of the
builtin "defined?".  It allways examines the slib module.
1997-02-27 15:36:04 +00:00
Mikael Djurfeldt
15ae1beecf * configure.in: Added AM_MAINTAINER_MODE
Makefile.in, aclocal.m4, configure: Regenerated
1997-02-24 23:35:55 +00:00
Jim Blandy
d655b1f27b Initial, incomplete revision of source code access module for Guile debugger. 1997-02-19 19:07:01 +00:00
Gary Houston
c2132276b8 * boot-9.scm (read-sharp): define directly, don't go through a
%read-sharp layer.
* boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
uniform-vector-set1! which doesn't exist.
1997-02-15 18:48:12 +00:00
Mikael Djurfeldt
d590bbf6d8 * boot-9.scm (backtrace): Removed. (A C version now exists in
backtrace.c.)
1997-02-10 01:05:50 +00:00
Gary Houston
1e531c3aee * boot-9.scm (read-line!, read-delimited!, read-delimited,
read-line): new	procedures, see libguile/ChangeLog.
1997-01-25 18:24:54 +00:00
Marius Vollmer
bb0102f781 *** empty log message *** 1997-01-18 11:30:37 +00:00
Marius Vollmer
d0cbd20cd8 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
* boot-9.scm (split-c-module-name, convert-c-registered-modules,
init-dynamic-module, dynamic-maybe-call,
find-and-link-dynamic-module, link-dynamic-module,
try-module-dynamic-link, registered-modules): New definitions for
dynamic linking of modules.
(resolve-module): Try to dynamically link the requested module
after failing to load it as Scheme code.
1997-01-18 11:29:20 +00:00
Gary Houston
920235cc17 * boot-9.scm (getservbyport, getservbyname): remove stray %. 1997-01-08 07:48:03 +00:00
Jim Blandy
198befde13 *** empty log message *** 1997-01-08 01:28:55 +00:00
Jim Blandy
b1646914c4 * lineio.scm (make-line-buffering-input-port): Properly test for
the case of an empty buffer list.  The old code assumed that '()
was false.
1997-01-08 01:27:12 +00:00
Jim Blandy
132e5fac84 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
that's what it is.
1997-01-08 01:27:01 +00:00
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