1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-16 18:50:23 +02:00
Commit graph

4531 commits

Author SHA1 Message Date
Keisuke Nishida
9e6fc585b2 Remove dump facilities. 2001-03-02 23:41:18 +00:00
Martin Grabmüller
eae54bf072 *** empty log message *** 2001-03-02 09:09:06 +00:00
Martin Grabmüller
942e5b9162 * vectors.c (s_scm_vector_p, list->vector, scm_vector)
(scm_vector_ref, scm_vector_set_x, scm_vector_to_list)
	(scm_vector_fill_x), strorder.c (scm_string_equal_p)
	(scm_string_ci_equal_p, scm_string_less_p, scm_string_leq_p)
	(scm_string_gr_p, scm_string_geq_p, scm_string_ci_less_p)
	(scm_string_ci_geq_p), symbols.c (scm_symbol_p)
	(scm_symbol_to_string, scm_string_to_symbol): Changed use of @t{}
	to @code{} as the texinfo manual recommends, converted the
	examples to use a @lisp{}-environment.

	* strports.c (scm_eval_string): Cleaned up the docstring.

	* struct.c (scm_struct_p, scm_struct_vtable_p): Added texinfo
	markup.

	* numbers.c (scm_exact_p, scm_odd_p, scm_even_p)
	(scm_number_to_string, scm_string_to_number, scm_number_p)
	(scm_real_p, scm_integer_p, scm_inexact_p, scm_make_rectangular)
	(scm_make_polar, scm_inexact_to_exact): Added texinfo markup.
	(scm_ash): Added texinfo markup and removed obsolete @refill.
	(scm_gr_p): Corrected comment.
	(scm_gr_p, scm_leq_p, scm_geq_p): Added texinfo markup to (future
	docstring) comments.
	(scm_positive_p, scm_less_p, scm_num_eq_p, scm_real_p)
	(scm_number_p, scm_negative_p, scm_max, scm_min, scm_sum)
	(scm_difference, scm_product, scm_divide, scm_asinh, scm_acosh)
	(scm_atanh, scm_truncate, scm_round, scm_exact_to_inexact)
	(floor, ceiling, $sqrt, $abs, $exp, $log, $sin, $cos, $tan, $asin)
	($acos, $atan, $sinh, $cosh, $tanh, scm_real_part, scm_imag_part)
	(scm_magnitude, scm_angle, scm_abs, scm_quotient, scm_remainder)
	(scm_modulo, scm_gcd, scm_lcm): Added (future docstring) comments.
2001-03-02 09:07:22 +00:00
Dirk Herrmann
08c608e10a * extracted the tests from exceptions.test into eval.test and syntax.test.
* added a few test cases.
2001-03-02 01:38:01 +00:00
Dirk Herrmann
f29b345439 * Moved the number related tests from exceptions.test to numbers.test. 2001-03-01 22:00:02 +00:00
Dirk Herrmann
049fa4495b * Extracted tests from exceptions.test into strings.test and symbols.test.
* Added some tests to strings.test.
2001-03-01 17:57:50 +00:00
Dirk Herrmann
23deee8161 * Minor fixes to error checking macros. 2001-02-28 16:58:12 +00:00
Dirk Herrmann
1b5b19c9a9 * Turn some test's result into XFAIL instead of FAIL. 2001-02-28 13:40:36 +00:00
Dirk Herrmann
ef9709dacc * Moved reader related tests from exceptions.test to reader.test. 2001-02-28 13:17:47 +00:00
Dirk Herrmann
88f9ab70d0 * Removed old system to check for exceptions. 2001-02-28 11:48:18 +00:00
Dirk Herrmann
0bfa4a17a6 * Forgot to commit the changelog for the last change... 2001-02-28 11:46:24 +00:00
Dirk Herrmann
6b4113afc5 * Provide and use new convenience macros to test for exceptions. 2001-02-28 11:25:40 +00:00
Dirk Herrmann
9d372117f6 * Remove redundant test name prefix. 2001-02-28 09:06:10 +00:00
Dirk Herrmann
5c96bc39a4 * Make sure that tests return a boolean value. 2001-02-28 08:41:06 +00:00
Dirk Herrmann
ac6849ffee * Cleaned up export list. 2001-02-27 11:10:07 +00:00
Mikael Djurfeldt
704f4e86cf * boot-9.scm (save-stack): Use `primitive-eval' for stack
cutting.  Makes backtraces work again!  Also added a reference to
save-stack from the place in the repl where the primitive-eval
frame is invoked.
2001-02-27 03:19:36 +00:00
Mikael Djurfeldt
6fe692e911 ports.c, ports.h (scm_c_read, scm_c_write): New functions.
ports.h (SCM_READ_BUFFER_EMPTY_P): New macro.
2001-02-26 03:06:57 +00:00
Keisuke Nishida
aad61af582 Bug fixes. 2001-02-25 19:44:44 +00:00
Keisuke Nishida
4ce31633b4 Add comment for (ice-9 match). 2001-02-25 19:33:02 +00:00
Gary Houston
0df43a35bf *** empty log message *** 2001-02-25 19:22:28 +00:00
Keisuke Nishida
51e7dab66f * Makefile.am (ice9_sources): Added match.scm. 2001-02-25 18:31:57 +00:00
Keisuke Nishida
d1334b5167 Include match.scm. 2001-02-25 18:30:26 +00:00
Keisuke Nishida
e5005373cf News for (ice-9 match). 2001-02-25 18:24:41 +00:00
Keisuke Nishida
c8762438f5 * match.scm: New file. 2001-02-25 18:18:56 +00:00
Neil Jerram
27c3700636 * 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.
2001-02-24 23:46:04 +00:00
Neil Jerram
2069af3835 * Minor docstring updates. 2001-02-23 20:24:15 +00:00
Keisuke Nishida
19b6a58d52 * goops.scm (method): Enclosed BODY by `(let () ...)'.
This allows local defines at the beginning of methods.
2001-02-23 13:07:09 +00:00
Thien-Thi Nguyen
5d7aab2e0d *** empty log message *** 2001-02-23 10:24:37 +00:00
Thien-Thi Nguyen
c1ce8ca203 (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.
2001-02-23 10:19:35 +00:00
Thien-Thi Nguyen
8fbe69980e *** empty log message *** 2001-02-23 02:39:43 +00:00
Thien-Thi Nguyen
cf7b149fab Initial revision. 2001-02-23 02:36:54 +00:00
Marius Vollmer
97ea55f832 *** empty log message *** 2001-02-22 20:54:36 +00:00
Marius Vollmer
23c46fa69a * 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.
2001-02-22 20:54:12 +00:00
Marius Vollmer
0ba8a0a583 * 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.
2001-02-22 20:53:55 +00:00
Marius Vollmer
f1b7a06676 * load.c (load): Use scm_primtive_eval_x instead of scm_i_eval_x. 2001-02-22 20:52:46 +00:00
Marius Vollmer
b42ff18090 *** empty log message *** 2001-02-22 09:25:32 +00:00
Marius Vollmer
5fa207514c * numbers.c (s_scm_logior) [SCM_DIGSTOOBIG]: Also use
SCM_DIGSPERLONG instead of DIGSPERLONG.
2001-02-22 09:25:03 +00:00
Marius Vollmer
a820af98a7 Only check number of arguments for closures, see last change.
I just love this evaluator, man.
2001-02-21 22:52:59 +00:00
Marius Vollmer
afdd97aed1 Added copyright and license notice. 2001-02-21 22:51:23 +00:00
Marius Vollmer
09f2ab1e04 *** empty log message *** 2001-02-21 20:19:31 +00:00
Marius Vollmer
134ec96519 * numbers.c (scm_logior) [SCM_DIGSTOOBIG]: Correctly use
SCM_BIGDIG instead of BIGDIG.  Thanks to Steven G. Johnson!
2001-02-21 20:16:05 +00:00
Marius Vollmer
d6a35f3f61 Added copyright and licence notice. 2001-02-21 20:15:15 +00:00
Marius Vollmer
e37a4fbae1 * 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.
2001-02-21 20:14:47 +00:00
Marius Vollmer
b8d69b374c *** empty log message *** 2001-02-21 20:12:17 +00:00
Marius Vollmer
7b748b1649 * boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
`eval-case', everywhere.
2001-02-21 20:11:44 +00:00
Marius Vollmer
9a42b923cf Added copyright notice. 2001-02-21 20:11:18 +00:00
Martin Grabmüller
7090240cf4 *** empty log message *** 2001-02-17 11:36:16 +00:00
Martin Grabmüller
cb87e06ae6 (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.
2001-02-17 11:34:26 +00:00
Martin Grabmüller
e1546b65f8 (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.
2001-02-17 11:33:42 +00:00
Martin Grabmüller
0fb104edba (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.
2001-02-17 11:32:16 +00:00