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

17263 commits

Author SHA1 Message Date
Mikael Djurfeldt
69b5f65aaa *** empty log message *** 2000-08-26 20:57:57 +00:00
Mikael Djurfeldt
e53cc81710 * strings.c (scm_make_shared_substring, scm_read_only_string_p):
Deprecated.
(scm_string_length, scm_string_ref, scm_substring,
scm_string_append): Don't accept symbols as arguments (R5RS).
2000-08-26 20:56:48 +00:00
Mikael Djurfeldt
29a34ff64a Added comment about possible optimization 2000-08-26 20:56:36 +00:00
Mikael Djurfeldt
480a873ce1 * environments.c (scm_init_environments): All internal includes in
libguile must use the prefix "libguile/" in path names since inly
the top-level source directory is on the include list.  (That, in
turn, is because we want to distinguish between system header
files and hedares files internal to libguile.)
2000-08-26 20:55:49 +00:00
Mikael Djurfeldt
9b5477f6f6 * strings/sharedstr.text (sharedstr.text): New file. 2000-08-26 20:55:21 +00:00
Neil Jerram
92ccc1f1f3 * Docstring fixes. 2000-08-25 17:33:01 +00:00
Dirk Herrmann
5d3e2388f3 * Added Jost Boekemeier's implementation of environments to guile.
* Added a test suite for (up to now only) leaf environments.
2000-08-25 17:01:32 +00:00
Mikael Djurfeldt
167d89cff9 *** empty log message *** 2000-08-25 04:09:45 +00:00
Mikael Djurfeldt
28819f62b5 *** empty log message *** 2000-08-25 04:09:08 +00:00
Mikael Djurfeldt
5540e847f4 * procprop.c: #include "libguile/smob.h"; Check applicable smobs. 2000-08-25 04:08:50 +00:00
Keisuke Nishida
12f9da005e *** empty log message *** 2000-08-25 02:31:43 +00:00
Keisuke Nishida
9df03fd0c1 * src/vm.c (lookup_variable): New function.
(scm_make_bytecode): Call lookup_variable for top-level variables.
* src/vm_engine.h (VM_VARIABLE_REF, VM_VARIABLE_SET): New macros.
* src/vm_system.c (TOPLEVEL_VAR, TOPLEVEL_VAR_SET): Removed.
Use VM_VARIABLE_REF and VM_VARIABLE_SET instead.
2000-08-25 02:31:26 +00:00
Keisuke Nishida
14fb1c83d6 *** empty log message *** 2000-08-25 02:26:47 +00:00
Keisuke Nishida
0717dfd871 * smob.h (scm_smob_descriptor): Added apply\' and gsubr_type\'.
* smob.c (scm_make_smob_type): Initialize `apply\' and `gsubr_type\'.
(scm_set_smob_apply): New function.
(scm_smob_apply_0, scm_smob_apply_1, scm_smob_apply_2,
scm_smob_apply_3): New functions.
* eval.c (SCM_CEVAL, SCM_APPLY): Added dispatch for applicable smobs.
* procs.c (s_scm_procedure_p): Check applicable smobs.
2000-08-25 02:26:22 +00:00
Mikael Djurfeldt
665fc4e600 *** empty log message *** 2000-08-24 00:27:22 +00:00
Mikael Djurfeldt
5b03c15cbf * Makefile.am (BUILT_SOURCES): Experimentally added scmconfig.h
also here.  (This is supposed to make sure that scmconfig.h is
built before all sources in order to prevent that everything has
to be rebuilt again.  Hope it works---I'm just guessing. :)
2000-08-24 00:27:08 +00:00
Mikael Djurfeldt
86f9f9ae85 * fluids.c (scm_fluid_set_x): Return SCM_UNSPECIFIED. 2000-08-24 00:23:19 +00:00
Mikael Djurfeldt
2822e61232 Regenerated 2000-08-24 00:16:56 +00:00
Mikael Djurfeldt
9f174131de *** empty log message *** 2000-08-24 00:16:36 +00:00
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