[r6rs-discuss] [Formal] "#! /usr/bin/env" is not "portable." It's Unix-specific.
Alan Watson wrote:
> Sorry if I wasn't clear, but my question was not tongue in cheek. It was
> a rhetorical question giving an example of why using the term "script"
> and the #! notation is a bad idea for something that is not necessarily
> a script (in the widely understood sense of something that is read into
> a translator in source form and executed immediately).
It may be worth noting that one difference between the case for C and
for Scheme is that all the Scheme compilers which currently aim for R5RS
compliance (and some that don't) also include "interpreters" that are
capable of executing a source file without requiring a separate compile
step. So the degree of applicability of the notion of scripts is far
greater across all relevant Schemes, than it is for most C implementations.
That said, I agree that the "ignore first line" semantics may not be the
best possible compromise.
Anton
Received on Wed Nov 15 2006 - 15:22:25 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:00 UTC