{"id":13436149,"url":"https://github.com/agda/agda2hs","last_synced_at":"2025-05-12T14:33:21.335Z","repository":{"id":40350945,"uuid":"305718320","full_name":"agda/agda2hs","owner":"agda","description":"Compiling Agda code to readable Haskell","archived":false,"fork":false,"pushed_at":"2025-05-12T14:00:38.000Z","size":5415,"stargazers_count":187,"open_issues_count":74,"forks_count":41,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-05-12T14:33:14.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://agda.github.io/agda2hs","language":"Agda","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agda.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,"zenodo":null}},"created_at":"2020-10-20T13:32:51.000Z","updated_at":"2025-05-12T13:42:17.000Z","dependencies_parsed_at":"2023-10-22T10:37:59.996Z","dependency_job_id":"2bf5b703-38e8-47b8-afd6-bcc98b1c984d","html_url":"https://github.com/agda/agda2hs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fagda2hs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fagda2hs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fagda2hs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fagda2hs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agda","download_url":"https://codeload.github.com/agda/agda2hs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253755517,"owners_count":21959025,"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":[],"created_at":"2024-07-31T03:00:44.735Z","updated_at":"2025-05-12T14:33:21.303Z","avatar_url":"https://github.com/agda.png","language":"Agda","funding_links":[],"categories":["Agda"],"sub_categories":[],"readme":"[![GitHub CI](https://github.com/agda/agda2hs/workflows/CI/badge.svg)](https://github.com/agda/agda2hs/actions)\n\n# agda2hs\n\nAgda2hs is a tool for producing verified and readable Haskell code by extracting\nit from a (lightly annotated) Agda program. The goal of this project is *not* to\ntranslate arbitrary Agda code to Haskell. Rather it is to carve out a common\nsublanguage between Agda and Haskell, with a straightforward translation from\nthe Agda side to the Haskell side. This lets you write your program in the Agda\nfragment, using full Agda to prove properties about it, and then translate it to\nnice looking readable Haskell code that you can show your Haskell colleagues\nwithout shame.\n\n## Documentation\n\nDocumentation can be viewed at https://agda.github.io/agda2hs. You can also find\nexamples in the `test` directory of this repository, in particular the file\n[Test.agda](https://github.com/agda/agda2hs/blob/master/test/Test.agda). The\ndocumentation is a work in progress, so if you have been using agda2hs and want\nto contribute in some way, adding documentation or examples would be very\nwelcome.\n\nagda2hs was introduced in the Haskell Symposium '22 paper [Reasonable Agda is\nCorrect Haskell: Writing Verified Haskell using\nagda2hs](https://jesper.sikanda.be/files/reasonable-agda-is-correct-haskell.pdf).\n\n## Future work\n\nCurrently agda2hs is under active development, please take a look at\nthe [issue tracker](https://github.com/agda/agda2hs/issues). If you\nhave a suggestion for a new feature that is not yet on the issue\ntracker, you are welcome to create a new issue or a PR. Feature\nrequests should be of the form \"Add support for Haskell feature X\",\n*not* \"Add support for Agda feature Y\" (see \"Objective\" above). If you\nwant to compile arbitrary Agda code to Haskell, you are advised to use\nAgda's built-in GHC backend instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagda%2Fagda2hs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagda%2Fagda2hs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagda%2Fagda2hs/lists"}