{"id":20611103,"url":"https://github.com/acutmore/prog-lang-play","last_synced_at":"2026-04-22T07:33:43.137Z","repository":{"id":70227843,"uuid":"117474215","full_name":"acutmore/prog-lang-play","owner":"acutmore","description":"toy compiler that outputs lambda calculus style JavaScript","archived":false,"fork":false,"pushed_at":"2018-09-06T21:22:32.000Z","size":922,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T03:29:44.364Z","etag":null,"topics":["compiler","lambda-calculus","programming-language"],"latest_commit_sha":null,"homepage":"https://acutmore.github.io/prog-lang-play/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acutmore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-01-14T23:01:24.000Z","updated_at":"2024-12-08T22:57:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cbf9e68-a33e-483c-a009-827c0bf5a8cc","html_url":"https://github.com/acutmore/prog-lang-play","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/acutmore%2Fprog-lang-play","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acutmore%2Fprog-lang-play/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acutmore%2Fprog-lang-play/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acutmore%2Fprog-lang-play/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acutmore","download_url":"https://codeload.github.com/acutmore/prog-lang-play/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242259942,"owners_count":20098429,"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":["compiler","lambda-calculus","programming-language"],"created_at":"2024-11-16T10:19:03.475Z","updated_at":"2026-04-22T07:33:43.106Z","avatar_url":"https://github.com/acutmore.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# prog-lang-play\n\nA place where I can play around with implementing programming languages\n\nhttps://acutmore.github.io/prog-lang-play/\n\n# 'lc-rust' directory\n\nCurrently implements a 'lamba calculus based language' to 'javascript' transpiler written in Rust. [Originally implemented in Javascript](https://github.com/acutmore/prog-lang-play/blob/9656699caf15e3bb010e67ca239423c0427f7ee1/lc/index.js#L14).\n\nTo build a loadable [WASM](https://webassembly.org) file:\n\n```bash\n# requires rust to be installed\ncd lc-rust\n./build-wasm.sh\n```\n\nTo run a REPL:\n\n```js\nnode ./lc-rust/repl.js\nloading...\nready\n\u003e 0\nf =\u003e x =\u003e x\n\u003e 1\nf =\u003e x =\u003e f(x)\n\u003e let identity = \\x.x in identity 2\n(identity =\u003e identity(f =\u003e x =\u003e f(f(x))))(x =\u003e x)\n\u003e\n```\n\n# 'GUI' directory\n\nA basic website which allows a user to enter 'lc', see the generated javascript, run the program and see the result\n\n```bash\ncd gui\nnpm install\nnpm start\nopen http://localhost:8080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facutmore%2Fprog-lang-play","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facutmore%2Fprog-lang-play","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facutmore%2Fprog-lang-play/lists"}