2018-04-18 23:09 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:Hello,
Christopher Lemmer Webber <cwebber@dustycloud.org> skribis:
> While this is a fun idea, I'd still much rather have a guile-based
> DSL replacement for autotools type things that's standalone (but maybe
> also which can export to shell if need be).
Yeah, not depending on Guix would have pros (it’d be more widely
applicable), and cons (limited world view).
Food for thought!
Ludo’.
there' s this file guix/buid/emacs-utils.scmit contains utilities to let Emacs byte-compile elisp filesSo that' s an Emacs build system and it' s embedded in GuixMy initial idea was to do something similar with GuileBut then I tought that it could have been a stand alone packageToday in the morning I could manage to take a look at this issueI made a script that visits the file system tree of a project and compiles the .scm filesHere' s a short demo
https://www.youtube.com/watch?v=LaypeR8uw3Q
It doesn' t check the availability of dependencies (other guile packages) yetI was not sure how to achieve thatI saw that Automake generates snippets of bash scripting that try to run guile with an expression loading the required module and if that fails then the module is not availableThe same functionality could be reproduced in GuileI also saw the guildhall files that Ludo mentionedSo the thing is that the interface towards the user should be like those guildhall filesand the interface towards the system should be like the Automake oneBut, like Automake, it should only check if a Guile module is reachable on the guile load path