Last active
May 31, 2020 19:15
-
-
Save josephcsible/3cf0fd579fc52c1012c6c909b02236cf to your computer and use it in GitHub Desktop.
Lambda calculus syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Var ::= [a-zA-Z]+ | |
; | |
PrimaryTerm ::= Var | |
| '(' Term ')' | |
; | |
ApplyTerm ::= PrimaryTerm | |
| ApplyTerm PrimaryTerm | |
; | |
Term ::= ApplyTerm | |
| 'λ' Var '.' Term | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment