[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] command-line



On Thu, Apr 5, 2012 at 4:18 AM, Aaron W. Hsu <arcfide@x> wrote:
> On Wed, 2012-04-04 at 15:12 -0400, Noah Lavine wrote:
>> I think you want to write to a mailing list of scheme implementors,
>> not this list. I don't know if one of those exists. Does anyone else
>> know of a list like that?
>
> comp.lang.scheme might be of some use, or one of the UNIX specific
> newsgroups might have some sort of information.
>
> I know that you can get the argv[0] from the environment, but without
> being tied somehow to the program execution, it is not apparent to me
> whether COMMAND-LINE even makes sense.  That is, I am imagining an
> embedded Scheme that runs as the scripting language of some other
> application. Here one might not have explicit access to the argv
> structure, but then would it even make senses to populate the
> COMMAND-LINE with anything?

Exactly.  Chibi implements command-line as a parameter.
When running a Chibi script this gets set to the value of
argv, but when using Chibi as an embedded library it is left
as null (unless the calling program decides to set it).

-- 
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports