1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-14 05:00:24 +02:00
guile/module/ice-9
Mark H Weaver 40e92f09fc Fix error messages involving definition forms
* module/ice-9/psyntax.scm (syntax-type): Return an additional value
  that contains the entire form in _all_ cases, including for definition
  forms.  Previously, the entire form was not returned for definition
  forms.

  (expand-expr): Add an additional argument that contains the entire
  form in _all_ cases, including for definition forms.  Use it to
  include the entire form in error messages, notably for definitions in
  expression context.  Include the source location information, which
  was previously missing from these errors when the rhs expression was
  an atom.  Improve the "definition in expression context" error message
  to be more comprehensible for Scheme beginners.

  (expand-top-sequence, expand, expand-body): Adjust as needed to handle
  the additional return value from 'syntax-type' and the additional
  argument to 'expand-expr'.

* module/ice-9/psyntax-pp.scm: Regenerate.

* NEWS: Update.
2012-01-27 09:52:58 -05:00
..
and-let-star.scm
arrays.scm
binary-ports.scm Add get-string-n' and get-string-n!' for R6RS ports 2011-03-13 22:39:14 +01:00
boot-9.scm globally unique marks and labels using syntax-session-id 2012-01-26 12:08:58 +01:00
buffered-input.scm bugfixes and simplifications to ice-9 buffered-input. 2010-10-05 19:55:37 +02:00
calling.scm
ChangeLog-2008
channel.scm deprecate arity access via (procedure-properties proc 'arity) 2010-04-17 16:28:52 +02:00
command-line.scm Fix --listen option to allow other ports 2011-09-10 11:06:32 -07:00
common-list.scm
compile-psyntax.scm globally unique marks and labels using syntax-session-id 2012-01-26 12:08:58 +01:00
control.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
curried-definitions.scm fix curried definitions for value defines 2010-04-08 21:01:52 +02:00
debug.scm gut ice-9 debug 2010-07-16 17:35:43 +02:00
deprecated.scm deprecate fluid-let-syntax in favor of syntax-parameterize 2012-01-06 19:36:58 +01:00
documentation.scm remove program-name, program-documentation 2010-04-17 15:21:08 +02:00
eval-string.scm add ice-9 eval-string 2011-03-05 23:16:11 +01:00
eval.scm set names of functions defined at the toplevel from `eval' 2011-11-15 23:41:51 +01:00
expect.scm
format.scm Make `(format #f ...)' always Unicode-capable. 2011-02-08 23:14:00 +01:00
ftw.scm ftw: Add an error' parameter to file-system-fold'. 2012-01-08 16:16:21 +01:00
futures.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
gap-buffer.scm
getopt-long.scm Use default value for make-fluid in Scheme files 2011-11-23 12:54:09 +01:00
hcons.scm
history.scm Use `define-module*' in (ice-9 history). 2010-11-20 00:47:12 +01:00
i18n.scm rename libguile to libguile-@EFFECTIVE_VERSION@, currently libguile-2.0 2010-03-16 21:20:34 +01:00
lineio.scm
list.scm
local-eval.scm Implement local-eval', local-compile', and `the-environment' 2012-01-26 12:08:58 +01:00
ls.scm nested module fixen to (ice-9 ls) 2010-04-24 17:42:00 +02:00
mapping.scm
match.scm Update (ice-9 match) from Chibi-Scheme. 2011-10-16 18:36:20 +02:00
match.upstream.scm Update (ice-9 match) from Chibi-Scheme. 2011-10-16 18:36:20 +02:00
networking.scm Add `getaddrinfo' and related procedures. 2010-02-14 20:56:47 +01:00
null.scm
occam-channel.scm
optargs.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
poe.scm (ice-9 poe) does not get handles from weak hash tables 2011-05-01 23:01:13 +02:00
poll.scm ice-9/poll: verify sizeof(struct pollfd) 2011-12-04 22:45:03 +01:00
popen.scm revert 4a2ac0623c 2011-04-13 12:50:41 +02:00
posix.scm nanosecond timestamp support in stat and utime 2010-01-17 16:56:34 +01:00
pretty-print.scm Use ellipsis character in truncated pretty-print of sequences 2010-11-08 18:57:29 -08:00
psyntax-pp.scm Fix error messages involving definition forms 2012-01-27 09:52:58 -05:00
psyntax.scm Fix error messages involving definition forms 2012-01-27 09:52:58 -05:00
q.scm
quasisyntax.scm
r4rs.scm Fix call-with-input-file & relatives for multiple values 2011-05-02 23:23:51 +02:00
r5rs.scm fix some uses of %module-public-interface 2010-04-24 17:43:52 +02:00
r6rs-libraries.scm rnrs modules #:replace as appropriate 2010-06-20 23:59:57 +02:00
rdelim.scm read-delimited is clearer and conses less 2010-12-03 18:04:09 +01:00
README
receive.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
regex.scm define* in ice-9 regex 2010-07-09 17:05:24 +02:00
runq.scm
rw.scm
safe-r5rs.scm fix some uses of %module-public-interface 2010-04-24 17:43:52 +02:00
safe.scm
save-stack.scm deprecate the-last-stack 2010-06-19 13:43:33 +02:00
scm-style-repl.scm remove evaluator-traps-interface 2010-09-24 18:44:21 +02:00
serialize.scm
session.scm add an apropos-hook to ice-9 session 2011-12-12 23:42:04 +01:00
slib.scm
stack-catch.scm deprecate save-stack, stack-saved? 2010-06-19 12:57:31 +02:00
streams.scm
string-fun.scm
syncase.scm deprecated sc-expand in deprecated (ice-9 syncase) 2010-04-07 00:05:34 +02:00
test.scm Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
threads.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
time.scm
top-repl.scm Gracefully handle `setlocale' errors at the REPL. 2011-04-27 00:57:53 +02:00
vlist.scm vlist: Use (ice-9 format). 2012-01-24 10:03:02 +01:00
weak-vector.scm

This directory contains various bits of Guile Scheme code.
Most of these are packaged as modules, with foo.scm implementing
the module `(ice-9 foo)'.

The non-module files are:

boot-9.scm	-- loaded on guile startup
		   implements module system + lots of other stuff
arrays.scm	-- loaded by boot-9.scm
networking.scm	-- loaded by boot-9.scm
posix.scm	-- loaded by boot-9.scm
r4rs.scm	-- loaded by boot-9.scm