Re: Block comments and `read-hash-extend'

2005-09-04 Thread Rob Browning
Marius Vollmer <[EMAIL PROTECTED]> writes: > Right now, HEAD already copes with in-line #! !# comments. We could > copy it over to 1.6... Do you think this would be OK? So the only change to 1.6 would be that #! would work in-line (where now they only work at the start of a line)? If so, then I

Re: Block comments and `read-hash-extend'

2005-09-04 Thread Marius Vollmer
Rob Browning <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Ludovic Courtès) writes: > >> Still, I don't understand the rationale behind this and I consider this >> a limitation. In fact, it's misleading compared to block comments in >> other languages or in SRFI-30. > > Unless there's a strong

Re: Block comments and `read-hash-extend'

2005-09-04 Thread Marius Vollmer
[EMAIL PROTECTED] (Ludovic Courtès) writes: > Comments? Your patch has the problem that it breaks things like (+ 2 2 #! 2 !#) We can still support the #! read-hash extension, of course, which I think is a good idea. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _

Re: Block comments and `read-hash-extend'

2005-08-19 Thread Ludovic Courtès
The patch below (<[EMAIL PROTECTED]>) also failed to live through the summer. ;-) Is it acceptable? Thanks, Ludovic. [EMAIL PROTECTED] (Ludovic Courtès) writes: > Hi, > > The patch below (1) fixes `#! ... !#' block comments and (2) allows to > override them with `read-hash-extend'. > > > (1)

Re: Block comments and `read-hash-extend'

2005-07-04 Thread Neil Jerram
Ludovic Courtès wrote: > Hi, > > Kevin Ryde <[EMAIL PROTECTED]> writes: > > >>The manual says the !# is supposed to appear on a line on its own. Do >>you think you need it joined on? > > > I think I should have read the manual more carefully. ;-) Indeed, `!#' > needs to be on a line on its

Re: Block comments and `read-hash-extend'

2005-06-17 Thread Rob Browning
[EMAIL PROTECTED] (Ludovic Courtès) writes: > Still, I don't understand the rationale behind this and I consider this > a limitation. In fact, it's misleading compared to block comments in > other languages or in SRFI-30. Unless there's a strong counterargument, I'd like to see #| |# work in-lin

Re: Block comments and `read-hash-extend'

2005-06-17 Thread Ludovic Courtès
Hi, Kevin Ryde <[EMAIL PROTECTED]> writes: > The manual says the !# is supposed to appear on a line on its own. Do > you think you need it joined on? I think I should have read the manual more carefully. ;-) Indeed, `!#' needs to be on a line on its own, so the bug I described above is not an

Re: Block comments and `read-hash-extend'

2005-06-16 Thread Kevin Ryde
[EMAIL PROTECTED] (Ludovic Courtès) writes: > > (1) This example makes Guile 1.6 and the current Guile 1.7 hang (for > some reason which I did not track down): > >guile> #! this is a comment !# (+ 2 2) >[wait forever] You mean it reads more input? >guile> #! this is

Block comments and `read-hash-extend'

2005-06-16 Thread Ludovic Courtès
Hi, The patch below (1) fixes `#! ... !#' block comments and (2) allows to override them with `read-hash-extend'. (1) This example makes Guile 1.6 and the current Guile 1.7 hang (for some reason which I did not track down): guile> #! this is a comment !# (+ 2 2) [wait foreve