unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Andy Tai <atai@atai.org>
To: guile-devel@gnu.org
Subject: guile Amalgamation
Date: Mon, 26 Sep 2022 14:25:21 -0700	[thread overview]
Message-ID: <CAJsg1E9SP_w-85Ri8Lo40bb7uCyTmJuFZGmNDVwiGW=oKt2YTg@mail.gmail.com> (raw)

Is it possible for guile to have a "Amalgamation" form?

I am thinking of something like
Sqlite Amalgamation  https://www.sqlite.org/amalgamation.html

with that you have a single .c file and can build guile with a single command

gcc -o guile guile-amalgamation.c

This would be useful to be able to obtain an guile executable without
any build tool on any system, which can be then used to implement
software engineering tools like autotools or meson, for example.
Software tools can be written in guile instead of, say, tcl or python.

This guile may contain just a subset of the standard guile (say
without the full numerical tower or some libraries, or jit compiler
(say if someday gcc jit is integrated with the standard guile)  but
may be useful for its intended usage context.

One would expect guile-amalgamation.c  to be an possible output from
the standard ./configure && make && make install step of the standard
guile distribution, so it can be customized for specific machines
letting the configure step doing its normal thing.



                 reply	other threads:[~2022-09-26 21:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAJsg1E9SP_w-85Ri8Lo40bb7uCyTmJuFZGmNDVwiGW=oKt2YTg@mail.gmail.com' \
    --to=atai@atai.org \
    --cc=guile-devel@gnu.org \
    /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).