[Top][All Lists]

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

Re: Multi-language scripts

From: Matt Wette
Subject: Re: Multi-language scripts
Date: Fri, 21 Aug 2020 11:36:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 8/21/20 11:22 AM, Stephen Scheck wrote:
I'm trying to invoke `guile -s script` where script contains something like

     ,language ecmascript
     display("Hello JavaScript!\n");
     ,language scheme
     (display "Hello Guile!\n")

However, REPL meta-commands do not seem to be available when passing a
script file to Guile with the -s switch.

Does anybody know if there's any way to make it work?
Did you try `guile --language=emacscript'?

mwette$ cat zz.js

mwette$ guile --language=ecmascript zz.js

reply via email to

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