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
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
[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
_
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)
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
[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
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
[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
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