From: Matt Wette <matt.wette@gmail.com>
To: "Tommi Höynälänmaa" <tommi.hoynalanmaa@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: How to run objcode files
Date: Sat, 29 Jul 2017 06:08:13 -0700 [thread overview]
Message-ID: <A3BA18D9-358F-48A6-9683-7B059EFF7C15@gmail.com> (raw)
In-Reply-To: <97e4514e-180d-2f80-d0f0-4436f58e9832@gmail.com>
> On Jul 28, 2017, at 8:48 AM, Tommi Höynälänmaa <tommi.hoynalanmaa@gmail.com> wrote:
>
> Hi
>
> How can I run guile objcode files from the command line? So far I have made Scheme wrapper scripts that call load-compiled to load the .go files.
>
> - Tommi Höynälänmaa
>
Not sure what you are looking to do but I can do this:
mwette$ cat hello.scm
(define (hello) (display "hello, world\n"))
mwette$ guild compile hello.scm -o hello.go
wrote `hello.go'
mwette$ guile --no-auto-compile -c '(load-compiled "hello.go") (hello)'
hello, world
prev parent reply other threads:[~2017-07-29 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 15:48 How to run objcode files Tommi Höynälänmaa
2017-07-29 10:38 ` Nala Ginrut
2017-07-29 13:08 ` 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A3BA18D9-358F-48A6-9683-7B059EFF7C15@gmail.com \
--to=matt.wette@gmail.com \
--cc=guile-user@gnu.org \
--cc=tommi.hoynalanmaa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).