1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 01:30:27 +02:00
Commit graph

11174 commits

Author SHA1 Message Date
Neil Jerram
c08deb2b5e * Updates for string- and vector-move-right/left! docstrings.
* Update Tcl war URLs.
2001-11-18 22:20:34 +00:00
Neil Jerram
694a9bb34e * Updates for string- and vector-move-right/left! docstrings.
* Update Tcl war URLs.
2001-11-18 22:10:41 +00:00
Dirk Herrmann
3096b33f0d * Oops, this belongs to the previous ChangeLog entry... 2001-11-17 12:16:05 +00:00
Dirk Herrmann
7171f1ab47 * tests/syntax.test: Added some tests, updated some others with
respect to recent changes in eval.c.  Further, extracted test
cases for guile's extended set! functionality to srfi-17.test.

* tests/srfi-17.test:  New file.
2001-11-17 11:44:06 +00:00
Dirk Herrmann
302c12b4b7 * eval.c: Removed bogus comment about acros.
(scm_unmemocar):  Use !SCM_CONSP instead of SCM_IMP.
Minimize scope of local variable.  Eliminate dependency on
macro DEBUG_EXTENSIONS.

(s_splicing):  New error message string.

(scm_m_body):  Issue 'bad body' message rather than 'missing
expression' message.

(scm_m_quote):  Eliminate unnecessary copying.

(scm_m_lambda, scm_m_letstar, scm_m_letrec, scm_m_let):  Leave the
checking of the body to scm_m_body.

(scm_m_do):  Move comment to function header.  Rename arg1 to
binding.  Made the code a bit easier to read.

(evalcar):  Removed.

(iqq):  Added a comment.  Changed the depth parameter to
unsigned.  Use size_t for vector lengths.  Make sure vector object
is gc protected as long as its contents are read.  Add some syntax
checks.  Get rid of unnecessary SCM_IMP test.  Clean up the
control structure a bit.

(scm_m_delay):  Added comment about the implementation of
scm_m_delay.

(scm_m_define):  Add comment about guile's currying define
syntax.  Renamed 'proc' to 'name'.  Eliminate dependency on macro
DEBUG_EXTENSIONS.  Simplified code a bit.  Eliminate SICP code.

(scm_m_letrec1):  Removed.  Part of the functionality is taken
over by the new function 'transform_bindings'.

(transform_bindings):  New function.  Takes over some of the
functionality of removed function 'scm_m_letrec1', namely to split
a list of bindings into a reversed list of variables and a list of
initializers.

(scm_m_letrec):  Call 'transform_bindings'.

(scm_m_let):  Minimized scope of local variables.  Renamed 'proc'
to 'temp' and 'arg1' to 'binding'.  Eliminated redundant SCM_NIMP
test.  Use 'transform_bindings'.  Fixed scoping error with named
let (Thanks to Aubrey Jaffer for reporting the bug and to Neil
Jerram for suggesting the fix).  Cleaned up the control structure
a bit.

(scm_m_expand_body):  Use 'transform_bindings'.  Eliminated
unnecessary consing.  Eliminated unnecessary
SCM_DEFER/ALLOW_INTS.

(SCM_CEVAL):  Un-obfuscated some loops.
2001-11-17 11:43:28 +00:00
Neil Jerram
8f85c0c6c3 * Adding C function declarations from the SCM interface to the
reference manual documentation.
2001-11-16 15:04:17 +00:00
Neil Jerram
cecb4a5e9d * These changes add a @deffnx C function declaration and function
index entries for each Guile primitive to the copy of the doc
  snarf output that is used for reference manual synchronization.
  Online help is unchanged.
2001-11-16 09:55:54 +00:00
Thien-Thi Nguyen
4ee1534fcc *** empty log message *** 2001-11-15 23:41:49 +00:00
Thien-Thi Nguyen
670639f606 Handle command "list" specially: list scripts dir.
(help): Make more informative.
2001-11-15 23:41:03 +00:00
Thien-Thi Nguyen
73c844bf02 *** empty log message *** 2001-11-15 23:39:33 +00:00
Thien-Thi Nguyen
de057fdc40 Handle command "list" specially: list scripts dir.
(help): Make more informative.
2001-11-15 23:36:05 +00:00
Thien-Thi Nguyen
3605ae0dee New file. 2001-11-15 21:11:25 +00:00
Dirk Herrmann
ddea3325eb * eval.c (RETURN): Wrap in do{}while(0) in order to make it
safely usable as a single statement followed by a ';', for example
in an if statement.

(SCM_CEVAL, SCM_APPLY):  Clean up code using 'RETURN'.
2001-11-15 17:19:53 +00:00
Thien-Thi Nguyen
7d91213b13 *** empty log message *** 2001-11-14 21:31:59 +00:00
Thien-Thi Nguyen
f056c4e39d Initial revision. 2001-11-14 20:47:40 +00:00
Thien-Thi Nguyen
f5d963ffad *** empty log message *** 2001-11-14 18:27:22 +00:00
Thien-Thi Nguyen
84bb30ab87 Spell "library" correctly. 2001-11-14 18:26:26 +00:00
Thien-Thi Nguyen
ef3946430f *** empty log message *** 2001-11-14 18:25:48 +00:00
Thien-Thi Nguyen
9c4dd6f420 Spell "library" correctly. 2001-11-14 18:24:44 +00:00
Marius Vollmer
8148764973 *** empty log message *** 2001-11-14 01:36:55 +00:00
Marius Vollmer
8c78a1b2d2 (scm_c_export): Call va_end after collecting the symbols. 2001-11-14 01:36:45 +00:00
Neil Jerram
39d2ee3ba5 * Miscellaneous doc and docstring fixes. 2001-11-14 00:02:59 +00:00
Neil Jerram
72dd0a03e0 * Miscellaneous small doc updates and fixes. 2001-11-13 23:44:29 +00:00
Marius Vollmer
409b85880d *** empty log message *** 2001-11-13 22:17:08 +00:00
Marius Vollmer
e713cd28c8 (scm_c_export): Call va_end after collecting the symbols. 2001-11-13 22:15:42 +00:00
Marius Vollmer
adb8c0f235 *** empty log message *** 2001-11-13 15:46:56 +00:00
Marius Vollmer
0534158ad0 (scm_substring_move_left_x, scm_substring_move_right_x): Removed. 2001-11-13 15:46:29 +00:00
Marius Vollmer
8334250f0f *** empty log message *** 2001-11-13 15:20:25 +00:00
Marius Vollmer
52d145bcbb (scm_substring_move_left_x, scm_substring_move_right_x): Deprecated. 2001-11-13 15:19:57 +00:00
Marius Vollmer
4d6444b86a Removed old "dynamic linking and modules" text. 2001-11-13 15:19:29 +00:00
Marius Vollmer
6558eda6e7 *** empty log message *** 2001-11-13 14:29:02 +00:00
Marius Vollmer
cd99053982 (HAVE_UINTPTR_T, HAVE_PTRDIFF_T, HAVE_LONG_LONG, HAVE_LONG_LONGS):
Define to "1" when defining them, to mirror what configure does.
2001-11-13 14:28:42 +00:00
Neil Jerram
28206d0466 * Check in new guile.texi tracking file. 2001-11-13 00:35:47 +00:00
Neil Jerram
64744a7ff8 * Various small doc fixes. 2001-11-13 00:29:59 +00:00
Neil Jerram
b56b5983a3 * Various small doc fixes. 2001-11-13 00:25:46 +00:00
Marius Vollmer
a714e0ebe2 *** empty log message *** 2001-11-12 22:16:48 +00:00
Marius Vollmer
cebb2d1f52 Recurse into libltdl directory and invoke autoconf there. 2001-11-12 22:16:27 +00:00
Marius Vollmer
32776e8d99 *** empty log message *** 2001-11-12 22:15:34 +00:00
Marius Vollmer
0b5083677e Pass `--force' to libtoolize. Recurse into libltdl directory and
invoke autoconf there.
2001-11-12 22:15:20 +00:00
Thien-Thi Nguyen
de852d1474 Point to source for docstring.el customization.
Add "For Example" section.
2001-11-12 08:37:03 +00:00
Thien-Thi Nguyen
697440cbc0 (guile-core-dir): New var.
(docstring-manual-directory, docstring-tracking-root,
docstring-snarfed-roots): Rework to construct using new var.
2001-11-12 08:09:46 +00:00
Thien-Thi Nguyen
c88888f6ea *** empty log message *** 2001-11-12 07:24:15 +00:00
Thien-Thi Nguyen
541337317e Restrict documentation change log
waiver to only apply to ChangeLog files.
2001-11-12 07:23:33 +00:00
Thien-Thi Nguyen
bca0bf8def *** empty log message *** 2001-11-12 07:21:24 +00:00
Thien-Thi Nguyen
1d61174a12 Restrict documentation change log
waiver to only apply to ChangeLog files.
2001-11-12 07:19:16 +00:00
Marius Vollmer
0bc9a83a58 *** empty log message *** 2001-11-12 01:30:23 +00:00
Marius Vollmer
5d8fc6409a *** empty log message *** 2001-11-12 01:14:26 +00:00
Marius Vollmer
1f5376556f Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
it with `#ifdef' instead of `#if'.
2001-11-12 01:14:17 +00:00
Marius Vollmer
08ae876872 (SIZEOF_SCM_T_BITS): Define it appropriately. 2001-11-12 01:13:00 +00:00
Marius Vollmer
3d2e8ceb97 * numbers.c: Document macros to define when including
num2integral.i.c.  MAX_VALUE and MIN_VALU are no longer used, we
now rely on SIZEOF_ macros that have been figured out at
configure time.

* num2integral.i.c: Adapt to new interface.
(NUM2INTEGRAL): Test whether a fixnum can be represented in the
target type by casting it and checking whether it is still the
same.  Do not try to handle bignums for integral types that are
smaller than fixnums.  When handling bignums, collect the
magnituse first into a unsigned type, and correctly check for
overflow.
(INTEGRAL2BIG): Do not use MIN_VALUE explicitely by observing that
only -MIN_VALUE can still be negative of all negative numbers (in
twos-complement).
2001-11-12 01:12:37 +00:00