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



Reply via email to