The gulcii package

[Tags:gpl, program]

GULCII is an untyped lambda calculus interpreter supporting interactive modification of a running program with graphical display of graph reduction.

There are three variants of lambda abstraction: lazy, strict, and copy:

> x . f x x -- x is evaluated lazily with sharing > x ! f x x -- x is evaluated strictly and shared > x ? f x x -- x is copied before any evaluation

There is additional syntax sugar for natural numbers and lists, using http://en.wikipedia.org/wiki/Mogensen%E2%80%93Scott_encoding#Scott_encoding:

> [0,1,2,3]

There is a small standard library based loosely around the Haskell Prelude, with additions geared towards MIDI generation for live-coding music, implemented using a mechanism similar to Debug.Trace.trace:

> x y . { print : x } y

Quick start:

 gulcii
 :load mars
 main
 :quit

If you have Pure-data and Timidity, try:

 timidity -iA -Oj &
 pd -alsamidi ~/.cabal/share/gulcii-0.2.0.3/extra/fudi2midi.pd &
 gulcii | pdsend 8765

See also: live-sequencer which has many more features (but no sharing during evaluation).

Properties

Versions 0.2.0.1, 0.2.0.3
Dependencies base (>=3 && <6), cairo (>=0.11 && <0.14), containers (>=0.3 && <0.6), filepath (>=1.1 && <1.4), gtk (>=0.11 && <0.14) [details]
License GPL-2
Author Claude Heiland-Allen
Maintainer claude@mathr.co.uk
Stability Unknown
Category Sound, Music, GUI
Home page http://code.mathr.co.uk/gulcii
Source repository head: git clone http://code.mathr.co.uk/gulcii.git
this: git clone http://code.mathr.co.uk/gulcii.git(tag v0.2.0.3)
Uploaded Mon Mar 9 15:51:57 UTC 2015 by ClaudeHeilandAllen
Distributions NixOS:0.2.0.3
Downloads 434 total (4 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
Last success reported on 2015-05-19 [all 5 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees