Neil Jerram [Sat, 24 Feb 2001 23:46:04 +0000 (23:46 +0000)]
* numbers.c (scm_two_doubles, scm_sys_expt, scm_sys_atan2,
scm_make_polar): Rename arguments `z1' and `z2' to `x' and `y',
since use of `z' suggests that the arguments may be complex.
* goops.c (scm_make), numbers.c (scm_sys_expt): Fix docstring
typos.
Neil Jerram [Fri, 23 Feb 2001 20:24:15 +0000 (20:24 +0000)]
* Minor docstring updates.
Keisuke Nishida [Fri, 23 Feb 2001 13:07:09 +0000 (13:07 +0000)]
* goops.scm (method): Enclosed BODY by `(let () ...)'.
This allows local defines at the beginning of methods.
Thien-Thi Nguyen [Fri, 23 Feb 2001 10:24:37 +0000 (10:24 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 23 Feb 2001 10:19:35 +0000 (10:19 +0000)]
(syntax lambda): Renamed from (lambda).
(syntax lambda cond-arrow-proc): Renamed from (lambda cond-arrow-proc).
(syntax reading): New section.
(syntax let*): New section.
(syntax letrec): New section.
(syntax set!): New section.
(syntax misc): New section.
(bindings unbound): New section.
(bindings immutable-modification): New section.
(bindings let): New section.
(bindings let*): New section.
(bindings letrec): New section.
Thien-Thi Nguyen [Fri, 23 Feb 2001 02:39:43 +0000 (02:39 +0000)]
*** empty log message ***
Thien-Thi Nguyen [Fri, 23 Feb 2001 02:36:54 +0000 (02:36 +0000)]
Initial revision.
Marius Vollmer [Thu, 22 Feb 2001 20:54:36 +0000 (20:54 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 22 Feb 2001 20:54:12 +0000 (20:54 +0000)]
* eval.c (scm_ceval, scm_deval): When evaluating expressions on
top level, create a fresh top-level environment for each
expression instead of mutating the exisint frame. This is
important when that frame is closed over.
Marius Vollmer [Thu, 22 Feb 2001 20:53:55 +0000 (20:53 +0000)]
* goops.c (scm_add_method, DEFVAR): Use scm_eval instead of
scm_i_eval.
(make_class_from_template): Do not bother to set the current
module around the call to DEFVAR, scm_eval takes care of that.
(scm_init_goops): Make scm_module_goops and
scm_goops_lookup_closure permanent objects.
Marius Vollmer [Thu, 22 Feb 2001 20:52:46 +0000 (20:52 +0000)]
* load.c (load): Use scm_primtive_eval_x instead of scm_i_eval_x.
Marius Vollmer [Thu, 22 Feb 2001 09:25:32 +0000 (09:25 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 22 Feb 2001 09:25:03 +0000 (09:25 +0000)]
* numbers.c (s_scm_logior) [SCM_DIGSTOOBIG]: Also use
SCM_DIGSPERLONG instead of DIGSPERLONG.
Marius Vollmer [Wed, 21 Feb 2001 22:52:59 +0000 (22:52 +0000)]
Only check number of arguments for closures, see last change.
I just love this evaluator, man.
Marius Vollmer [Wed, 21 Feb 2001 22:51:23 +0000 (22:51 +0000)]
Added copyright and license notice.
Marius Vollmer [Wed, 21 Feb 2001 20:19:31 +0000 (20:19 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 21 Feb 2001 20:16:05 +0000 (20:16 +0000)]
* numbers.c (scm_logior) [SCM_DIGSTOOBIG]: Correctly use
SCM_BIGDIG instead of BIGDIG. Thanks to Steven G. Johnson!
Marius Vollmer [Wed, 21 Feb 2001 20:15:15 +0000 (20:15 +0000)]
Added copyright and licence notice.
Marius Vollmer [Wed, 21 Feb 2001 20:14:47 +0000 (20:14 +0000)]
* eval.c (scm_ceval, scm_deval): Check for wrong number of args
before applying arrow procedure in `cond' and before applying
receiver procedure in call-with-current-continuation.
(scm_i_eval): Do not invoke scm_copy_tree in argument in SCM_XEVAL
macro. The argument is expanded more than one time.
Marius Vollmer [Wed, 21 Feb 2001 20:12:17 +0000 (20:12 +0000)]
*** empty log message ***
Marius Vollmer [Wed, 21 Feb 2001 20:11:44 +0000 (20:11 +0000)]
* boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
`eval-case', everywhere.
Marius Vollmer [Wed, 21 Feb 2001 20:11:18 +0000 (20:11 +0000)]
Added copyright notice.
Martin Grabmüller [Sat, 17 Feb 2001 11:36:16 +0000 (11:36 +0000)]
*** empty log message ***
Martin Grabmüller [Sat, 17 Feb 2001 11:34:26 +0000 (11:34 +0000)]
(scm_make_arbiter, scm_try_arbiter)
(scm_release_arbiter): Added texinfo markup to docstrings.
Changed `Returns' to `Return'.
(arbiter_print): Changed SCM_CDR to SCM_SMOB_DATA.
Martin Grabmüller [Sat, 17 Feb 2001 11:33:42 +0000 (11:33 +0000)]
(scm_drain_input): Lowercased argument to @var.
(scm_current_input_port, scm_current_output_port): Filled in
missing explanation.
(scm_current_load_port, scm_set_current_output_port)
(scm_set_current_error_port, scm_port_line, scm_set_port_line_x):
Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:32:16 +0000 (11:32 +0000)]
(scm_environment_p)
(scm_environment_bound_p, scm_environment_ref)
(scm_environment_fold, scm_environment_define)
(scm_environment_undefine, scm_environment_set_x)
(scm_environment_cell, scm_environment_observe)
(scm_environment_observe_weak, scm_environment_unobserve)
(scm_make_eval_environment, scm_eval_environment_p)
(scm_eval_environment_set_local_x, scm_eval_environment_local)
(scm_eval_environment_imported)
(scm_eval_environment_set_imported_x, scm_make_import_environment)
(scm_import_environment_p, scm_import_environment_imports)
(scm_import_environment_set_imports_x, scm_make_export_environment)
(scm_export_environment_p, scm_export_environment_private)
(scm_export_environment_set_private_x)
(scm_export_environment_signature)
(scm_export_environment_set_signature_x, scm_leaf_environment_p):
Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:30:34 +0000 (11:30 +0000)]
(scm_malloc_stats): Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:29:58 +0000 (11:29 +0000)]
(scm_newline, scm_write_char, scm_simple_format): Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:29:16 +0000 (11:29 +0000)]
(scm_seed_to_random_state, scm_copy_random_state, scm_random):
Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:28:30 +0000 (11:28 +0000)]
(scm_strptime, scm_mktime): Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:27:41 +0000 (11:27 +0000)]
(scm_string_p, scm_make_string, scm_read_only_string_p, scm_string_length)
(scm_string_ref, scm_string_set_x, scm_substring, scm_string_append):
Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:26:26 +0000 (11:26 +0000)]
(scm_gentemp, scm_gensym): Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:25:34 +0000 (11:25 +0000)]
(scm_bit_count, scm_bit_set_star_x): Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:24:30 +0000 (11:24 +0000)]
(scm_values): Added texinfo markup.
Martin Grabmüller [Sat, 17 Feb 2001 11:23:29 +0000 (11:23 +0000)]
(scm_make_variable, scm_make_undefined_variable)
(scm_variable_ref, scm_variable_set_x, scm_builtin_variable)
(scm_variable_bound_p): Added texinfo markup.
Neil Jerram [Fri, 16 Feb 2001 18:57:11 +0000 (18:57 +0000)]
* guile-snarf.awk.in: Quote any `@'s that occur in Scheme names,
by doubling them to `@@'.
Martin Grabmüller [Fri, 16 Feb 2001 15:25:09 +0000 (15:25 +0000)]
Massive docstring work.
Martin Grabmüller [Fri, 16 Feb 2001 15:22:58 +0000 (15:22 +0000)]
(scm_async, scm_system_async, scm_async_mark, scm_system_async_mark,
scm_run_asyncs, scm_noop, scm_set_tick_rate, scm_set_switch_rate,
scm_unmask_signals, scm_mask_signals): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:21:21 +0000 (15:21 +0000)]
(scm_display_error, scm_set_print_params_x, scm_display_application,
scm_display_backtrace, scm_backtrace): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:20:00 +0000 (15:20 +0000)]
(scm_eval_options_interface, scm_evaluator_traps, s_scm_nconc2last):
Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:18:34 +0000 (15:18 +0000)]
(scm_unhash_name): Added docstring.
Martin Grabmüller [Fri, 16 Feb 2001 15:17:20 +0000 (15:17 +0000)]
(scm_read_options, scm_read, scm_read_hash_extend): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:15:50 +0000 (15:15 +0000)]
(scm_dirname, scm_basename): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:14:10 +0000 (15:14 +0000)]
(scm_make_stack, scm_stack_ref, scm_stack_length, scm_frame_p,
scm_last_stack_frame, scm_frame_number, scm_frame_source,
scm_frame_procedure, scm_frame_arguments, scm_frame_previous,
scm_frame_next, scm_frame_real_p, scm_frame_procedure_p,
scm_frame_evaluating_args_p, scm_frame_overflow_p): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:12:26 +0000 (15:12 +0000)]
(scm_parse_path, scm_search_path): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:11:11 +0000 (15:11 +0000)]
(scm_standard_eval_closure): Added docstring.
Martin Grabmüller [Fri, 16 Feb 2001 15:10:12 +0000 (15:10 +0000)]
(scm_lazy_catch): Added docstring.
Martin Grabmüller [Fri, 16 Feb 2001 15:09:10 +0000 (15:09 +0000)]
(scm_make_cclo, scm_procedure_p, scm_closure_p, scm_thunk_p,
scm_procedure_with_setter_p, scm_make_procedure_with_setter,
scm_procedure): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:07:52 +0000 (15:07 +0000)]
(scm_print_options, scm_port_with_print_state, scm_get_print_state):
Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:05:38 +0000 (15:05 +0000)]
(scm_nil_cons, scm_nil_car, scm_nil_cdr, scm_null, scm_nil_eq): Added
docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:04:23 +0000 (15:04 +0000)]
(scm_make_hook_with_name, scm_make_hook, scm_hook_p, scm_hook_empty_p,
scm_add_hook_x, scm_remove_hook_x, scm_reset_hook_x, scm_run_hook,
scm_hook_to_list): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:02:35 +0000 (15:02 +0000)]
(scm_class_of, scm_entity_p, scm_operator_p,
scm_set_object_procedure_x, scm_object_procedure,
scm_make_class_object): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 15:00:41 +0000 (15:00 +0000)]
(scm_with_traps, scm_memoized_p, scm_make_gloc, scm_gloc_p,
scm_make_iloc, scm_iloc_p, scm_memcons, scm_mem_to_proc,
scm_proc_to_mem, scm_unmemoize, scm_memoized_environment,
scm_procedure_name, scm_procedure_source, scm_procedure_environment,
scm_debug_hang): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 14:59:22 +0000 (14:59 +0000)]
(scm_sys_initialize_object, scm_instance_p, scm_class_name,
scm_class_precedence_list, scm_class_slots, scm_class_environment,
scm_generic_function_name, scm_generic_function_methods,
scm_method_generic_function, scm_method_specializers,
scm_method_procedure, scm_make_unbound, scm_unbound_p,
scm_assert_bound, scm_at_assert_bound_ref, scm_sys_fast_slot_ref,
scm_sys_fast_slot_set_x, scm_slot_ref, scm_slot_set_x,
_scm_slot_bound_p, scm_slots_exists_p, scm_sys_allocate_instance,
scm_make, scm_pure_generic_p, scm_class_direct_supers,
scm_class_direct_slots, scm_class_direct_subclasses,
scm_class_direct_methods, scm_accessor_method_slot_definition,
scm_sys_goops_loaded): Added docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 14:57:33 +0000 (14:57 +0000)]
(scm_dynamic_wind): Removed unnecessary "" from docstrings.
(scm_wind_chain): Added docstring.
Martin Grabmüller [Fri, 16 Feb 2001 14:55:54 +0000 (14:55 +0000)]
(scm_random, scm_random_normal, scm_random_solid_sphere_x,
scm_random_hollow_sphere_x, scm_random_normal_vector_x,
scm_random_exp): Removed unnecessary "" from docstrings.
Martin Grabmüller [Fri, 16 Feb 2001 14:53:55 +0000 (14:53 +0000)]
(scm_lognot): Removed unnecessary "" from docstrings.
(scm_sys_expt, scm_sys_atan2): Added docstrings.
Keisuke Nishida [Fri, 16 Feb 2001 00:57:11 +0000 (00:57 +0000)]
* dump.c (scm_undump): Bug fixed.
Neil Jerram [Thu, 15 Feb 2001 22:54:40 +0000 (22:54 +0000)]
* Remove data-rep.texi from Makefile.am.
* Explain data-rep.texi retirement in README.
Neil Jerram [Thu, 15 Feb 2001 22:15:25 +0000 (22:15 +0000)]
* Retire this copy of data-rep.texi.
Marius Vollmer [Thu, 15 Feb 2001 15:40:14 +0000 (15:40 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 15 Feb 2001 15:39:49 +0000 (15:39 +0000)]
* symbols.c (scm_mem2symbol): Put a empty statement after the
next_symbol label. This is mandated by ANSI, appearantly.
Marius Vollmer [Thu, 15 Feb 2001 15:39:32 +0000 (15:39 +0000)]
Do not use "//" comment syntax. It's not ANSI.
Marius Vollmer [Thu, 15 Feb 2001 15:38:26 +0000 (15:38 +0000)]
Corrected indentation of new #if stuff.
Marius Vollmer [Tue, 13 Feb 2001 22:31:29 +0000 (22:31 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 13 Feb 2001 18:38:11 +0000 (18:38 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 13 Feb 2001 18:37:19 +0000 (18:37 +0000)]
* gc_os_dep.c: Do not include <linux/version.h>. It makes no
sense to compile for a specific kernel version. Do not include
<asm/signal.h> while defining __KERNEL__. This hack should no
longer be needed and caused problems.
Marius Vollmer [Tue, 13 Feb 2001 01:09:25 +0000 (01:09 +0000)]
*** empty log message ***
Marius Vollmer [Tue, 13 Feb 2001 01:09:00 +0000 (01:09 +0000)]
* eval.c (scm_ceval, scm_deval): use `SIDEVAL' instead of
SCM_CEVAL when evaluating subforms of `begin' forms. SCM_CEVAL
can not deal with immediates.
Marius Vollmer [Tue, 13 Feb 2001 01:07:45 +0000 (01:07 +0000)]
* boot-9.scm (define-public): Removed spurious call to
`interaction-evironment'.
(define-public, defmacro-public): Use `export' instead of explicit
module magic.
(eval-when): New macro.
(define-module, use-modules, use-syntax, export): Use it to
restrict the use of these forms to the top level.
(define-public, defmacro-public): Only export binding when on
top-level.
(process-define-module): Call `set-current-module' with the
defined module.
(define-module): Simply call `process-define-module' without any
fuss (but only on top-level).
(named-module-use!): New function.
(top-repl): Do not use `define-module'. Use equivalent low-level
means instead.
Keisuke Nishida [Mon, 12 Feb 2001 21:45:22 +0000 (21:45 +0000)]
* list.c (scm_list_copy): Validate the first argument.
Marius Vollmer [Sun, 11 Feb 2001 18:17:56 +0000 (18:17 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 11 Feb 2001 18:16:58 +0000 (18:16 +0000)]
* boot-9.scm (scm-style-repl): Use `primitive-eval' instead of
`eval'.
(define-public): Do not use `eval'.
Marius Vollmer [Sun, 11 Feb 2001 18:14:34 +0000 (18:14 +0000)]
* modules.h. modules.c (scm_current_module_lookup_closure): New
function.
Marius Vollmer [Sun, 11 Feb 2001 18:13:07 +0000 (18:13 +0000)]
* eval.c (scm_ceval, scm_deval): Recognize when `begin' is being
evaluated at top-level and synronize lookup closure before
executing every subform.
(scm_primitve_eval_x, scm_primitive_eval): New functions.
(scm_eval_x, scm_eval): Reimplement in terms of
scm_primitive_eval_x and scm_primitive_eval, respectively.
Marius Vollmer [Sun, 11 Feb 2001 18:04:31 +0000 (18:04 +0000)]
* eval.h (scm_primitive_eval, scm_primitive_eval_x): New
prototypes.
(scm_i_eval, scm_i_eval_x, scm_eval, scm_eval_x): Changed argument
names to better reflect their meaning.
Keisuke Nishida [Sat, 10 Feb 2001 07:09:45 +0000 (07:09 +0000)]
* dump.c (scm_store_bytes, scm_restore_bytes): Store/restore size.
Keisuke Nishida [Fri, 9 Feb 2001 22:37:10 +0000 (22:37 +0000)]
* dump.c: Use double cells for update schedule.
Marius Vollmer [Fri, 9 Feb 2001 14:38:27 +0000 (14:38 +0000)]
Docstring of port-for-each updated to new behaviour.
Marius Vollmer [Fri, 9 Feb 2001 14:37:30 +0000 (14:37 +0000)]
* macros.c (scm_macro_name, scm_macro_transformer): Use
SCM_SMOB_DATA instead of SCM_CDR. Provided by Martin Grabmueller.
Thanks!
Marius Vollmer [Fri, 9 Feb 2001 14:36:27 +0000 (14:36 +0000)]
Blurb about new guarantee of port-for-each
Keisuke Nishida [Fri, 9 Feb 2001 07:12:05 +0000 (07:12 +0000)]
Bug fixed.
Marius Vollmer [Thu, 8 Feb 2001 18:53:48 +0000 (18:53 +0000)]
s/open/existed/ in description of port-for-each change.
Marius Vollmer [Thu, 8 Feb 2001 18:52:05 +0000 (18:52 +0000)]
*** empty log message ***
Marius Vollmer [Thu, 8 Feb 2001 18:50:50 +0000 (18:50 +0000)]
* guile-test: Use (ice-9 and-let-star) instead of (ice-9
and-let*).
Marius Vollmer [Thu, 8 Feb 2001 18:49:52 +0000 (18:49 +0000)]
* modules.h (scm_selected_module, scm_current_module): Renamed
scm_selected_module to scm_current_module to synchronize Scheme
and C names.
(scm_select_module, scm_set_current_module): Likewise. Changed
all uses.
Marius Vollmer [Thu, 8 Feb 2001 18:44:34 +0000 (18:44 +0000)]
* ports.c (scm_port_for_each): Make a snapshot of the port table
before iterating over it. The table might change while the user
code is running. With the snapshot, the user can depend on the
fact that each port that was open at teh start of the iteration is
encountered exactly once. (ice-9 popen) depends on this.
Marius Vollmer [Thu, 8 Feb 2001 18:39:08 +0000 (18:39 +0000)]
* and-let-star-compat.scm: Display the warning to the
`current-error-port'.
Dirk Herrmann [Thu, 8 Feb 2001 11:40:51 +0000 (11:40 +0000)]
* Fixed parameter checking for make-string.
* Corrected a bug introduced with the last patch.
Dirk Herrmann [Thu, 8 Feb 2001 10:48:01 +0000 (10:48 +0000)]
* Fixed parameter checking for make-vector.
Keisuke Nishida [Tue, 6 Feb 2001 02:12:10 +0000 (02:12 +0000)]
Removed redundant code.
Keisuke Nishida [Mon, 5 Feb 2001 19:14:20 +0000 (19:14 +0000)]
Minor modifications.
Keisuke Nishida [Mon, 5 Feb 2001 19:00:56 +0000 (19:00 +0000)]
*** empty log message ***
Keisuke Nishida [Mon, 5 Feb 2001 08:46:21 +0000 (08:46 +0000)]
New dump/undump scheme.
Marius Vollmer [Sun, 4 Feb 2001 18:22:18 +0000 (18:22 +0000)]
* and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
`and-let-star.scm'. Updated module name as well.
* and-let-star-compat.scm: New file, installed as `and-let*.scm'.
* Makefile.am (ice9_sources): Replaced "and-let*.scm" with
"and-let-star.scm".
(install-data-local): Install "and-let-star-compat.scm" as
"and-let*.scm", ignoring errors.
(EXTRA_DIST): Distribute `and-let-star-compat.scm'.
Marius Vollmer [Sun, 4 Feb 2001 18:21:38 +0000 (18:21 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 4 Feb 2001 17:30:00 +0000 (17:30 +0000)]
*** empty log message ***
Marius Vollmer [Sun, 4 Feb 2001 17:29:06 +0000 (17:29 +0000)]
* data-rep.texi: Use SCM_SMOB_DATA instead of SCM_CDR. Also
things like SCM_SMOB_PREDICATE and SCM_NEWSMOB. Thanks to Dale
P. Smith!
Michael Livshin [Sat, 3 Feb 2001 12:26:38 +0000 (12:26 +0000)]
SCM_DOUBLE_CELLP deprecated and made unused
Keisuke Nishida [Sat, 3 Feb 2001 05:01:07 +0000 (05:01 +0000)]
*** empty log message ***