Marius Vollmer
c0ed1605f1
* tests/syntax.test ("let,duplicate bindings", "let*,duplicate
...
bindings", "letrec,duplicate bindings"): Expect to pass, bug has
been fixed.
2001-03-03 23:54:42 +00:00
Marius Vollmer
185ab0ef10
* eval.c (scm_s_duplicate_bindings): New error message.
...
(scm_m_letrec1, scm_m_letstar): Check for duplicate bindings.
2001-03-03 23:52:57 +00:00
Mikael Djurfeldt
0109c4bf49
* stack-catch.scm: New file.
...
* Makefile.am (ice9_sources): Added stack-catch.scm.
2001-03-03 19:43:35 +00:00
Marius Vollmer
97d41e3e07
*** empty log message ***
2001-03-03 17:30:52 +00:00
Marius Vollmer
1c54a87cb2
* tests/syntax.test ("duplicate formals"): New category, move
...
appropriate tests here. Expect them to pass.
("empty parentheses"): Expect to pass, bug has been fixed.
2001-03-03 17:29:09 +00:00
Marius Vollmer
14fe4fe9ce
*** empty log message ***
2001-03-03 17:25:22 +00:00
Marius Vollmer
d9d39d76e7
Cosmetic cleanups.
2001-03-03 17:24:51 +00:00
Marius Vollmer
2fd945df34
*** empty log message ***
2001-03-03 15:17:05 +00:00
Marius Vollmer
c8e39a6752
* tests/alist.test: Use "'()" instead of "()" in all places
...
where the empty list is meant.
2001-03-03 15:14:18 +00:00
Marius Vollmer
5280aacabc
* eval.h (SCM_EVALIM2): New macro. Use it when a
...
immediate, literal constant should be evaluated.
* eval.c (scm_s_duplicate_formals): New error message string.
(scm_c_improper_memq): New function.
(scm_m_lambda): Check for duplicate arguments.
(scm_ceval, scm_deval): When executing a body: only cons a new
toplevel environment frame when it is different from the
existing one; use EVALCAR instead of SIDEVAL so that we can properly
check for empty combinations; use SCM_EVALIM2 for the same reason
in the non-toplevel loop.
(nontoplevel_cdrxnoap, nontoplevel_cdrxbegin, nontoplevel_begin):
New labels with the meaning of their non-"nontoplevel" partners,
but they are used when it is known that the body is not evaluated at
top-level.
(scm_apply, scm_dapply): use SCM_EVALIM2 to get proper error
reporting for empty combinations.
2001-03-03 15:10:37 +00:00
Marius Vollmer
bf4aaed27c
* boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
...
where the empty list is meant.
2001-03-03 14:58:22 +00:00
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