Skip to content
vic

tarao/LambdaJS

An interpreter of Lambda calculus written in JavaScript and working with JavaScript syntax.

tarao/LambdaJS.json
{
"createdAt": "2010-03-19T10:49:55Z",
"defaultBranch": "master",
"description": "An interpreter of Lambda calculus written in JavaScript and working with JavaScript syntax.",
"fullName": "tarao/LambdaJS",
"homepage": "https://tarao.github.io/LambdaJS",
"language": "JavaScript",
"name": "LambdaJS",
"pushedAt": "2018-10-07T08:40:15Z",
"stargazersCount": 47,
"topics": [
"evaluator",
"javascript",
"lambda-calculus",
"tutorial"
],
"updatedAt": "2024-08-08T15:42:09Z",
"url": "https://github.com/tarao/LambdaJS"
}

![Screenshot]!(./LambdaJS.gif)

LambdaJS is an interpreter of Lambda calculus written in JavaScript. It accepts terms of Lambda calculus written in JavaScript syntax.

The latest version of Google Chrome or Firefox is recommended.

It should work on IE, Safari and Opera but less tested on these browsers. There were some minor issues on old versions of IE and Opera.

  • Written in JavaScript and no need for server-side execution
  • Visualizes reduction steps
  • Allows users to choose evaluation strategy
  • Accepts syntax of Lambda calculus, JavaScript or mixture of both
KeyAction
Enterrun
Ctrl+Lclear the screen
Ctrl+P, Up arrowprevious input
Ctrl+N, Down arrownext input
\input ‘&lambda’;

See https://tarao.github.io/LambdaJS .