[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable." It's Unix-specific.
Anton van Straaten wrote:
> Jens Axel S?gaard wrote:
>
>> I am not sure, but I think some Scheme implementations use the
>> syntax #!name for other stuff (keywords, optionals? - I
>> can't remember exactly)
>
>
> A number of implementations use #!optional to indicate optionals. Other
> such keywords that can be found in various Schemes include #!rest,
> #!eof, #!void, and #!null.
>
> R5.91RS codifies this practice: see section 3, page 10, second last
> paragraph before 3.1, as well as 3.2.2.
Also, guile and scsh (at least) use #! ... !# as block comments. I
think SCM uses #! as a single line comment.
Anton
Received on Wed Nov 15 2006 - 10:24:38 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:00 UTC