unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* guile Amalgamation
@ 2022-09-26 21:25 Andy Tai
  0 siblings, 0 replies; only message in thread
From: Andy Tai @ 2022-09-26 21:25 UTC (permalink / raw)
  To: guile-devel

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-26 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 21:25 guile Amalgamation Andy Tai

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).