guile-devel
[Top][All Lists]
Advanced

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

Re: Running non-scheme scripts: some thoughts


From: Krister Svanlund
Subject: Re: Running non-scheme scripts: some thoughts
Date: Thu, 12 Jul 2012 00:15:46 +0200

Personally I would think that having Guile guess by extension would be the, in most cases, most reliable. Otherwise there could be problems loading several files in different languages etc.

I would think that one of the best solution would be to have a switch to execute arbitrary commands such as ,L so you would call guile with `guile --switch ",L elisp"`. The separate executables could then be done as aliases if one wanted.

On Wed, Jul 11, 2012 at 5:37 PM, Andrew Gwozdziewycz <address@hidden> wrote:
On Wed, Jul 11, 2012 at 11:31 AM, Ian Price <address@hidden> wrote:
>
> Hi,
>
> Though guile is really a multi-language vm, it does not provide a simple
> way to run scripts for languages other scheme from the command line. I
> think we should add a --language switch that takes a mandatory argument,
> and use that to determine the language.

Seems smarter to just have different executables:

    guile (and guile-scheme for completeness via hard/soft link)
    guile-elisp
    ...
    guile-LANG

That seems like it'd lead to far less confusion overall.

Andrew

--
http://www.apgwoz.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]