{"id":16009542,"url":"https://github.com/fwcd/llcurry","last_synced_at":"2026-01-21T15:32:30.275Z","repository":{"id":98825747,"uuid":"322432392","full_name":"fwcd/llcurry","owner":"fwcd","description":"Experimental ICurry to LLVM compiler","archived":false,"fork":false,"pushed_at":"2021-07-27T16:24:21.000Z","size":129,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T15:17:34.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/fwcd.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":"2020-12-17T22:56:49.000Z","updated_at":"2021-07-27T16:24:25.000Z","dependencies_parsed_at":"2023-04-28T20:02:42.611Z","dependency_job_id":null,"html_url":"https://github.com/fwcd/llcurry","commit_stats":{"total_commits":120,"total_committers":1,"mean_commits":120.0,"dds":0.0,"last_synced_commit":"2f0eda555206820ec6600eb7aef8d0da8e2c14f2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fwcd/llcurry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fllcurry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fllcurry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fllcurry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fllcurry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/llcurry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fllcurry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28635862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-08T13:02:49.758Z","updated_at":"2026-01-21T15:32:30.258Z","avatar_url":"https://github.com/fwcd.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLCurry\n\nAn experimental compiler from [ICurry](https://git.ps.informatik.uni-kiel.de/curry-packages/icurry) (`.icy`) to [LLVM IR](https://llvm.org/docs/LangRef.html) (`.ll`).\n\nThe generated LLVM IR code [interfaces](examples/llvm/runtime-interfacing.ll) with the runtime, which is [written in C](runtime/runtime.c).\n\n\u003e Note: The compiler is highly unfinished, mostly intended for experimentation and cannot correctly translate most Curry programs yet.\n\n## Prerequisites\n\n* A recent Curry compiler (e.g. [PAKCS](https://git.ps.informatik.uni-kiel.de/curry/pakcs))\n* The Curry Package Manager (included with PAKCS)\n* Clang (for compiling the runtime to LLVM IR)\n\n## Usage\n\n\u003c!-- TODO: Document how to build the runtime! --\u003e\n\nTo use this compile, first make sure to have a recent Curry compiler (e.g. PAKCS) and the Curry Package Manager (CPM) installed. Then run\n\n```bash\ncypm install\n```\n\nin this repo to install the dependencies, compile the project and place the `llcurry` executable in a central location. If your `~/.cpm/bin` folder is on your `PATH`, you can now open a directory containing a Curry source file/module and run:\n\n```\nicurry YourModule\nllcurry YourModule\n```\n\nThis will first compile the module to ICurry and then to LLVM IR. If everything went well, the resulting `YourModule.ll` file will be located in a subfolder of `.curry`.\n\n## Development\n\n### REPL\n\nFor development, it is often useful to test individual functions in the REPL. To do this, just launch\n\n```\npakcs\n```\n\n(or another Curry compiler) and load some modules, e.g.\n\n```\n:l LLCurry.IR.Example\n:add LLCurry.IR.Pretty\n:add Text.Pretty\n```\n\nNow you can, for example, output an example LLVM IR program:\n\n```curry\nputStrLn $ pPrint $ pretty helloWorldLLProg\n```\n\n### Fast Recompilation\n\nIf no dependencies have changed since your last `install`, you can recompile the program more quickly by running\n\n```\ncypm install -x\n```\n\nThis will skip the installation of package dependencies and directly compile/install `llcurry`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fllcurry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fllcurry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fllcurry/lists"}