This package browser is in early development. Mind the rough edges.

guile-bash 0.1.6-0.1eabc56

Extend Bash using Guile

Guile-Bash provides a shared library and set of Guile modules, allowing you to extend Bash in Scheme. Scheme interfaces allow you to access the following aspects of Bash:

  • aliases;

  • setting and getting Bash variables;

  • creating dynamic variables;

  • creating Bash functions with a Scheme implementation;

  • reader macro for output capturing;

  • reader macro for evaluating raw Bash commands.

To enable it, run:

enable -f ~/.guix-profile/lib/bash/libguile-bash.so scm

and then run scm example.scm.

Installation

Install guile-bash 0.1.6-0.1eabc56 as follows:

guix install guile-bash@0.1.6-0.1eabc56

Or install the latest version:

guix install guile-bash

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.