{"id":16879483,"url":"https://github.com/purefunctor/corefn","last_synced_at":"2026-04-24T23:34:50.893Z","repository":{"id":110140908,"uuid":"419050024","full_name":"purefunctor/corefn","owner":"purefunctor","description":"CoreFn is an extensible JSON-based representation for functional languages based on lambda calculus.","archived":false,"fork":false,"pushed_at":"2021-10-19T18:40:05.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T23:06:00.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dhall","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/purefunctor.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2021-10-19T18:39:55.000Z","updated_at":"2021-10-19T18:41:23.000Z","dependencies_parsed_at":"2023-04-13T09:32:27.580Z","dependency_job_id":null,"html_url":"https://github.com/purefunctor/corefn","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"87148ac292884315f98458a97000cca66fc41951"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/purefunctor/corefn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fcorefn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fcorefn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fcorefn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fcorefn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purefunctor","download_url":"https://codeload.github.com/purefunctor/corefn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purefunctor%2Fcorefn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T15:54:35.187Z","updated_at":"2026-04-24T23:34:50.874Z","avatar_url":"https://github.com/purefunctor.png","language":"Dhall","funding_links":[],"categories":[],"sub_categories":[],"readme":"* CoreFn\nCoreFn is a minimal, extensible, malleable, JSON-based representation for functional languages based on\nlambda calculus. It aims to provide the following use-cases:\n\n+ An optimizing intermediate representation that can generate code for various high-level targets\n  like Node.js or Scheme.\n+ An easy-to-use representation for implementing language tools like documentation generators or\n  rich REPL environments.\n\n* Questions\nI can't name this section \"Frequently Asked Questions\" yet because there's no such questions, but\nhere's some that might come up:\n\n** CoreFn as in PureScript's CoreFn?\nThis project is inspired primarily by [[https://github.com/purescript/purescript][PureScript]]'s internal ~CoreFn~ representation which allows\ndifferent backends to be implemented fairly easily. However, this project only aims to provide a\nfrontend for the representation and its targets, not a full-blown compiler suite.\n\n** High-Level Targets?\nGiven that CoreFn is essentially lambda-calculus-in-JSON, the easiest languages to target would be\nthose that are heavily expression-based like modern JavaScript, various LISP flavors, or Erlang.\n\n** Module System?\nCoreFn aims to provide a target-agnostic module system that avoids problems such as dependency\ncycles between modules. CoreFn files are considered as distinct modules, and they can refer to other\nCoreFn files to signify imports.\n\n** Why PureScript?\nI decided to implement CoreFn in PureScript particularly because of its simplicity and the fact that\nit compiles to JavaScript, which is practically portable in all platforms. However, I also encourage\nimplementing CoreFn in other languages for reasons such as performance or just language support.\n\n** Stability?\nThere's no guarantee that the canonical implementation (i.e. this project) will be stable in the\nnear future, as this is a hobby project. However, once it grows to a reasonable size, I'll start\ndiverting more focus to the project to hopefully pick up adoption.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurefunctor%2Fcorefn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurefunctor%2Fcorefn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurefunctor%2Fcorefn/lists"}