* run compiled (*.go) file from command line?
@ 2020-11-18 0:08 Tim Meehan
2020-11-18 0:44 ` Matt Wette
0 siblings, 1 reply; 2+ messages in thread
From: Tim Meehan @ 2020-11-18 0:08 UTC (permalink / raw)
To: guile-user
Is it possible to run a compiled file from the command line with "guile"?
I'm assuming that it was compiled with something like:
guild compile --output=whatever.go whatever.scm
Or is it possible to just make an executable file out of "whatever.scm"?
Thx
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: run compiled (*.go) file from command line?
2020-11-18 0:08 run compiled (*.go) file from command line? Tim Meehan
@ 2020-11-18 0:44 ` Matt Wette
0 siblings, 0 replies; 2+ messages in thread
From: Matt Wette @ 2020-11-18 0:44 UTC (permalink / raw)
To: guile-user
On 11/17/20 4:08 PM, Tim Meehan wrote:
> Is it possible to run a compiled file from the command line with "guile"?
> I'm assuming that it was compiled with something like:
> guild compile --output=whatever.go whatever.scm
>
> Or is it possible to just make an executable file out of "whatever.scm"?
>
> Thx
$ cat hello.scm
(display "hello, world\n")
$ guild compile -o hello.go hello.scm
wrote `hello.go'
$ guile -c '(load-compiled "hello.go")'
hello, world
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-18 0:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18 0:08 run compiled (*.go) file from command line? Tim Meehan
2020-11-18 0:44 ` Matt Wette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).