Kevin Ryde
072e6de2ed
(-): Add test for negative inum subtract bignum.
2003-05-05 22:59:03 +00:00
Kevin Ryde
9c4443d38c
(scm_difference): In inum - bignum, handle negative inum.
2003-05-05 22:55:46 +00:00
Kevin Ryde
14b454a7cd
* scheme-options.texi (Build Config): Add index entries for
...
%guile-build-info keys.
2003-05-05 22:52:04 +00:00
Dirk Herrmann
3b88ed2a4d
The purpose of this patch is to make guile's internal memoizers
...
distinguishable from memoizing macros created on the scheme level
or from user provided primitive memoizing macros. The reason is,
that the internal memoizers are the only ones that are allowed to
transform their scheme input into memoizer byte code, while all
other memoizing macros may only transform scheme code into new
scheme code.
To achieve this, a new macro type 'builtin-macro!' is introduced.
Currently, 'builtin-macro!'s are handled as memoizing macros, but
this will change when the memoizer and executor are separated.
* macros.[ch] (scm_i_makbimacro): New.
* macros.h (SCM_BUILTIN_MACRO_P): New.
* macros.c (macro_print, scm_macro_type): Support builtin-macro!s.
* eval.c, goops.c: All of guile's primitive memoizing macros are
primitive builtin-macros now.
* eval.c (scm_macroexp, SCM_CEVAL): Make sure the primitive
builtin-macros are handled equally to memoizing macros.
2003-05-04 08:36:56 +00:00
Kevin Ryde
a7b0aa508c
*** empty log message ***
2003-05-04 01:37:21 +00:00
Kevin Ryde
bb6847e818
(Writing): Add write, revise display.
2003-05-04 00:40:13 +00:00
Marius Vollmer
03b9235a69
*** empty log message ***
2003-05-03 23:20:21 +00:00
Marius Vollmer
9dd023e147
Doc fix for the usage of num2intergral.
2003-05-03 23:19:51 +00:00
Marius Vollmer
3894870bde
When checking whether readline clears SA_RESTART, let readline read
...
from "/dev/null". Otherwise, it might be stopped when run in the
background with job control, say. Thanks to Michael Talbot-Wilson!
2003-05-03 23:18:51 +00:00
Kevin Ryde
4435705715
*** empty log message ***
2003-05-03 23:10:11 +00:00
Kevin Ryde
5a90a26327
(Reading): In read-char and peek-char, fix typos "?"
...
in @rnindex. In port-column, use @: after i.e.
(Writing): In get-print-state, two spaces after full stop.
2003-05-03 23:00:53 +00:00
Kevin Ryde
272f823582
*** empty log message ***
2003-05-03 22:48:47 +00:00
Kevin Ryde
016668fa78
(Integer Operations): Describe how quotient,
...
remainder and modulo round their results.
2003-05-03 22:45:49 +00:00
Kevin Ryde
b5aa021523
In reduce-right, use @code on "reduce".
2003-05-03 22:39:08 +00:00
Kevin Ryde
1ae7b87851
(SRFI-1 Fold and Map): Fix typo "... variant of fold", add "f" to fold
...
call shown.
2003-05-03 22:36:36 +00:00
Kevin Ryde
e508c8630c
(SRFI-1 Length Append etc): Add count.
2003-05-03 22:27:14 +00:00
Kevin Ryde
004fe2c802
(Processes): Fix typo "hhhh".
2003-05-03 22:24:36 +00:00
Kevin Ryde
218b088e2a
Add spaces after some @defun names.
2003-05-03 22:22:51 +00:00
Marius Vollmer
b0780eb1a9
*** empty log message ***
2003-05-03 22:10:05 +00:00
Marius Vollmer
ed6de6e9bd
(scm_ithrow): Remove "asm volatile" hack. It used to work around a
...
bug in GCC 2.95.2 but is now a bug in itself.
2003-05-03 22:09:20 +00:00
Marius Vollmer
d04229df7c
*** empty log message ***
2003-05-03 21:34:49 +00:00
Marius Vollmer
4167fc5422
(point++n!, point+-n!): Use substring-move! instead of
...
substring-move-left! or substring-move-right!. Thanks to Kevin Ryde.
2003-05-03 21:34:33 +00:00
Marius Vollmer
5b943a3f7f
(substring-move-left!, substring-move-right!): New.
2003-05-03 21:34:23 +00:00
Marius Vollmer
6aa536b337
*** empty log message ***
2003-05-03 20:57:40 +00:00
Marius Vollmer
0d5271a27f
*** empty log message ***
2003-05-03 20:52:53 +00:00
Marius Vollmer
297775ce69
(display-usage-report): Use keyword->symbol instead of keyword-symbol,
...
which doesn't exist. Thanks to Kevon Ryde.
2003-05-03 20:52:31 +00:00
Marius Vollmer
2b24a689f6
*** empty log message ***
2003-05-03 20:41:49 +00:00
Marius Vollmer
f70b2b1e8f
(hashq-cons-get-handle): Pass only the expected four arguments to
...
hashx-get-handle. Thanks to Kevin Ryde!
2003-05-03 20:41:30 +00:00
Marius Vollmer
1b965c29e7
*** empty log message ***
2003-05-03 20:24:37 +00:00
Marius Vollmer
c7f670b879
(make-line-buffering-input-port) Pass 0 as second argument to
...
string-ref. Thanks to Kevin Ryde!
2003-05-03 20:24:22 +00:00
Marius Vollmer
2e5b157d80
New. Thanks to Dale P. Smith for pointing us to these tests.
2003-05-03 19:58:55 +00:00
Marius Vollmer
1cbf4fe9d5
*** empty log message ***
2003-05-01 23:14:02 +00:00
Marius Vollmer
97f28fa42b
(scm_rstate, scm_rng, SCM_SLOPPY_CONSP, SCM_SLOPPY_NCONSP,
...
scm_tc7_ssymbol, scm_tc7_msymbol, scm_tcs_symbols): New.
2003-05-01 23:11:51 +00:00
Neil Jerram
2ce02471a4
Indexing improvements in posix.texi.
2003-04-30 23:44:07 +00:00
Marius Vollmer
096ecbaf7d
*** empty log message ***
2003-04-30 14:51:01 +00:00
Marius Vollmer
a0454d7215
(scm_protect_object, scm_unprotect_object, SCM_SETAND_CAR,
...
SCM_SETOR_CAR, SCM_SET_AND_CDR, SCM_SET_OR_CDR, SCM_FREEP, SCM_NFREEP,
SCM_GC8MARKP, SCM_SETGC8MARK, SCM_CLRGC8MARK, SCM_GCTYP16, SCM_GCCDR,
scm_remember, scm_the_root_module, scm_make_module,
scm_ensure_user_module, scm_load_scheme_module, scm_port,
scm_ptob_descriptor, scm_port_rw_active, scm_close_all_ports_except):
New.
2003-04-30 14:50:53 +00:00
Marius Vollmer
1a61d41b6c
*** empty log message ***
2003-04-30 14:45:10 +00:00
Marius Vollmer
c2e1551674
(scm_c_port_for_each): Added.
2003-04-30 14:43:10 +00:00
Marius Vollmer
c536b4b32e
* ports.c (scm_c_port_for_each): New function, mostly copied from
...
scm_port_for_each.
(scm_port_for_each): Reimplemented using scm_c_port_for_each.
* ports.h (scm_c_port_for_each): New prototype.
2003-04-30 14:38:53 +00:00
Neil Jerram
a1a5dfa888
SRFI 34
2003-04-30 00:06:33 +00:00
Mikael Djurfeldt
c8e1d35451
* eval.c (scm_m_atdispatch): Removed until actually needed. (This
...
macro was introduced in anticipation of GOOPS method compilation
code.)
* goops.c: Removed binding of @dispatch.
2003-04-28 12:43:45 +00:00
Dirk Herrmann
a4aa213486
* eval.c, goops.c (@dispatch, @slot-ref, @slot-set!): Move the
...
instructions that bind the macros on the scheme level back to
goops.c in order to make sure again that the bindings go into the
(oop goops) module and are not visible from the outside.
2003-04-28 06:05:10 +00:00
Dirk Herrmann
9fbee57e8e
* eval.c: Non functional change: Separated R5RS and non-R5RS
...
macros into different sections of the file and ordered the
memoizers alphabetically.
2003-04-27 12:06:48 +00:00
Dirk Herrmann
12841895dc
* eval.c (scm_ilookup): Rewritten to improve readability.
2003-04-27 11:06:14 +00:00
Dirk Herrmann
6a3f13f070
* eval.c (scm_i_call_closure_0, call_closure_1, call_closure_2):
...
Partially reverted patch from 2003-04-23 in oder to find a better
compromise between readability and debuggability.
2003-04-27 10:44:08 +00:00
Neil Jerram
d513f5c6b3
Document scm_str2symbol and scm_mem2symbol.
2003-04-26 15:30:59 +00:00
Neil Jerram
63bf8015ab
Doc clarification from tomas@fabula.de.
2003-04-26 15:09:18 +00:00
Neil Jerram
a95dbade59
scm_sysmissing doc fix from Kevin Ryde.
2003-04-26 15:02:56 +00:00
Mikael Djurfeldt
56b97da987
* serialize.scm: New file.
2003-04-25 19:49:15 +00:00
Mikael Djurfeldt
ee2a6d9940
Comment fix
2003-04-25 19:48:33 +00:00