add reader support for #; #` #' #, and #,@. fix bug in compile-and-load.
authorAndy Wingo <wingo@pobox.com>
Thu, 28 May 2009 12:49:33 +0000 (14:49 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 28 May 2009 12:49:33 +0000 (14:49 +0200)
commit34f3d47df9311852ba7eab6f8d1c36535c3774dd
tree33c2baca5f47ca2dd894c30122753dca90eb7b9e
parent560b9c256d9cd5f80dead6ddb0d747a21c6c003a
add reader support for #; #` #' #, and #,@. fix bug in compile-and-load.

* libguile/read.c (flush_ws, scm_read_commented_expression)
  (scm_read_sharp): Add support for commenting out expressions with #;.
  (scm_read_syntax, scm_read_sharp): Add support for #', #`, #, and #,@.

* module/ice-9/boot-9.scm: Remove #' read-hash extension, which actually
  didn't do anything at all. It's been there since 1997, but no Guile
  code I've ever seen uses it, and it conflicts with #'x => (syntax x)
  from modern Scheme.

* module/system/base/compile.scm (compile-and-load): Whoops, fix a number
  of bugs here.
libguile/read.c
module/ice-9/boot-9.scm
module/system/base/compile.scm