bpt/guile.git
19 years ago*** empty log message ***
Marius Vollmer [Thu, 8 Jul 2004 22:53:33 +0000 (22:53 +0000)]
*** empty log message ***

19 years agoBugfix: set SCM_I_GSC_T_UINTMAX, not SCM_I_GSC_T_INTMAX in two places.
Marius Vollmer [Thu, 8 Jul 2004 22:50:45 +0000 (22:50 +0000)]
Bugfix: set SCM_I_GSC_T_UINTMAX, not SCM_I_GSC_T_INTMAX in two places.

19 years ago*** empty log message ***
Marius Vollmer [Thu, 8 Jul 2004 16:03:45 +0000 (16:03 +0000)]
*** empty log message ***

19 years agoUse scm_from_int instead of SCM_MAKINUM and scm_is_eq instead
Marius Vollmer [Thu, 8 Jul 2004 16:03:01 +0000 (16:03 +0000)]
Use scm_from_int instead of SCM_MAKINUM and scm_is_eq instead
SCM_EQ_P.

19 years ago(LLONG_MIN, LLONG_MAX, ULLONG_MAX): Removed and used SCM_I_LLONG_MIN
Marius Vollmer [Thu, 8 Jul 2004 16:01:02 +0000 (16:01 +0000)]
(LLONG_MIN, LLONG_MAX, ULLONG_MAX): Removed and used SCM_I_LLONG_MIN
etc. instead.

* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
SCM_I_MAKINUM and changed all uses.

19 years ago* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
Marius Vollmer [Thu, 8 Jul 2004 15:58:11 +0000 (15:58 +0000)]
* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
SCM_I_MAKINUM and changed all uses.

19 years ago*** empty log message ***
Marius Vollmer [Thu, 8 Jul 2004 15:54:40 +0000 (15:54 +0000)]
*** empty log message ***

19 years ago(scm_is_signed_integer, scm_is_unsigned_integer):
Marius Vollmer [Thu, 8 Jul 2004 15:54:05 +0000 (15:54 +0000)]
(scm_is_signed_integer, scm_is_unsigned_integer):
Rewritten using the same logic as scm_to_signed_integer and
scm_to_unsigned_integer, respectively, which is better(tm).  Also,
use CHAR_BIT instead of hardcoding 8.
(LLONG_MIN, LLONG_MAX, ULLONG_MAX): Removed and used
SCM_I_LLONG_MIN etc. instead.

* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
SCM_I_MAKINUM and changed all uses.

19 years ago* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
Marius Vollmer [Thu, 8 Jul 2004 15:41:48 +0000 (15:41 +0000)]
* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
SCM_I_MAKINUM and changed all uses.
* deprecated.h, deprecated.c (SCM_MAKINUM): Newly deprecated.

19 years agoInstead of hard-coding the numbers, compute them by assuming
Marius Vollmer [Thu, 8 Jul 2004 15:31:39 +0000 (15:31 +0000)]
Instead of hard-coding the numbers, compute them by assuming
twos-complement.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 7 Jul 2004 15:40:25 +0000 (15:40 +0000)]
*** empty log message ***

19 years ago* scheme-data.texi (Integers): Added docs for the new scm_is_,
Marius Vollmer [Wed, 7 Jul 2004 15:39:21 +0000 (15:39 +0000)]
* scheme-data.texi (Integers): Added docs for the new scm_is_,
scm_to_ and scm_from_ functions for integers.

19 years agoRemove superflous @end example.
Marius Vollmer [Wed, 7 Jul 2004 15:32:02 +0000 (15:32 +0000)]
Remove superflous @end example.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 7 Jul 2004 15:27:21 +0000 (15:27 +0000)]
*** empty log message ***

19 years agoDon't define SCM_T_INTMAX_MIN,
Marius Vollmer [Wed, 7 Jul 2004 15:25:23 +0000 (15:25 +0000)]
Don't define SCM_T_INTMAX_MIN,
etc, they are now provided by libuile.h.
(test_int_sizes): New.

19 years ago(scm_to_short, scm_to_ushort): It's SHRT_MIN, etc, not SHORT_MIN.
Marius Vollmer [Wed, 7 Jul 2004 15:22:56 +0000 (15:22 +0000)]
(scm_to_short, scm_to_ushort): It's SHRT_MIN, etc, not SHORT_MIN.
(scm_to_size_t): Use SIZE_MAX instead of cooking our own.
(scm_to_long_long, scm_to_ulong_long, scm_to_int8, scm_to_uint8,
scm_to_int16, scm_to_uint16, scm_to_int32, scm_to_uint32,
scm_to_int64, scm_to_uint64, scm_to_intmax, scm_to_uintmax,
scm_from_long_long, scm_from_ulong_long, scm_from_int8,
scm_from_uint8, scm_from_int16, scm_from_uint16, scm_from_int32,
scm_from_uint32, scm_from_int64, scm_from_uint64, scm_from_intmax,
scm_from_uintmax): New.

19 years ago* gen-scmconfig.h.in: Added all the new SCM_I_GSC_*_LIMITS that
Marius Vollmer [Wed, 7 Jul 2004 15:18:31 +0000 (15:18 +0000)]
* gen-scmconfig.h.in: Added all the new SCM_I_GSC_*_LIMITS that
configure now produces.
* gen-scmconfig.c: Use them to output SCM_T_INT8_MIN, etc
definitions, giving the limits of the integer types defined by
Guile. Also, output a hard coded SCM_I_LLONG_MIN, etc since
LLONG_MIN or LONG_LONG_MIN is hard to get at.

19 years agoAdded all the new SCM_I_GSC_*_LIMITS that configure now produces.
Marius Vollmer [Wed, 7 Jul 2004 15:16:20 +0000 (15:16 +0000)]
Added all the new SCM_I_GSC_*_LIMITS that configure now produces.

19 years agoWhen checking for suitable types for scm_t_int8, etc, try int8_t
Marius Vollmer [Wed, 7 Jul 2004 15:08:21 +0000 (15:08 +0000)]
When checking for suitable types for scm_t_int8, etc, try int8_t
first, so that we pick them up when they are defined.  Also,
substitute limit macros like INT8_MIN into the configure header for
all these types.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 7 Jul 2004 12:18:18 +0000 (12:18 +0000)]
*** empty log message ***

19 years ago(How Guile does it): Mark as being in limbo. All
Marius Vollmer [Wed, 7 Jul 2004 12:17:41 +0000 (12:17 +0000)]
(How Guile does it): Mark as being in limbo.  All
the real documentation will be in the nodes "Programming in C" and
"API Reference".
(Boolean Data): Just refer to node "Booleans".

19 years agoReplace references to SCM_NFALSEP, etc with scm_is_true, etc.
Marius Vollmer [Wed, 7 Jul 2004 12:09:57 +0000 (12:09 +0000)]
Replace references to SCM_NFALSEP, etc with scm_is_true, etc.

19 years ago*** empty log message ***
Marius Vollmer [Wed, 7 Jul 2004 07:43:07 +0000 (07:43 +0000)]
*** empty log message ***

19 years ago(Booleans): Flag all function-like definitions as "C Functions".
Marius Vollmer [Wed, 7 Jul 2004 07:39:10 +0000 (07:39 +0000)]
(Booleans): Flag all function-like definitions as "C Functions".

19 years ago*** empty log message ***
Marius Vollmer [Tue, 6 Jul 2004 14:23:15 +0000 (14:23 +0000)]
*** empty log message ***

19 years agoAdded scm_is_eq, scm_eq_p, scm_eqv_p, and scm_equal_p.
Marius Vollmer [Tue, 6 Jul 2004 14:22:11 +0000 (14:22 +0000)]
Added scm_is_eq, scm_eq_p, scm_eqv_p, and scm_equal_p.

19 years agoRemove non-R5RS stuff from the 'rn' index.
Marius Vollmer [Tue, 6 Jul 2004 14:21:46 +0000 (14:21 +0000)]
Remove non-R5RS stuff from the 'rn' index.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 6 Jul 2004 13:20:07 +0000 (13:20 +0000)]
*** empty log message ***

19 years agoReplaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
Marius Vollmer [Tue, 6 Jul 2004 13:19:42 +0000 (13:19 +0000)]
Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.

19 years agoNew file.
Marius Vollmer [Tue, 6 Jul 2004 13:13:37 +0000 (13:13 +0000)]
New file.

19 years agoAdded test-conversion to the TESTS.
Marius Vollmer [Tue, 6 Jul 2004 13:13:14 +0000 (13:13 +0000)]
Added test-conversion to the TESTS.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 6 Jul 2004 12:02:59 +0000 (12:02 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Marius Vollmer [Tue, 6 Jul 2004 11:52:50 +0000 (11:52 +0000)]
*** empty log message ***

19 years agoReplaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
Marius Vollmer [Tue, 6 Jul 2004 11:02:47 +0000 (11:02 +0000)]
Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 6 Jul 2004 11:02:18 +0000 (11:02 +0000)]
*** empty log message ***

19 years ago* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
Marius Vollmer [Tue, 6 Jul 2004 10:59:25 +0000 (10:59 +0000)]
* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h".
Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and
scm_is_bool, respectively.

19 years ago(scm_is_eq): New.
Marius Vollmer [Tue, 6 Jul 2004 10:42:33 +0000 (10:42 +0000)]
(scm_is_eq): New.

19 years ago(scm_is_bool): Fix typo.
Marius Vollmer [Tue, 6 Jul 2004 10:25:37 +0000 (10:25 +0000)]
(scm_is_bool): Fix typo.

* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h".
Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and
scm_is_bool, respectively.

19 years ago(scm_is_integer, scm_is_signed_integer, scm_is_unsigned_integer,
Marius Vollmer [Tue, 6 Jul 2004 10:23:30 +0000 (10:23 +0000)]
(scm_is_integer, scm_is_signed_integer, scm_is_unsigned_integer,
scm_to_signed_integer, scm_to_unsigned_integer, scm_to_schar,
scm_to_uchar, scm_to_char, scm_to_short, scm_to_ushort, scm_to_long,
scm_to_ulong, scm_to_size_t, scm_to_ssize_t, scm_from_schar,
scm_from_uchar, scm_from_char, scm_from_short, scm_from_ushort,
scm_from_int, scm_from_uint, scm_from_long, scm_from_ulong,
scm_from_size_t, scm_from_ssize_t, scm_is_real, scm_to_double,
scm_from_double): New.

* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h".
Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and
scm_is_bool, respectively.

19 years ago* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
Marius Vollmer [Tue, 6 Jul 2004 10:05:45 +0000 (10:05 +0000)]
* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into
"deprecated.h".  Replaced all uses with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.

* boolean.h (scm_is_bool): Fix bug in prototype.
(scm_from_bool): The argument is "x" not "f", stupid.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 6 Jul 2004 09:54:35 +0000 (09:54 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Marius Vollmer [Mon, 5 Jul 2004 17:38:19 +0000 (17:38 +0000)]
*** empty log message ***

19 years ago(Booleans): Added reference entries for scm_is_true, scm_is_false,
Marius Vollmer [Mon, 5 Jul 2004 17:37:41 +0000 (17:37 +0000)]
(Booleans): Added reference entries for scm_is_true, scm_is_false,
scm_is_bool, scm_from_bool, and scm_to_bool.

19 years ago*** empty log message ***
Marius Vollmer [Mon, 5 Jul 2004 17:14:23 +0000 (17:14 +0000)]
*** empty log message ***

19 years ago(scm_is_true, scm_is_false, scm_from_bool, scm_to_bool): New.
Marius Vollmer [Mon, 5 Jul 2004 17:13:39 +0000 (17:13 +0000)]
(scm_is_true, scm_is_false, scm_from_bool, scm_to_bool): New.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 5 Jul 2004 00:21:24 +0000 (00:21 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Kevin Ryde [Mon, 5 Jul 2004 00:09:17 +0000 (00:09 +0000)]
*** empty log message ***

19 years ago(system): Correction to redefinition, now guile is stricter
Kevin Ryde [Mon, 5 Jul 2004 00:08:24 +0000 (00:08 +0000)]
(system): Correction to redefinition, now guile is stricter
about when a define binding comes into existance.

19 years ago(isinf, isnan): Detect macro versions as well as
Kevin Ryde [Mon, 5 Jul 2004 00:04:39 +0000 (00:04 +0000)]
(isinf, isnan): Detect macro versions as well as
functions, since C99 specifies them as macros and that's all HP-UX
has.  Reported by Andreas Voegele.

19 years ago*** empty log message ***
Kevin Ryde [Mon, 5 Jul 2004 00:01:48 +0000 (00:01 +0000)]
*** empty log message ***

19 years agoCorrection to heading comment.
Kevin Ryde [Mon, 5 Jul 2004 00:00:48 +0000 (00:00 +0000)]
Correction to heading comment.

19 years ago*** empty log message ***
Kevin Ryde [Sun, 4 Jul 2004 23:58:05 +0000 (23:58 +0000)]
*** empty log message ***

19 years ago(uvec_sizes): Add "const".
Kevin Ryde [Sun, 4 Jul 2004 23:57:10 +0000 (23:57 +0000)]
(uvec_sizes): Add "const".

19 years ago*** empty log message ***
Marius Vollmer [Mon, 28 Jun 2004 13:40:18 +0000 (13:40 +0000)]
*** empty log message ***

19 years agoRemoved code for --enable-htmldoc; support for HTML is now included in
Marius Vollmer [Mon, 28 Jun 2004 13:39:31 +0000 (13:39 +0000)]
Removed code for --enable-htmldoc; support for HTML is now included in
automake.

19 years ago*** empty log message ***
Marius Vollmer [Mon, 28 Jun 2004 13:31:36 +0000 (13:31 +0000)]
*** empty log message ***

19 years ago* hierarchy.png: New file.
Marius Vollmer [Mon, 28 Jun 2004 13:31:10 +0000 (13:31 +0000)]
* hierarchy.png: New file.

19 years agoRemoved home-grown code for HTML generation.
Marius Vollmer [Mon, 28 Jun 2004 13:27:28 +0000 (13:27 +0000)]
Removed home-grown code for HTML generation.
Automake does it for us now.
(goops_TEXINFOS): Added hierarchy.png

19 years ago*** empty log message ***
Marius Vollmer [Mon, 28 Jun 2004 13:25:25 +0000 (13:25 +0000)]
*** empty log message ***

19 years agoRemoved home-grown code for HTML generation. Automake does it for us
Marius Vollmer [Mon, 28 Jun 2004 13:25:14 +0000 (13:25 +0000)]
Removed home-grown code for HTML generation.  Automake does it for us
now.

19 years agoDo not use TeXinfo markup in section or node names.
Marius Vollmer [Mon, 28 Jun 2004 13:24:53 +0000 (13:24 +0000)]
Do not use TeXinfo markup in section or node names.

19 years ago*** empty log message ***
Marius Vollmer [Mon, 28 Jun 2004 13:19:54 +0000 (13:19 +0000)]
*** empty log message ***

19 years ago(Top): Use @ifnottex instead of @ifinfo for the
Marius Vollmer [Mon, 28 Jun 2004 13:19:42 +0000 (13:19 +0000)]
(Top): Use @ifnottex instead of @ifinfo for the
beneift of makeinfo --html.

19 years agoRemoved home-grown code for HTML generation. Automake does it for us
Marius Vollmer [Mon, 28 Jun 2004 13:19:26 +0000 (13:19 +0000)]
Removed home-grown code for HTML generation.  Automake does it for us
now.

19 years ago * backtrace.c (display_expression, display_frame): Call
Dirk Herrmann [Sun, 27 Jun 2004 12:34:54 +0000 (12:34 +0000)]
* backtrace.c (display_expression, display_frame): Call
scm_i_unmemoize_expr for unmemoizing a memoized object holding a
single memoized expression.

* debug.c (memoized_print): Don't try to unmemoize the memoized
object, since we can't know whether it holds a single expression
or a body.

(scm_mem_to_proc): Removed check for lambda expression, since it
was moot anyway.  Whoever uses these functions for debugging
purposes should know what they do: Creating invalid memoized code
will cause crashes, independent of whether this check is present
or not.

(scm_proc_to_mem): Take the closure's code as it is and don't
append a SCM_IM_LAMBDA isym.  To allow easier debugging, the
memoized code should not be modified.

* debug.[ch] (scm_unmemoize, scm_i_unmemoize_expr): Removed
scm_unmemoize from public use, but made scm_i_unmemoize_expr
available as a guile internal function instead.  However,
scm_i_unmemoize_expr will only work on memoized objects that hold
a single memoized expression.  It won't work with bodies.

* debug.c (scm_procedure_source), macros.c (macro_print), print.c
(scm_iprin1): Call scm_i_unmemocopy_body for unmemoizing a body,
i. e. a list of expressions.

* eval.c (unmemoize_exprs): Drop internal body markers from the
output during unmemoization.

* eval.[ch] (scm_unmemocopy, scm_i_unmemocopy_expr,
scm_i_unmemocopy_body): Removed scm_unmemocopy from public use,
but made scm_i_unmemocopy_expr and scm_i_unmemocopy_body available
as guile internal functions instead.  scm_i_unmemoize_expr will
only work on a single memoized expression, while
scm_i_unmemocopy_body will only work on bodies.

19 years ago * eval.c (unmemoize_exprs): Handle semi-memoized code.
Dirk Herrmann [Mon, 21 Jun 2004 20:40:36 +0000 (20:40 +0000)]
* eval.c (unmemoize_exprs): Handle semi-memoized code.

(scm_cons_source, scm_primitive_eval): Prefer higher level
predicate SCM_FALSEP over SCM_IMP.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 20:18:25 +0000 (20:18 +0000)]
*** empty log message ***

19 years agoAdd separate symmetric test for SCM_HAVE_T_UINT64 in one case.
Rob Browning [Sun, 20 Jun 2004 20:18:18 +0000 (20:18 +0000)]
Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 20:14:38 +0000 (20:14 +0000)]
*** empty log message ***

19 years agofix #ifdef checks for 64-bit types; should be #if.
Rob Browning [Sun, 20 Jun 2004 20:14:23 +0000 (20:14 +0000)]
fix #ifdef checks for 64-bit types; should be #if.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 20:05:53 +0000 (20:05 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 17:24:42 +0000 (17:24 +0000)]
*** empty log message ***

19 years ago(uvec_print): rewrite using a union to make more
Rob Browning [Sun, 20 Jun 2004 17:24:04 +0000 (17:24 +0000)]
(uvec_print): rewrite using a union to make more
compact, and use static print_uint64 and print_int64 to print
64-bit elements.
(print_int64): new static function (temporary fix).
(print_uint64): new static function (temporary fix).

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 14:49:36 +0000 (14:49 +0000)]
*** empty log message ***

19 years ago(srfi_DATA): add srfi-31.scm.
Rob Browning [Sun, 20 Jun 2004 14:48:44 +0000 (14:48 +0000)]
(srfi_DATA): add srfi-31.scm.

19 years agonew test for SRFI-31.
Rob Browning [Sun, 20 Jun 2004 14:22:22 +0000 (14:22 +0000)]
new test for SRFI-31.

19 years ago*** empty log message ***
Rob Browning [Sun, 20 Jun 2004 14:21:31 +0000 (14:21 +0000)]
*** empty log message ***

19 years ago(SCM_TESTS): add tests/srfi-31.scm.
Rob Browning [Sun, 20 Jun 2004 14:21:07 +0000 (14:21 +0000)]
(SCM_TESTS): add tests/srfi-31.scm.

19 years agonew file.
Rob Browning [Sun, 20 Jun 2004 14:19:59 +0000 (14:19 +0000)]
new file.

19 years ago(SRFI-31): add documentation for srfi-31.
Rob Browning [Sun, 20 Jun 2004 14:19:00 +0000 (14:19 +0000)]
(SRFI-31): add documentation for srfi-31.

19 years ago*** empty log message ***
Rob Browning [Wed, 16 Jun 2004 17:14:54 +0000 (17:14 +0000)]
*** empty log message ***

19 years ago* readline.scm: moved to ./ice-9/
Rob Browning [Wed, 16 Jun 2004 17:14:37 +0000 (17:14 +0000)]
* readline.scm: moved to ./ice-9/

19 years agomove package and version args to AC_INIT as is now
Rob Browning [Wed, 16 Jun 2004 17:14:20 +0000 (17:14 +0000)]
move package and version args to AC_INIT as is now
recommended.  This also requires m4_esyscmd to read GUILE-VERSION
given the way AC_INIT handles its args.  Also move "foreign"
indication here.

19 years ago* Makefile.am: move support for readline.scm to ice-9/ subdir.
Rob Browning [Wed, 16 Jun 2004 17:13:55 +0000 (17:13 +0000)]
* Makefile.am: move support for readline.scm to ice-9/ subdir.

19 years ago* .cvsignore: add ice-9 dir.
Rob Browning [Wed, 16 Jun 2004 17:13:43 +0000 (17:13 +0000)]
* .cvsignore: add ice-9 dir.

* ice-9/.cvsignore: new file.

19 years agomodify to handle move of readline.scm to
Rob Browning [Wed, 16 Jun 2004 17:13:27 +0000 (17:13 +0000)]
modify to handle move of readline.scm to
ice-9 subdir of guile-readline.

19 years agomove package and version args to AC_INIT as is now
Rob Browning [Wed, 16 Jun 2004 17:13:09 +0000 (17:13 +0000)]
move package and version args to AC_INIT as is now
recommended.  This also requires m4_esyscmd to read GUILE-VERSION
given the way AC_INIT handles its args.

19 years ago* ice-9/readline.scm: moved here from ../
Rob Browning [Wed, 16 Jun 2004 17:12:40 +0000 (17:12 +0000)]
* ice-9/readline.scm: moved here from ../

19 years ago* Makefile.am: move support for readline.scm to ice-9/ subdir.
Rob Browning [Wed, 16 Jun 2004 17:12:14 +0000 (17:12 +0000)]
* Makefile.am: move support for readline.scm to ice-9/ subdir.

* ice-9/Makefile.am: new file.

19 years ago*** empty log message ***
Rob Browning [Wed, 16 Jun 2004 04:10:37 +0000 (04:10 +0000)]
*** empty log message ***

19 years agoupdate ifdefery for macosx.
Rob Browning [Wed, 16 Jun 2004 04:09:52 +0000 (04:09 +0000)]
update ifdefery for macosx.
(scm_get_stack_base): separate result initialization from
declaration to slience warnings with macosx and hp-ux using gcc
3.3.  Thanks to Andreas Vögele.

19 years ago(scm_shell_usage): minor phrasing change.
Rob Browning [Wed, 16 Jun 2004 04:08:25 +0000 (04:08 +0000)]
(scm_shell_usage): minor phrasing change.

19 years ago*** empty log message ***
Marius Vollmer [Tue, 15 Jun 2004 13:20:22 +0000 (13:20 +0000)]
*** empty log message ***

19 years ago(number->string): Some results might differ between versions of Guile
Marius Vollmer [Tue, 15 Jun 2004 13:19:10 +0000 (13:19 +0000)]
(number->string): Some results might differ between versions of Guile
compiled optimized and unoptimized.  Both results are accepted now.

19 years ago(unmemoize_exprs): use SCM_CONSP for the loop condition.
Han-Wen Nienhuys [Sat, 12 Jun 2004 22:22:56 +0000 (22:22 +0000)]
(unmemoize_exprs): use SCM_CONSP for the loop condition.

20 years ago * list.[ch] (scm_i_finite_list_copy): New internal function to
Dirk Herrmann [Sun, 6 Jun 2004 07:46:18 +0000 (07:46 +0000)]
* list.[ch] (scm_i_finite_list_copy): New internal function to
copy lists that are known to be finite (though not necessarily
proper).

* debug.c (scm_procedure_source): Don't have scm_unmemocopy treat
a closure's argument list like an expression of a body.

* eval.c (unmemoize_expression, unmemoize_exprs, unmemoize_and,
unmemoize_begin, unmemoize_case, unmemoize_cond, unmemoize_delay,
unmemoize_do, unmemoize_if, unmemoize_lambda, unmemoize_let,
unmemoize_letrec, unmemoize_letstar, unmemoize_or,
unmemoize_set_x, unmemoize_apply, unmemoize_atcall_cc,
unmemoize_at_call_with_values, unmemoize_future, sym_atslot_ref,
unmemoize_atslot_ref, sym_atslot_set_x, unmemoize_atslot_set_x,
unmemoize_builtin_macro): New static functions and symbols.

(scm_unmemocopy): Rewritten in terms of the above.  scm_unmemocopy
now has a slightly different meaning: The memoized form that is
receives as its argument is now interpreted as a sequence of
expressions from a body.

(unmemocar, scm_unmemocar): Since the whole functionality of
unmemocar and scm_unmemocar is not needed any more, scm_unmemocar
has its old content back and is deprecated, while unmemocar has
been removed.

(SCM_BIT7): Removed.

(CEVAL): For unmemoizing a single expression, call
unmemoize_expression instead of scm_unmemocopy, which now expects
a sequence of body expressions.  Eliminated unnecessary empty
environment frame when executing let* forms.  Eliminated
unmemoization step from evaluator.

20 years ago*** empty log message ***
Marius Vollmer [Wed, 2 Jun 2004 09:44:55 +0000 (09:44 +0000)]
*** empty log message ***

20 years ago(scm_macroexp, macroexp): Renamed scm_macroexp to
Marius Vollmer [Wed, 2 Jun 2004 09:37:48 +0000 (09:37 +0000)]
(scm_macroexp, macroexp): Renamed scm_macroexp to
macroexp and made static.  Added new version of scm_macroexp that
emits a deprecation warning and then calls macroexp.
(scm_m_undefine): Issue deprecation warning.

20 years ago * tests/syntax.test: Added various tests to check that
Dirk Herrmann [Mon, 31 May 2004 15:31:04 +0000 (15:31 +0000)]
* tests/syntax.test: Added various tests to check that
unmemoization works correctly.

20 years ago * eval.c (lookup_global_symbol, literal_p, try_macro_lookup):
Dirk Herrmann [Sun, 30 May 2004 07:01:27 +0000 (07:01 +0000)]
* eval.c (lookup_global_symbol, literal_p, try_macro_lookup):
Modified to make set! work on symbols that represent syntactic
keywords.