1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-13 17:20:21 +02:00
Commit graph

6928 commits

Author SHA1 Message Date
Dirk Herrmann
2b6b59081a * tests/eval.test: Added tests for promises. 2001-10-26 19:47:57 +00:00
Thien-Thi Nguyen
d68676ec45 *** empty log message *** 2001-10-26 12:59:33 +00:00
Thien-Thi Nguyen
322d272ac0 (7, 8): New. 2001-10-26 12:58:56 +00:00
Thien-Thi Nguyen
2ad3278ab9 *** empty log message *** 2001-10-26 12:58:20 +00:00
Thien-Thi Nguyen
6cf0878f9e (7, 8): New. 2001-10-26 12:57:25 +00:00
Thien-Thi Nguyen
226db30982 *** empty log message *** 2001-10-25 22:54:30 +00:00
Thien-Thi Nguyen
e2ccbf9501 (6): New. 2001-10-25 22:53:42 +00:00
Thien-Thi Nguyen
d07db248f1 *** empty log message *** 2001-10-25 22:53:07 +00:00
Thien-Thi Nguyen
dc5ab9af95 (6): New. 2001-10-25 22:52:34 +00:00
Thien-Thi Nguyen
5caa5d6535 *** empty log message *** 2001-10-25 22:12:05 +00:00
Thien-Thi Nguyen
319ddf81d0 (5): New. 2001-10-25 22:11:28 +00:00
Thien-Thi Nguyen
f135ca5568 *** empty log message *** 2001-10-25 22:10:49 +00:00
Thien-Thi Nguyen
969182acf5 (5): New. 2001-10-25 22:10:04 +00:00
Thien-Thi Nguyen
a514023d74 *** empty log message *** 2001-10-25 18:14:35 +00:00
Thien-Thi Nguyen
88463d071d Initial revision 2001-10-25 18:13:46 +00:00
Thien-Thi Nguyen
6c84ffe0a0 *** empty log message *** 2001-10-25 17:15:10 +00:00
Thien-Thi Nguyen
a8ed5c7117 (4): New. 2001-10-25 17:13:53 +00:00
Thien-Thi Nguyen
65aec929a6 *** empty log message *** 2001-10-25 17:11:46 +00:00
Thien-Thi Nguyen
23c06383b4 (4): New. 2001-10-25 17:11:13 +00:00
Thien-Thi Nguyen
b18ea4492b *** empty log message *** 2001-10-25 16:45:38 +00:00
Thien-Thi Nguyen
c95d1a2d80 *** empty log message *** 2001-10-25 16:41:53 +00:00
Thien-Thi Nguyen
0b67aaf320 Expand on file format description.
(1): Update "fixed" field.
(2, 3): New.
2001-10-25 16:39:57 +00:00
Thien-Thi Nguyen
7d87115cf8 Expand on file format description.
(1): Update "fixed" field.
(2, 3): New.
2001-10-25 16:38:46 +00:00
Mikael Djurfeldt
1a179b03b0 * lib.scm: Move module the system directives `export',
`export-syntax', `re-export' and `re-export-syntax' into the
  `define-module' form.  This is the recommended way of exporting
  bindings.

* srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
directives `export', `export-syntax', `re-export' and
`re-export-syntax' into the `define-module' form.  This is the
recommended way of exporting bindings.

* goops.scm, goops/active-slot.scm, goops/compile.scm,
goops/composite-slot.scm, goops/describe.scm, goops/dispatch.scm,
goops/old-define-method.scm, goops/save.scm, goops/util.scm: Move
module the system directives `export', `export-syntax',
`re-export' and `re-export-syntax' into the `define-module' form.
This is the recommended way of exporting bindings.

* slib.scm (array-indexes): New procedure.
(*features*): Extend.  (Probably some of these options should be
set elsewhere.)  (Thanks to Aubrey Jaffer.)

* and-let-star-compat.scm, and-let-star.scm, calling.scm,
  channel.scm, common-list.scm, debug.scm, debugger.scm,
  expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm,
  null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm,
  q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm,
  safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm,
  syncase.scm, threads.scm: Move module the system directives
  `export', `export-syntax', `re-export' and `re-export-syntax'
  into the `define-module' form.  This is the recommended way of
  exporting bindings.
2001-10-21 09:49:19 +00:00
Dirk Herrmann
b461abe73f * tests/syntax.test: Added test cases for 'cond =>' syntax with
else clause.  Changed some tests and comments related to the
'case' form to reflect recent changes in the implementation.
2001-10-18 21:59:29 +00:00
Dirk Herrmann
8ea4624953 * eval.c (scm_lookupcar, scm_m_letstar, scm_m_do, iqq,
scm_m_define, scm_m_letrec1, scm_m_let, scm_m_expand_body,
scm_macroexp, unmemocopy, scm_eval_args, scm_deval_args,
SCM_CEVAL, scm_map, scm_init_eval):  When building lists, prefer
scm_list_<n> over scm_cons[2]?.

(scm_unmemocar, scm_m_cond, scm_m_letstar, scm_m_letrec1,
scm_m_let, scm_m_atbind, unmemocopy, SCM_CEVAL, SCM_APPLY):  Use
SCM_C[AD][AD]R instead of explicit form.

(scm_m_set_x, scm_m_cond, scm_m_letstar, scm_m_do):  Reordered
comparison parameters.

(scm_m_case, scm_m_cond, scm_m_letstar, scm_m_do, SCM_CEVAL):  Use
!SCM_NULLP instead of SCM_NIMP.

(scm_m_case):  Don't copy the form.  Renamed proc to clause and
minimized its scope.  Renamed x to clauses.  Removed side
effecting operation from macro call.

(scm_m_cond):  Don't copy the form.  Renamed arg1 to clause and
minimized its scope.  Renamed x to clauses.  Minimized the scope
of variable 'len'.  Make sure the else clause is treated specially
even in case of '=>' occurences.  Don't change the else to #t in
order to be able to distinguish this case in the evaluator.  Leave
type checking of the recipient to the evaluator.

(scm_c_improper_memq):  Made the comment somewhat clearer.

(scm_m_lambda):  Renamed proc to formals.  Removed unnecessary
test for SCM_IM_LET at the place of the formal parameters.
Simplified the formal parameter checking.

(scm_m_letstar):  Added Comment.  Renamed proc to bindings.
Renamed arg1 to binding and minimized its scope.  Eliminated
unnecessary consing.

(scm_m_do):  Renamed proc to bindings.  Minimized the scope of
variable 'len'.

(build_binding_list):  New static function.

(unmemocopy):  Don't use SCM_TYP7 on pairs (it's unclean).
Further, split up the 'letrec' unmemoizing code to the
corresponding parts for 'do', 'let' and 'letrec', adding comments
to each form.  Cleanup the handling of the do form (This removes
some *real* code :-).

(SCM_CEVAL):  Removed side effecting operation from macro call.
Handle the 'else clause of the 'cond form specially - the symbol
'else is not replaced with #t any more.
2001-10-18 21:38:04 +00:00
Mikael Djurfeldt
1575e23ee4 * lib.scm: Move module the system directives `export',
`export-syntax', `re-export' and `re-export-syntax' into the
  `define-module' form.  This is the recommended way of exporting
  bindings.
2001-10-18 19:43:43 +00:00
Mikael Djurfeldt
7338fb2827 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
directives `export', `export-syntax', `re-export' and
`re-export-syntax' into the `define-module' form.  This is the
recommended way of exporting bindings.
2001-10-18 19:43:07 +00:00
Mikael Djurfeldt
7dd526de2d * goops.scm, goops/active-slot.scm, goops/compile.scm,
goops/composite-slot.scm, goops/describe.scm, goops/dispatch.scm,
goops/old-define-method.scm, goops/save.scm, goops/util.scm: Move
module the system directives `export', `export-syntax',
`re-export' and `re-export-syntax' into the `define-module' form.
This is the recommended way of exporting bindings.
2001-10-18 19:42:22 +00:00
Mikael Djurfeldt
a6e0ab1250 * and-let-star-compat.scm, and-let-star.scm, calling.scm,
channel.scm, common-list.scm, debug.scm, debugger.scm,
  expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm,
  null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm,
  q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm,
  safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm,
  syncase.scm, threads.scm: Move module the system directives
  `export', `export-syntax', `re-export' and `re-export-syntax'
  into the `define-module' form.  This is the recommended way of
  exporting bindings.
2001-10-18 19:41:08 +00:00
Mikael Djurfeldt
39819fa9e4 * boot-9.scm (process-define-module): New options: :export-syntax,
:re-export-syntax
2001-10-17 12:02:13 +00:00
Mikael Djurfeldt
8fbad2cd60 * boot-9.scm (process-define-module): New options: :export-syntax,
:re-export-syntax
2001-10-17 11:59:34 +00:00
Mikael Djurfeldt
3c82843a38 * read.c (scm_lreadr): When user-defined hash procedure returns
SCM_UNSPECIFIED: Fall back to standard handling instead of raising
an exception.  (This prevents parsing of uniform vectors from
interfering with parsing of numbers.)

* arrays.scm (read:uniform-vector): Return *unspecified* instead
of raising an exception if hash extend character isn't followed by
the array list. (This prevents parsing of uniform vectors from
interfering with parsing of numbers.)
2001-10-15 11:21:47 +00:00
Gary Houston
81abe9e3a3 * version.c (scm_version): use sprintf instead of snprintf,
for portability.  thanks to Bill Schottstaedt.
2001-10-14 21:30:02 +00:00
Gary Houston
8186c4f536 * version.c (scm_version): use sprintf instead of snprintf,
for portability.  thanks to Bill Schottstaedt.
2001-10-14 21:28:23 +00:00
Gary Houston
075bd0bd22 * configure.in: include sys/types.h when testing uint32_t.
thanks to Bill Schottstaedt.
2001-10-14 21:24:26 +00:00
Gary Houston
4f522b6f5c * configure.in: include sys/types.h when testing uint32_t.
thanks to Bill Schottstaedt.
2001-10-14 21:21:20 +00:00
Marius Vollmer
20ee940d8a Added Michael Carmack. 2001-10-14 20:15:23 +00:00
Marius Vollmer
dba1190aed Added Michael Carmack. Removed "Chris Cramer" since he is already
listed as "Christopher".
2001-10-14 20:15:07 +00:00
Marius Vollmer
ee4de8aee3 *** empty log message *** 2001-10-14 20:12:08 +00:00
Marius Vollmer
6473f64d31 (EXTRA_libguile_la_SOURCES): Added "mkstemp.c". 2001-10-14 20:11:44 +00:00
Marius Vollmer
06f2a1b82a (display_backtrace_file_and_line): Only use scm_basename when POSIX
support is compiled in.  Thanks to Chris Cramer.
2001-10-14 20:11:20 +00:00
Marius Vollmer
b3ac6e7592 Do not use an absolute path for <unistd.h> when checking for return
type of usleep.  Thanks to Michael Carmack.
2001-10-14 20:10:16 +00:00
Marius Vollmer
f84c3705f2 *** empty log message *** 2001-10-14 20:08:20 +00:00
Marius Vollmer
4874dfc849 Do not use an absolute path for <unistd.h> when checking for return
type of usleep.  Thanks to Michael Carmack.
2001-10-14 20:08:08 +00:00
Mikael Djurfeldt
89759084ab * read.c (scm_lreadr): When user-defined hash procedure returns
SCM_UNSPECIFIED: Fall back to standard handling instead of raising
an exception.  (This prevents parsing of uniform vectors from
interfering with parsing of numbers.)

* arrays.scm (read:uniform-vector): Return *unspecified* instead
of raising an exception if hash extend character isn't followed by
the array list. (This prevents parsing of uniform vectors from
interfering with parsing of numbers.)
2001-10-14 16:05:04 +00:00
Dirk Herrmann
ea6c2147b7 * tests/syntax.test: Added test cases for 'lambda' syntax. 2001-10-13 23:59:27 +00:00
Dirk Herrmann
27a226665e * tests/syntax.test: Added test cases for 'case' syntax. 2001-10-13 17:02:01 +00:00
Marius Vollmer
a8e8c20438 Thank Ken Raeburn and Chris Cramer. Removed Jim and Maciej from
maintainer list.
2001-10-13 15:43:38 +00:00
Marius Vollmer
9c7ce56302 *** empty log message *** 2001-10-13 15:42:52 +00:00