From 84213ce182df02c7f149ca30352c30accb4e6802 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 5 Mar 2024 00:49:05 +0100 Subject: mobile?! --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script.js') diff --git a/script.js b/script.js index 6e412b6..62154b5 100644 --- a/script.js +++ b/script.js @@ -291,7 +291,7 @@ window.popupClose.addEventListener("click", () => { window.help.addEventListener("click", () => { message( - "Every box on the side panel is a term of pure lambda calculus with de Bruijn indices. By dragging boxes into the left canvas you can apply them on each other. Two colliding boxes beta-reduce and form a new term. The dropped term is always on the right side of the application.

Once you have a new term, you can merge it with others or right-click the box to give the term a name.

You start with the combinators S and K. If correctly combined, they can generate any term of lambda calculus. Since lambda calculus is Turing complete, you can theoretically execute any computation just by using drag'n'drop!

As a challenge, try to find the Church numeral zero as well as its addition and multiplication functions. Applying two Church numerals will result in exponentiation!

Have fun!
If you enjoy this, you might also like bruijn.

Credits: Idea from neal.fun, logos from feathericons.", + "Every box on the side panel is a term of pure lambda calculus with de Bruijn indices. By dragging boxes into the left canvas you can apply them to each other. Two colliding boxes beta-reduce and form a new term. The dropped term is always on the right side of the application.

Once you have a new term, you can merge it with others or right-click/press-hold the box to give the term a name.

You start with the combinators S and K. If correctly combined, they can generate any term of lambda calculus. Since lambda calculus is Turing complete, you can theoretically execute any computation just by using drag'n'drop!

As a challenge, try to find the Church numeral zero as well as its addition and multiplication functions. Applying two Church numerals will result in exponentiation!

Have fun!
If you enjoy this, you might also like bruijn.

Credits: Idea from neal.fun, logos from feathericons.", ); }); -- cgit v1.2.3