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
Mikael Djurfeldt
544468de3d
* emacs.scm (emacs-symdoc): Parenthesis fix.
2000-08-13 19:21:25 +00:00
Mikael Djurfeldt
1fe16f927b
Updated
2000-08-13 19:21:14 +00:00
Mikael Djurfeldt
eaa6f703ea
* psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
...
`(interaction-environment)' as second arg to `eval'. This is
completely equivalent with the state before the change to eval of
2000-08-11, but we should extend psyntax.ss to be module aware.
(Thanks to Ian Bicking.)
2000-08-13 19:21:04 +00:00
Mikael Djurfeldt
7f43f900ed
*** empty log message ***
2000-08-13 04:47:26 +00:00
Mikael Djurfeldt
f587dec1ba
*** empty log message ***
2000-08-13 04:16:18 +00:00
Mikael Djurfeldt
5a0c9f69c8
*** empty log message ***
2000-08-13 03:44:52 +00:00
Mikael Djurfeldt
f888a1b586
*** empty log message ***
2000-08-13 02:31:46 +00:00
Neil Jerram
2a2a730bfa
* Docstring fixes.
2000-08-12 23:15:48 +00:00
Neil Jerram
ee826bae22
Docstring updated so that make-soft-port example is correct.
2000-08-12 22:18:04 +00:00
Neil Jerram
1670bef991
Docstring fix - quote quotation marks and backslashes.
2000-08-12 22:15:55 +00:00
Neil Jerram
f0a7af1a86
Docstring fix for scm_logand.
2000-08-12 22:13:32 +00:00
Mikael Djurfeldt
5da1a3da3e
* translate/langtools.text: New file.
2000-08-12 06:25:04 +00:00
Mikael Djurfeldt
b63434358d
*** empty log message ***
2000-08-12 06:24:16 +00:00
Neil Jerram
872e0c7291
* macros.c: Remove surplus newlines from end of docstrings.
...
* list.c (scm_list_tail): Add @deffnx line to docstring for
list-cdr-ref.
* keywords.c: Docstring improvements in conjunction with new
reference manual doc on keywords.
* error.c (scm_error_scm): Fix texinfo syntax error in
docstring. (@code(~S) should be @code{~S}.)
* dynl.c: Remove surplus newlines from end of docstrings.
2000-08-11 15:12:37 +00:00
Mikael Djurfeldt
41d7d2af42
*** empty log message ***
2000-08-11 09:30:07 +00:00
Mikael Djurfeldt
f7de400af6
*** empty log message ***
2000-08-11 09:20:14 +00:00
Mikael Djurfeldt
c7c6b0cbc0
* safe-r5rs.scm (null-environment): Bugfix: Should include
...
syntactic bindings.
2000-08-11 09:20:06 +00:00
Mikael Djurfeldt
728ee71e19
* r5rs.scm (interaction-environment): Removed definition. (Is now
...
provided by libguile/modules.c.)
2000-08-11 09:19:58 +00:00
Mikael Djurfeldt
3a33a9b117
*** empty log message ***
2000-08-11 08:46:32 +00:00
Mikael Djurfeldt
6232c3dd69
* syncase.scm (eval): Add second arg both in definition and use.
2000-08-11 08:46:14 +00:00
Mikael Djurfeldt
21c2a33a19
* slib.scm (slib:eval): Use eval instead of eval-in-module.
...
(defmacro:eval): Eval in (interaction-environment).
2000-08-11 08:46:07 +00:00
Mikael Djurfeldt
12eed809ef
* safe-r5rs.scm (eval): Removed definition.
2000-08-11 08:45:53 +00:00
Mikael Djurfeldt
a71aca7af9
* emacs.scm (emacs-eval-request):
...
(emacs-symdoc): (This procedure needs updating!)
2000-08-11 08:45:45 +00:00
Mikael Djurfeldt
d7faeb2ee9
* boot-9.scm (record-constructor, record-accessor,
...
record-modifier, scm-style-repl): Add second arg to eval.
(read-hash-extend #\.): Ditto. (This is actually a bugfix!)
(eval-in-module): Redefined to be eval and deprecated.
2000-08-11 08:45:35 +00:00
Mikael Djurfeldt
26795895e2
Deprecated scm_top_level_lookup_closure_var
2000-08-11 08:45:19 +00:00
Mikael Djurfeldt
eb8db44059
* symbols.c (scm_can_use_top_level_lookup_closure_var): Removed.
...
#include "modules.h".
2000-08-11 08:44:51 +00:00
Mikael Djurfeldt
07bcf91d63
* strports.c (scm_eval_string): Evaluate in
...
scm_interaction_environment ().
* strports.c: #include "modules.h".
2000-08-11 08:44:43 +00:00
Mikael Djurfeldt
b3138544ef
* script.c (scm_shell): Pass scm_the_root_module () as second arg
...
to new scm_eval_x.
2000-08-11 08:44:32 +00:00
Mikael Djurfeldt
b486ccc869
* modules.h (SCM_MODULEP, SCM_VALIDATE_MODULE,
...
SCM_MODULE_OBARRAY, SCM_MODULE_USES, SCM_MODULE_BINDER,
SCM_MODULE_EVAL_CLOSURE): New macros.
(scm_module_index_obarray, scm_module_index_uses,
scm_module_index_binder, scm_module_index_eval_closure): New
constants; #include "validate.h".
2000-08-11 08:44:16 +00:00
Mikael Djurfeldt
e3365c07da
* modules.c (scm_module_tag, scm_module_system_booted_p): New
...
globals.
(scm_post_boot_init_modules): Initialize scm_module_tag.
(scm_interaction_environment): New primitive.
2000-08-11 08:44:02 +00:00
Mikael Djurfeldt
f33b174d0e
* load.c (load): Use `scm_selected_module' to compute second arg
...
to new scm_i_eval_x; Don't call it if module system hasn't booted.
(scm_read_and_eval_x): Deprecated.
#include "modules.h".
2000-08-11 08:43:49 +00:00
Mikael Djurfeldt
238d517c09
* evalext.c (scm_definedp): Have to work before module system is
...
booted.
2000-08-11 08:43:08 +00:00
Mikael Djurfeldt
37607b5a7b
* eval.h: #include "struct.h".
2000-08-11 08:43:00 +00:00
Mikael Djurfeldt
68d8be66ce
* eval.c (scm_eval): Backward incompatible change: Now takes an
...
environment specifier as second arg. `eval' hereby becomes R5RS
compatible.
(scm_i_eval_x, scm_i_eval): New functions (replace
scm_eval_3).
(scm_eval2, scm_eval_3): Deprecated.
(scm_top_level_lookup_closure_var): Deprecated.
2000-08-11 08:42:50 +00:00
Mikael Djurfeldt
82b3290db7
* debug.c (scm_local_eval): Use scm_i_eval and scm_i_eval_x.
...
(scm_start_stack): Use scm_i_eval.
2000-08-11 08:42:42 +00:00
Mikael Djurfeldt
1807c7b875
*** empty log message ***
2000-08-11 00:45:33 +00:00
Mikael Djurfeldt
cc6f0237bd
* print.c (scm_simple_format): Be case-insensitive for ~A and ~S
...
directives.
2000-08-11 00:45:25 +00:00
Mikael Djurfeldt
528d8ce991
* Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm.
2000-08-11 00:45:09 +00:00
Mikael Djurfeldt
44484f52b3
* boot-9.scm (scm-style-repl): Print multiple values on successive
...
lines.
* boot-9.scm (process-define-module): Bugfix: Make sure that
exports are done *after* all used interfaces has been added.
2000-08-11 00:44:49 +00:00