{"id":26573171,"url":"https://github.com/db7/callseq","last_synced_at":"2025-06-26T18:32:21.477Z","repository":{"id":283468327,"uuid":"951844813","full_name":"db7/callseq","owner":"db7","description":"Experimental callback sequencer for CHICKEN Scheme","archived":false,"fork":false,"pushed_at":"2025-03-20T12:11:50.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T12:33:35.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/db7.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":"2025-03-20T10:32:50.000Z","updated_at":"2025-03-20T12:32:50.000Z","dependencies_parsed_at":"2025-03-21T14:05:29.295Z","dependency_job_id":null,"html_url":"https://github.com/db7/callseq","commit_stats":null,"previous_names":["db7/callseq"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/db7/callseq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db7%2Fcallseq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db7%2Fcallseq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db7%2Fcallseq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db7%2Fcallseq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/db7","download_url":"https://codeload.github.com/db7/callseq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/db7%2Fcallseq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262122867,"owners_count":23262487,"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":"2025-03-23T00:38:55.451Z","updated_at":"2025-06-26T18:32:21.385Z","avatar_url":"https://github.com/db7.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Experimental callback sequencer for CHICKEN Scheme\n\nInstall the package\n\n    chicken-install callseq\n\nThen define the functions you want to make external:\n\n```\n(import (chicken platform)\n        callseq)\n\n(define-sequenced-callback (foo (int a)) int\n                           (* a a))\n(return-to-host)\n```\n\nWe expect CHICKEN to be embedded into some C program, so you have to return to\nhost after loading the module.\n\nCHICKEN is initialized via `callseq_init()`, after that you can call\nthe external function:\n\n```\n#include \u003cchicken.h\u003e\n#include \u003cstdio.h\u003e\n\nvoid callseq_init(void);\nint foo(int a);\n\nint main() {\n  callseq_init();\n  int x = 4;\n  int y = foo(x);\n  printf(\"(foo x) = (foo %d) = %d\\n\", x, y);\n  return 0;\n}\n```\n\nSee `example/` directory and `bench/` directory.\n\n# License\n\nFiles in vendor/ contain license information in each file. The remainder of this\nrepository is distributed under 0-clause BSD license (see LICENSE file).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdb7%2Fcallseq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdb7%2Fcallseq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdb7%2Fcallseq/lists"}