λ Bubble Pop!

Or, Lambda The Ultimate Bubble Wrap

Ever thought that LISP sexps were like little bubbles of computation, waiting to be popped to reveal their evaluated center? No? You will now! Click on the bubbles to pop them, pop them all to complete the computation! It's the satisfaction of popping bubble wrap, combined with the satisfaction of really elegant functional programming!

If you want to use functions other than the ones that have been defined, you can add them to the Bubble Mix at the bottom of the page.

Note: Like λ Lessons, this project uses a subset of Haskell that only supports integers and lists (it also uses LISP style parentheses, as you'll notice if you edit any of the bubbles). I'm working on adding support for more rich types (or at least Booleans and Strings). You can check out the Peg.js file if you're interested in taking a crack at it.