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

21194 commits

Author SHA1 Message Date
Mikael Djurfeldt
fde75b7c8e * psyntax.ss (set!): Added generalized set! support to core syntax
form set!.
2000-08-24 00:16:17 +00:00
Mikael Djurfeldt
38525772e4 *** empty log message *** 2000-08-23 18:22:19 +00:00
Mikael Djurfeldt
641d17a83a * gc.c (scm_gc_mark): Don't use GUILE_DEBUG flag to compile in
extra tests.  (GUILE_DEBUG is only supposed to make extra
debugging functions available.)
2000-08-23 18:22:07 +00:00
Keisuke Nishida
db7880185f *** empty log message *** 2000-08-22 19:03:57 +00:00
Keisuke Nishida
d545b41973 Use frame-external-link. 2000-08-22 19:03:32 +00:00
Keisuke Nishida
d608d68d7b Create external frames dynamically. 2000-08-22 19:02:22 +00:00
Keisuke Nishida
dbb74d8137 (compile-file): Output "(use-modules (vm vm))". 2000-08-22 18:44:19 +00:00
Keisuke Nishida
b1637a1ebd (make-code): Check argument types.
(make-code:and, make-code:or): Pass env to make-code.
2000-08-22 18:27:31 +00:00
Keisuke Nishida
e54350691e (translate-and, translate-or): Don't branch on the last expression. 2000-08-22 18:25:36 +00:00
Keisuke Nishida
fd329e8725 types.scm (env-variable-address): Reverted the last change. 2000-08-22 17:39:49 +00:00
Keisuke Nishida
307cdcf0d0 Add guile-compile. 2000-08-22 16:02:45 +00:00
Keisuke Nishida
08d4430d38 Initial import. 2000-08-22 16:01:18 +00:00
Keisuke Nishida
a98cef7e6c Initial revision 2000-08-22 15:54:19 +00:00
Michael Livshin
ca55e62c8e *** empty log message *** 2000-08-21 10:07:13 +00:00
Michael Livshin
f91f77e64e * gc.h (SCM_GC_CARD_N_CELLS): change to be a nice non-confusing
constant.
2000-08-21 10:06:45 +00:00
Dirk Herrmann
6ad9007abf * lib.scm (pass-if, expect-fail): Generalized.
* * tests/eval.test:  Fixed documentation test.
2000-08-21 08:57:11 +00:00
Michael Livshin
d8d4d49366 *** empty log message *** 2000-08-19 19:21:59 +00:00
Michael Livshin
7bb8eac780 * gc.c (scm_gc_sweep): added a `continue' statement that have
fallen through the cracks in the merge.  thanks to Shuji Narazaki!
2000-08-19 19:20:21 +00:00
Marius Vollmer
5aba8e27ab *** empty log message *** 2000-08-19 13:38:23 +00:00
Marius Vollmer
b1ee756f1f * optargs.scm (#\&): Changed #:allow-other-key-value to
#:allow-other-keys.  Thanks to Bill Schottstaedt!
2000-08-19 13:37:55 +00:00
Gary Houston
e494e76d22 *** empty log message *** 2000-08-18 22:45:43 +00:00
Gary Houston
aec1eb3048 * acconfig.h: added BROKEN_GCSE.
* configure.in: check for a gcc GCSE optimisation bug.
2000-08-18 22:44:12 +00:00
Michael Livshin
005b59783e *** empty log message *** 2000-08-18 22:36:11 +00:00
Michael Livshin
35e9b48d79 * gc.h: removed some stuff that broke compilation for people and
wasn't actually needed anyway.
2000-08-18 22:33:37 +00:00
Neil Jerram
55892d875c * filesys.c (scm_fcntl): Docstring fix - missing newlines inserted. 2000-08-18 17:12:37 +00:00
Neil Jerram
d46e47131c * net_db.c (scm_gethost, scm_getnet, scm_getproto, scm_sethost,
scm_setnet, setproto, setserv): Argument names changed to match
  doc string.
* feature.c (scm_program_arguments): New docstring.
* simpos.c (scm_getenv): Reflow docstring.
2000-08-18 16:52:15 +00:00
Neil Jerram
cdbc74184f * Docstring fixes - adding texinfo markup and removing extraneous trailing newlines. 2000-08-18 09:30:54 +00:00
Mikael Djurfeldt
7e6b52f867 *** empty log message *** 2000-08-18 00:57:08 +00:00
Michael Livshin
bbe6d8db73 *** empty log message *** 2000-08-17 20:46:22 +00:00
Michael Livshin
dc16aa360d *** empty log message *** 2000-08-17 20:39:05 +00:00
Michael Livshin
d6884e6373 * gc.c: (scm_default_init_heap_size_*): defined to take cards into
account, but keeping more or less the same values as previously.
added some simple helper macros.
(CLUSTER_SIZE_IN_BYTES, ALIGNMENT_SLACK): defined to take cards
into account.
(BVEC_*, scm_mark_space_t, current_mark_space, mark_space_ptr,
current_mark_space_offset, mark_space_head, get_bvec,
clear_mark_space): new functions and supporting variables, types
and macros that implement mark space management.
(scm_igc): clear the mark space (all of it) before beginning the
mark phase.
(scm_gc_mark): changed the tests for rogue cells, much simplified
throughout (no different mark bit locations to worry about now).
(scm_mark_locations): don't consider card header cells.
(scm_cellp): ditto.
(scm_gc_sweep): simplified.
(init_heap_seg): changed to take cards into account.
2000-08-17 20:38:44 +00:00
Michael Livshin
e618c9a3c8 * gc.h (SCM_MARKEDP): simplified, there are no different mark bit
locations anymore.
(SCM_GC_CARD_*, SCM_C_BVEC_*): lots of new macros to deal with
cards and bvecs (bit-vectors).
2000-08-17 20:38:23 +00:00
Michael Livshin
ee4413093e * tags.h: (SCM_GCTYPE16, SCM_GCCDR, SCM_GC[8]MARKP,
SCM_SETGC[8]MARK, SCM_CLRGC[8]MARK): moved from here into gc.h.
some (most) of these are probably going to be deprecated.
2000-08-17 20:37:55 +00:00
Mikael Djurfeldt
2fb8bdabd2 Mikael's ideas on a new type of Scheme interpreter 2000-08-17 04:10:42 +00:00
Mikael Djurfeldt
53bb550828 *** empty log message *** 2000-08-17 04:08:31 +00:00
Marius Vollmer
6219924c22 *** empty log message *** 2000-08-16 22:43:03 +00:00
Marius Vollmer
a099f10e49 * optargs.scm (#\&): Emit warning about `#&' being deprecated. 2000-08-16 22:42:41 +00:00
Marius Vollmer
76ef92f358 *** empty log message *** 2000-08-16 19:30:28 +00:00
Marius Vollmer
dfb49627fc * optargs.scm: Replaced `#&' reader syntax with keywords. 2000-08-16 19:30:07 +00:00
Michael Livshin
83238bc162 *** empty log message *** 2000-08-16 00:25:38 +00:00
Michael Livshin
1c299a6be5 * stime.c (scm_c_get_internal_run_time): new function, same as
scm_get_internal_run_time but returns a long.  it's used by the GC
for timekeeping, since with scm_get_internal_run_time there is a
(extremely theoretical) possibility of consing.
(scm_get_internal_run_time): redefined in terms of
scm_c_get_internal_run_time.

* stime.h: added prototype for scm_c_get_internal_run_time.
2000-08-16 00:23:59 +00:00
Michael Livshin
c9b0d4b090 * gc.c (scm_gc_stats): add more obscure stats, such as: mark time,
sweep time, total marked cells, total swept cells, and number of
times GC was invoked.
(gc_start_stats): renamed from scm_gc_start, made static, taught
to init the new stats.
(gc_end_stats): renamed from scm_gc_end, made static, taught to
calculate the new stats.
(scm_igc): don't call gc_start_stats unless we are sure that we
are indeed going to collect.  also, added some timekeeping between
the mark and sweep phases.
(scm_gc_sweep): count number of cells we sweep as we go.

* gc.h: removed prototypes for scm_gc_{start,end}.
2000-08-16 00:23:18 +00:00
Mikael Djurfeldt
d6f3775530 *** empty log message *** 2000-08-14 15:40:27 +00:00
Mikael Djurfeldt
a510a7d8d5 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
Matthias Köppe.)
2000-08-14 15:40:03 +00:00
Mikael Djurfeldt
1aa621a3d1 Fix 2000-08-13 21:05:03 +00:00
Mikael Djurfeldt
a94da0e030 *** empty log message *** 2000-08-13 20:53:27 +00:00
Mikael Djurfeldt
8a4b993ec3 * alist.c (scm_assq, scm_assv, scm_assoc): Report argument type
error for the alist rather than the sublist where the type
mismatch is discovered.
2000-08-13 20:53:09 +00:00
Mikael Djurfeldt
402dd41f64 Regenerated 2000-08-13 20:27:39 +00:00
Mikael Djurfeldt
4be092bcf9 Commentary fix 2000-08-13 20:26:49 +00:00
Mikael Djurfeldt
c4778010b3 *** empty log message *** 2000-08-13 19:21:34 +00:00