Visual Lambda Calculus
If you're familiar with Lambda calculus - here you can play with lambda terms in bubble notation.
Project main page: https://github.com/bntre/visual-lambda
Controls
Zoom View: Mouse Wheel, +/-
Move View: Middle mouse button, Arrows
Select, drag an item: Left mouse button
Apply one item to another: Drag and drop
Also, refer to the tips (or read controls.txt)
You can use the browser console to add items, save, and load workspaces:
> function vl(...args) { document.getElementById("game_drop").contentWindow.postMessage(args, "*") } > vl('addItem', "MULT 2 (\\f x. f (f x))") > vl('clearWorkspace') > vl('saveWorkspace', "combinators3") > vl('loadWorkspace', "combinators3")
Predefined lambda terms: library.txt
Status | Released |
Platforms | HTML5 |
Author | Torec Studio |
Genre | Educational |
Made with | pygame |
Tags | lambda, lambda-calculus, Math, Minimalist, pygame-wasm, pygbag, Visualization |
Code license | GNU Lesser General Public License v3.0 (LGPL) |
Average session | A few minutes |
Inputs | Keyboard, Mouse |
Links | Source code |
Comments
Log in with itch.io to leave a comment.
really cool! the circles are tricky to understand at first but once you start to get used to them it's cool to see them do their thing.
why is there no download button?
I thought the only geek who would want to download would go to github
ok