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

6720 commits

Author SHA1 Message Date
Marius Vollmer
3d0f4c6292 *** empty log message *** 2002-08-05 18:52:43 +00:00
Marius Vollmer
4310df3688 Added (use-modules (ice-9 rdelim)) to an example that uses read-line.
Thanks to Ralf Mattes!
2002-08-05 18:52:27 +00:00
Marius Vollmer
c5ee546dda Added an introductory blurb about GC that I had lying around. 2002-08-05 18:50:54 +00:00
Marius Vollmer
a9e40ed0d0 Added Han Wen Nienhuys as contributor. 2002-08-05 18:47:41 +00:00
Han-Wen Nienhuys
33138b0567 remove GC bits documentation from the tags table. 2002-08-05 17:46:34 +00:00
Han-Wen Nienhuys
39e8f371e2 (INPUT_ERROR): Prepare for file:line:column error
messages for errors in scm_lreadr() and friends.
2002-08-04 23:33:28 +00:00
Gary Houston
f5f45abe9f minor help-line edit 2002-08-04 19:49:56 +00:00
Han-Wen Nienhuys
5f16b8973e init port entry 2002-08-04 16:10:19 +00:00
Han-Wen Nienhuys
402788a938 port GC fix 2002-08-04 15:25:07 +00:00
Han-Wen Nienhuys
c2cbcc5768 gc statistic tweaks 2002-08-04 14:09:14 +00:00
Han-Wen Nienhuys
c7743d027a more code 2002-08-04 00:18:33 +00:00
Han-Wen Nienhuys
c8a1bdc460 new gc 2002-08-04 00:17:18 +00:00
Gary Houston
c3164ca85e * scheme-modules.texi: split "Scheme and modules" into
"provide and require" and "Environments".  Mention R5RS
	environments.
2002-08-02 22:58:38 +00:00
Marius Vollmer
cc8c6e7d30 *** empty log message *** 2002-08-01 18:43:19 +00:00
Marius Vollmer
f9482b3108 Moved here from parent directory. 2002-08-01 18:42:11 +00:00
Marius Vollmer
c3b6ed76e3 *** empty log message *** 2002-07-26 16:21:00 +00:00
Marius Vollmer
1bb649f993 (dist-hook): Use quotes so that an empty SCM_BENCHMARKS_DIRS works. 2002-07-26 16:20:53 +00:00
Marius Vollmer
ab331c2b6c *** empty log message *** 2002-07-26 16:00:38 +00:00
Marius Vollmer
5a6aa7e7ce (SCM_BENCHMARKS): List the real benchmarks, not foo
and bar.
(SCM_BENCHMARKS_DIRS): Uncommented, with an empty value.
2002-07-26 16:00:27 +00:00
Marius Vollmer
aea06b34a5 *** empty log message *** 2002-07-25 12:12:33 +00:00
Marius Vollmer
dfd71abaf0 (rstate_free): Return zero. 2002-07-25 12:12:21 +00:00
Dirk Herrmann
35060ae90e * environments.c (remove_key_from_alist): Removed.
(obarray_remove):  Simplified.
2002-07-24 16:34:43 +00:00
Stefan Jahn
6a53544072 2002-07-24 Stefan Jahn <stefan@lkcc.org>
* continuations.h: ia64: Include <signal.h> before
        <sys/ucontext.h>.
2002-07-24 09:25:24 +00:00
Han-Wen Nienhuys
afc8e572ba (mscripts): find and check version number of
automake. Complain if 1.6 is not found.
2002-07-22 00:17:26 +00:00
Dirk Herrmann
bcbd25b74f * modules.c (scm_sym2var): Don't compare SCM values with ==. 2002-07-21 21:18:27 +00:00
Han-Wen Nienhuys
1d1559ce6d * macros.c: include deprecation.h
* vectors.c (s_scm_vector_move_right_x): remove side effect in
macro arg.
(s_scm_vector_move_left_x): idem.

* net_db.c, posix.c, socket.c: variable naming: change ans to
result.

* sort.c (scm_merge_vector_x): accept vector as argument
iso. SCM*. This is needed for full GC correctness.

* gc.h: undo previous undocumented changes related to #ifdef
GENGC.
2002-07-21 17:46:23 +00:00
Dirk Herrmann
8f28ea31bb * lib.scm (print-result, print-user-result): Changed the
reporter's outputs to use symbols rather than strings to document
the individual values.  Thanks to Neil Jerram for the suggestion.
2002-07-21 12:01:26 +00:00
Dirk Herrmann
bde9d30b51 * benchmarks/0-reference.bm: Added as a reference benchmark to be
used to calibrate iteration counts.

* lib.scm: Added documentation.  Added some initialization
messages.

(benchmark-time-base, benchmark-total-time, benchmark-user-time,
benchmark-system-time, benchmark-frame-time, benchmark-core-time,
benchmark-user-time\interpreter, benchmark-core-time\interpreter):
Exported.

(benchmark-time-base, time-base): Renamed time-base to
benchmark-time-base and introduced new time-base as a short-cut.

(total-time, benchmark-total-time, user-time, benchmark-user-time,
system-time, benchmark-system-time, frame-time,
benchmark-frame-time, benchmark-time, benchmark-core-time,
user-time\interpreter, benchmark-user-time\interpreter,
benchmark-time\interpreter, benchmark-core-time\interpreter,
print-result, print-user-result):  Renamed <foo>-time to
benchmark-<foo>-time.  Exceptions: benchmark-time and
benchmark-time\interpreter were renamed to benchmark-core-time and
benchmark-core-time\interpreter, respectively.
2002-07-21 10:22:54 +00:00
Han-Wen Nienhuys
34d19ef643 2002-07-20 Han-Wen <hanwen@cs.uu.nl>
* *.c: add space after commas everywhere.

* *.c: use SCM_VECTOR_SET everywhere, where a vector is written.
Document cases where SCM_WRITABLE_VELTS() is used.

* vectors.h (SCM_VELTS): prepare for write barrier, and let
SCM_VELTS() return a const pointer
(SCM_VECTOR_SET): add macro.

* autogen.sh (mscripts): find and check version number of
autoconf. Complain if 2.53 is not found.
2002-07-20 14:08:34 +00:00
Dirk Herrmann
dd897aafbd * benchmark-guile.in: Copied from check-guile.in and adapted for
use with benchmarks.

* Makefile.am:  Recurse into the benchmark-suite subdir.

* configure.in:  Added benchmarking files.
2002-07-20 01:30:36 +00:00
Dirk Herrmann
0237895653 * COPYING, README, Makefile.am, lib.scm, guile-benchmark: Copied
from the test-suite directory, renamed and adapted for use with
benchmarks.

* benchmarks/logand.bm, benchmarks/continuations.bm,
benchmarks/if.bm:  Added as initial fairly stupid examples for
benchmarks.
2002-07-20 01:21:36 +00:00
Marius Vollmer
bb59ff52af *** empty log message *** 2002-07-17 18:55:20 +00:00
Marius Vollmer
4923bb187e Added configuration for ARM. 2002-07-17 18:54:57 +00:00
Marius Vollmer
47f7fb3621 New. 2002-07-17 18:53:57 +00:00
Neil Jerram
3db0333819 New doc about stack overflow. 2002-07-16 22:25:49 +00:00
Neil Jerram
c5d1306193 Apply patch from M. Luedde on use of tail recursion to avoid stack overflow 2002-07-16 20:57:34 +00:00
Dirk Herrmann
3063e30a6d * eval.c (SCM_CEVAL), macros.c (macro_print, scm_makmacro,
scm_sym_macro, scm_macro_type), macros.h (scm_makmacro):
Deprecated the special kind of built-in dynamic syntax transformer
that was inaccurately named "macro".  Note:  The built-in syntax
transformers that are named "mmacro" or "memoizing-macro" still
exist, and it is these which come much closer to what one would
call a macro.
2002-07-15 20:39:53 +00:00
Neil Jerram
4c5f8e8fe0 Fix for 1001-local-eval-error-backtrace-segfaults. 2002-07-14 15:43:24 +00:00
Dirk Herrmann
33e04d5492 * oop/goops.scm (define-generic, define-accessor): Make sure that
define-generic and define-accessor will continue to work when
mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-generic and
define-accessor.
2002-07-13 09:44:39 +00:00
Dirk Herrmann
9f04540330 * oop/goops.scm (define-class): Make sure that define-class will
continue to work when mmacros are expanded before execution.

* test-suite/tests/goops.test: Added tests for define-class.
2002-07-13 08:18:35 +00:00
Gary Houston
4f6f9ae3d3 * dynl.c: Don't define stub procedures if DYNAMIC_LINKING is not
defined.  They don't do anything useful, especially since the
	only case where DYNAMIC_LINKING is undefined seems to be
	when --with-modules=no is given to configure, which is basically
	requesting that the "dynamic linking module" be omitted.

	* Makefile.am (libguile_la_SOURCES): move dynl.c from
	libguile_la_SOURCES to EXTRA_libguile_la_SOURCES.

	* extensions.c (load_extension): check DYNAMIC_LINKING for
	scm_dynamic_call.
	* init.c (scm_init_guile_1): check DYNAMIC_LINKING for
	scm_init_dynamic_linking.

	* configure.in: check dynamic linking before modules.  Add dynl.c
	if dynamic linking is available, i.e., unless --with-modules=no
	was given to configure.
2002-07-12 17:46:15 +00:00
Marius Vollmer
7e7eb95b41 Added 2002 to the copyright years. 2002-07-11 23:21:25 +00:00
Marius Vollmer
c21935e6cd *** empty log message *** 2002-07-11 23:20:45 +00:00
Marius Vollmer
4abbb327ee Added Clinton Ebadi. 2002-07-11 23:20:16 +00:00
Gary Houston
9540b68f94 * eq.c: include <string.h> 2002-07-10 22:25:55 +00:00
Gary Houston
dd235de4a6 * scheme-modules.texi (Compiled Code Modules): Removed description
of scm_register_module_xxx, which no longer exists.  A description
	of current techniques is needed.
2002-07-10 22:21:25 +00:00
Gary Houston
ee95d597c7 * dynl.c: docstring editing. 2002-07-10 22:20:16 +00:00
Marius Vollmer
f87c105ae3 No need to check for Cygwin when including <winsock2.h>, this is
already check for by configure.  Thus, revert change from 2002-07-07.
2002-07-10 19:40:43 +00:00
Gary Houston
d2e13cf79d *** empty log message *** 2002-07-10 18:13:59 +00:00
Gary Houston
59afd55537 * docstring.el: optional 2nd environment variable to locate
built files.
2002-07-10 17:18:41 +00:00