{"id":20704176,"url":"https://github.com/solidsnack/coproc","last_synced_at":"2026-04-27T05:34:13.005Z","repository":{"id":66073453,"uuid":"6332164","full_name":"solidsnack/coproc","owner":"solidsnack","description":"Coroutine interfaces for interpreters, like Bash and Sh.","archived":false,"fork":false,"pushed_at":"2015-01-14T23:05:28.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-25T17:10:32.108Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solidsnack.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-10-22T09:03:40.000Z","updated_at":"2020-03-10T03:47:01.000Z","dependencies_parsed_at":"2023-02-19T22:15:39.191Z","dependency_job_id":null,"html_url":"https://github.com/solidsnack/coproc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solidsnack/coproc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fcoproc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fcoproc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fcoproc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fcoproc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidsnack","download_url":"https://codeload.github.com/solidsnack/coproc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidsnack%2Fcoproc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32324548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-17T01:11:17.359Z","updated_at":"2026-04-27T05:34:12.959Z","avatar_url":"https://github.com/solidsnack.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nA coroutine interface for interactive interpreters. One use case is extracting\nshell function definitions from source relying on the Bash's parser:\n\n  ghci\u003e import System.Posix.CoProc\n  ghci\u003e b \u003c- start Bash\n    b :: Session Bash\n  ghci\u003e print b\n    Session pid=30591 interpreter=bash [lock] [handles]\n    it :: ()\n  ghci\u003e query b \"function echo_x { echo x ;}\"\n    (\"\",\"\")\n    it :: (ByteString, ByteString)\n  ghci\u003e query b \"declare -F\"\n    (\"declare -f echo_x\\n\",\"\")\n    it :: (ByteString, ByteString)\n  ghci\u003e query b \"declare -f echo_x\"\n    (\"echo_x () \\n{ \\n    echo x\\n}\\n\",\"\")\n    it :: (ByteString, ByteString)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidsnack%2Fcoproc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidsnack%2Fcoproc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidsnack%2Fcoproc/lists"}