guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile Amalgamation


From: Andy Tai
Subject: guile Amalgamation
Date: Mon, 26 Sep 2022 14:25:21 -0700

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 via email to

[Prev in Thread] Current Thread [Next in Thread]