{"id":16981260,"url":"https://github.com/herrhotzenplotz/lc","last_synced_at":"2025-03-21T23:28:00.726Z","repository":{"id":114274322,"uuid":"250565487","full_name":"herrhotzenplotz/lc","owner":"herrhotzenplotz","description":"Untyped Lambda Calculus Interpreter in Haskell","archived":false,"fork":false,"pushed_at":"2020-06-22T05:14:21.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T17:47:35.800Z","etag":null,"topics":["haskell","haskell-application","interpreter","lambda-calculus"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/herrhotzenplotz.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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":"2020-03-27T15:06:24.000Z","updated_at":"2023-11-07T12:54:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd988cef-58f1-4261-ada8-e353dfd94b79","html_url":"https://github.com/herrhotzenplotz/lc","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"3457bd3d948a60b7509780ba27a074b4406f2b67"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrhotzenplotz%2Flc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrhotzenplotz%2Flc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrhotzenplotz%2Flc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrhotzenplotz%2Flc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herrhotzenplotz","download_url":"https://codeload.github.com/herrhotzenplotz/lc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244882989,"owners_count":20525948,"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":["haskell","haskell-application","interpreter","lambda-calculus"],"created_at":"2024-10-14T02:04:57.645Z","updated_at":"2025-03-21T23:28:00.704Z","avatar_url":"https://github.com/herrhotzenplotz.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Untyped lambda calculus interpreter\n\nJust something I did in my spare time.\n\n![](docs/screenshot.png)\n\n## Quick start\n\n```bash\n$ git clone git@github.com:herrhotzenplotz/lc\n$ cd lc/\n$ stack build\n$ stack run\n```\n\n## Examples to try\n\n+ `(\\x.x \\y.y)`\n+ `((\\x.\\y.(x y) \\f.f) \\r.r)`\n+ `let true = \\x.\\y.x`\n+ `let false = \\x.\\y.y`\n+ `let not = \\b.((b false) true)`\n+ `(not false)`\n+ `release true` (removes globally bound true)\n\n## Loading files\n\n```bash\n$ lc bool.lc fixpoint.lc\n```\n\n## Notes\nBecause the interpreter internally uses closures, you might sometimes\nbe getting seemingly incorrect results. These results should start\nwith a `'` sign, showing that this result still has values bound in\nthe closure, that have not yet been applied. This is the lazy\nevaluation mechanism. To force a result, simply apply an identity\nfunction or something else to force the lazy thunk to evaluate.\n\n## Contributions\n\nIf you want to submit pull requests or file issues, please feel free\nto do that. I'll address them as soon as I can.\n\n## License\n\nThe lc is released under a three clause BSD license. Please see the\nLICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrhotzenplotz%2Flc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherrhotzenplotz%2Flc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrhotzenplotz%2Flc/lists"}