3 ms·
I wonder why it is not in Guile? I thought one of the selling points of Guix was one config language to rule them all. Or is it some syntactic sugar on top
by arianvanp 7y ago
I wonder why it is not in Guile? I thought one of the selling points of Guix was one config language to rule them all. Or is it some syntactic sugar on top of Guile? It's not clear. The page doesn't really explain the syntax clearly anywhere so I'm a bit confused.
- Sean1708 7y ago> Processes and workflows are composed using a domain specific language embedded in the general purpose language Scheme. They can be executed in order with the guix workflow command. So I guess it's just a set of macros for Guile (which I believe is a Scheme implementation, or contains a Scheme implementation, or something like that...).
- jimhefferon 7y agoGuile is an implementation of Scheme that supports Revised^5 and a good chunk of Revised^6.
- leethargo 7y agoI think it is actually in Guile. Even though there are not parens in sight, this is a whitespace-based syntax for Scheme. I don't have a reference at hand now, but I vaguely remember such a comment from the FOSDEM presentation.
- serhart 7y agoIt is implemented in Guile. The language is just syntactic sugar via macros and utilizes WISP. https://git.savannah.gnu.org/cgit/gwl.git/tree/gwl/sugar.scm https://git.savannah.gnu.org/cgit/gwl.git/tree/gwl/sugar.scm https://srfi.schemers.org/srfi-119/srfi-119.html https://srfi.schemers.org/srfi-119/srfi-119.html