{"id":20128911,"url":"https://github.com/wenyuzhao/lambda","last_synced_at":"2025-10-18T21:17:30.241Z","repository":{"id":87826803,"uuid":"91052566","full_name":"wenyuzhao/Lambda","owner":"wenyuzhao","description":"Lambda calculus interpreter in OCaml","archived":false,"fork":false,"pushed_at":"2017-09-26T07:03:06.000Z","size":10,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T18:06:02.482Z","etag":null,"topics":["lambda-calculus","ocaml"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wenyuzhao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-12T04:48:58.000Z","updated_at":"2023-05-03T23:32:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"0820cccb-186e-4946-a940-452a43e31ed4","html_url":"https://github.com/wenyuzhao/Lambda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2FLambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2FLambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2FLambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wenyuzhao%2FLambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wenyuzhao","download_url":"https://codeload.github.com/wenyuzhao/Lambda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248063946,"owners_count":21041854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lambda-calculus","ocaml"],"created_at":"2024-11-13T20:30:31.031Z","updated_at":"2025-10-18T21:17:30.155Z","avatar_url":"https://github.com/wenyuzhao.png","language":"OCaml","readme":"# λ\n\n[Lambda calculus](https://en.wikipedia.org/wiki/Lambda_calculus) interpreter in OCaml\n\n## Build\n\n`make`\n\n## Usage\n\n`./lambda.byte test.lambda`\n\n## Example: 1 + 1 = 2\n\n```\n(λm.λn.λf.λx.m f (n f x)) (λf.λx.f x) (λf.λx.f x)\n= (λn.λf2.λx2.(λf.λx.f x) f2 (n f2 x2)) (λf.λx.f x)\n= λf2.λx2.(λf3.λx3.f3 x3) f2 ((λf.λx.f x) f2 x2)\n= λf2.λx2.(λx3.f2 x3) ((λx.f2 x) x2)\n= λf2.λx2.f2 ((λx.f2 x) x2)\n= λf2.λx2.f2 (f2 x2)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenyuzhao%2Flambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwenyuzhao%2Flambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenyuzhao%2Flambda/lists"}