unofficial mirror of 
 help / color / mirror / Atom feed
From: Matt Wette <>
Subject: Re: run compiled (*.go) file from command line?
Date: Tue, 17 Nov 2020 16:44:55 -0800
Message-ID: <> (raw)
In-Reply-To: <>

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	other threads:[~2020-11-18  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-18  0:08 Tim Meehan
2020-11-18  0:44 ` Matt Wette [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

unofficial mirror of 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror guile-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-user guile-user/ \
	public-inbox-index guile-user

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git