Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 695 Bytes

File metadata and controls

47 lines (36 loc) · 695 Bytes

Untyped Lambda-calculus

The untyped Lambda-calculus is a universal notation for defining partial-recursive functions.

Syntax

{
    "lang": "lambda",
    "ast": <expression>
}

The ast represents an expression, which may be one of the following:

  • Variable
  • Abstraction
  • Application

Variable

{
    "kind": "variable",
    "name": <string>
}

Abstraction

{
    "kind": "abstraction",
    "parameter": <string>,
    "body": <expression>
}

Application

{
    "kind": "application",
    "operator": <expression>,
    "operand": <expression>
}