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

guile-bash

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 the latest version of guile-bash as follows:

guix install guile-bash

Or install a particular version:

guix install guile-bash@0.1.6-0.1eabc56

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.

Badge code

You can use the following badge to inform users of guile-bash about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/guile-bash'><img src='https://packages.guix.gnu.org/packages/guile-bash/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/guile-bash/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/guile-bash)

Example Org:

[[https://packages.guix.gnu.org/packages/guile-bash][https://packages.guix.gnu.org/packages/guile-bash/badges/latest-version.svg]]