Commit graph

294 commits

Author SHA1 Message Date
Jim Blandy
9b01064c23 *** empty log message *** 1997-05-13 21:42:30 +00:00
Gary Houston
1fbc60b2c3 * boot-9.scm (error-catching-loop): don't read a line from
current input when quit is encountered, the previous change
fixes this too.
1997-05-13 04:46:16 +00:00
Jim Blandy
c7d97590d6 *** empty log message *** 1997-05-13 00:02:23 +00:00
Jim Blandy
6b3f33665f * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
the Scheme code like code yet.
* Makefile.in: Resrac,husrched.
1997-05-07 01:11:37 +00:00
Marius Vollmer
eea324eec3 *** empty log message *** 1997-04-30 13:36:16 +00:00
Marius Vollmer
ef79b65ba8 *** empty log message *** 1997-04-29 18:23:55 +00:00
Gary Houston
3be7701343 * boot-9.scm: don't define timer-thunk or gc-thunk. 1997-04-29 08:15:55 +00:00
Jim Blandy
28c682fa07 *** empty log message *** 1997-04-28 16:53:31 +00:00
Jim Blandy
819f936bd9 *** empty log message *** 1997-04-24 08:19:14 +00:00
Jim Blandy
2010830119 *** empty log message *** 1997-04-24 06:40:01 +00:00
Jim Blandy
dab94cac68 *** empty log message *** 1997-04-20 19:58:07 +00:00
Gary Houston
6549522160 * boot-9.scm (log10): defined. 1997-04-12 19:47:09 +00:00
Gary Houston
708bf0f343 * expect.scm (expect-select): correct the millisecond timeout
arithmetic (from Marko.Kohtala@ntc.nokia.com).
	* boot-9.scm (open-input-pipe, open-output-pipe): defined here
	instead of in libguile.
	(tm:sec etc.) new accessors for broken-down time.
	(set-tm:sec etc.) new setters for broken-down time.
1997-04-05 21:58:35 +00:00
Gary Houston
9337637f9a * boot-9.scm (netent:addrtype, servent:port): added missing
procedures.
(netent:net, servent:proto): repaired.
(utsname:sysname etc.): new accessors for uname.
* boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
sockaddr:port): new functions.
1997-03-29 18:38:21 +00:00
Gary Houston
bce074ee22 * boot-9.scm: define accessor procedures for the objects returned
by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
	passwd:name, where the first component is the name of the C structure
 	and the second is the unprefixed C member name.)
*	* boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
	setservent): no longer take an argument, it was bogus.
1997-03-22 18:26:32 +00:00
Gary Houston
81e2a2357c * boot-9.scm (scm-error): deleted, reimplemented in C. 1997-03-15 18:12:17 +00:00
Mikael Djurfeldt
04798288c6 * boot-9.scm (process-define-module): Modified to handle both
keywords and symbols.
1997-03-10 15:03:41 +00:00
Gary Houston
75a97b9224 * slib.scm: update read usage.
* r4rs.scm: update primitive-load usage.
Don't define read-sharp.

* boot-9.scm: use read-hash-extend to install extra read syntax.
(read-sharp): removed.
Adjust usage of primitive-load-path, read, which no longer take
case_i or read-sharp arguments.
1997-03-08 19:02:20 +00:00
Mikael Djurfeldt
90d5e28037 * boot-9.scm: Added loading of session support module.
* boot-9.scm (beautify-user-module!): Don't add the root module
interface to the end of the use-list of the root module.
1997-03-08 15:14:00 +00:00
Mikael Djurfeldt
63a3d814b0 *** empty log message *** 1997-03-08 02:30:04 +00:00
Gary Houston
f3c23298e9 * boot-9.scm: check use-emacs-interface for emacs support. 1997-03-05 21:08:06 +00:00
Gary Houston
7950df7c45 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
read gets EOF.
* (exit): alias for quit.
1997-03-02 19:53:32 +00:00
Gary Houston
1a36eef2ea * throw.h: prototype for scm_exit_status.
* throw.c (scm_handle_by_message): if a 'quit is caught, use its
args to derive an exit status.  Allows (quit) to work from a
script.
(scm_exit_status): new function.
#include "eq.h".
1997-03-02 07:32:19 +00:00
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
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
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
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
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
Mikael Djurfeldt
15ae1beecf * configure.in: Added AM_MAINTAINER_MODE
Makefile.in, aclocal.m4, configure: Regenerated
1997-02-24 23:35:55 +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
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
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
506067f046 *** empty log message *** 1996-12-23 04:39:29 +00:00
Marius Vollmer
2ebf31560f *** empty log message *** 1996-12-21 09:51:27 +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
733943b9d2 Changes to use automake-generated Makefile.ins everywhere 1996-12-03 05:34:34 +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
3763761c89 *** empty log message *** 1996-11-20 21:06:20 +00:00
Mikael Djurfeldt
7ad737b69b *** empty log message *** 1996-11-02 20:54:28 +00:00
Jim Blandy
581a242ba5 *** empty log message *** 1996-10-29 03:59:48 +00:00
Jim Blandy
48be3fb33d *** empty log message *** 1996-10-29 03:48:55 +00:00