tarao/LambdaJS
An interpreter of Lambda calculus written in JavaScript and working with JavaScript syntax.
{ "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"}LambdaJS
Section titled “LambdaJS”![Screenshot]!(./LambdaJS.gif)
LambdaJS is an interpreter of Lambda calculus written in JavaScript. It accepts terms of Lambda calculus written in JavaScript syntax.
Supported browsers and known issues
Section titled “Supported browsers and known issues”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.
Features
Section titled “Features”- 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
Key bindings on the console
Section titled “Key bindings on the console”| Key | Action |
|---|---|
Enter | run |
Ctrl+L | clear the screen |
Ctrl+P, Up arrow | previous input |
Ctrl+N, Down arrow | next input |
\ | input ‘&lambda’; |