{"id":17382249,"url":"https://github.com/fcard/c23meta","last_synced_at":"2026-01-24T12:10:04.324Z","repository":{"id":250948414,"uuid":"835942135","full_name":"fcard/c23meta","owner":"fcard","description":"Metaprogramming exercises using c23. ","archived":false,"fork":false,"pushed_at":"2024-08-13T17:21:10.000Z","size":892,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T01:32:52.748Z","etag":null,"topics":["c","c23","cpreprocessor","metaprogramming"],"latest_commit_sha":null,"homepage":"","language":"C","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/fcard.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":"2024-07-30T20:47:19.000Z","updated_at":"2025-02-10T23:59:44.000Z","dependencies_parsed_at":"2024-08-13T20:44:06.563Z","dependency_job_id":null,"html_url":"https://github.com/fcard/c23meta","commit_stats":null,"previous_names":["fcard/c23meta"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fcard/c23meta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcard%2Fc23meta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcard%2Fc23meta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcard%2Fc23meta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcard%2Fc23meta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fcard","download_url":"https://codeload.github.com/fcard/c23meta/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fcard%2Fc23meta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28727391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"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":["c","c23","cpreprocessor","metaprogramming"],"created_at":"2024-10-16T07:35:58.397Z","updated_at":"2026-01-24T12:10:04.307Z","avatar_url":"https://github.com/fcard.png","language":"C","readme":"# C23META\n## Experiments with c23's preprocessor\n\nImplements numeric computation and collections using only the C Preprocessor.\n\n```c\n#include \"numbers/numbers.h\"\n#include \"collections/list/list.h\"\n\n#define FACTORIAL(N)\\\n  LIST_FOLDL(U128H_MUL,\\\n    LIST_MAP(U128H_FROM_U32H,\\\n      LIST_RANGE(U32H_1, N)), U128H_1)\n\n#define S(X) STRING(U128H_PRINT(X))\n\nint main(void) {\n  printf(\"%s\\n\", S(FACTORIAL(U32H_1)));\n  printf(\"%s\\n\", S(FACTORIAL(U32H_5)));\n  printf(\"%s\\n\", S(FACTORIAL(U32H_10)));\n  printf(\"%s\\n\", S(FACTORIAL(U32H_15)));\n  printf(\"%s\\n\", S(FACTORIAL(U32H_20)));\n  printf(\"%s\\n\", S(FACTORIAL(U32H_30)));\n}\n```\n```\n1\n120\n3628800\n1307674368000\n2432902008176640000\n265252859812191058636308480000000\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcard%2Fc23meta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffcard%2Fc23meta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffcard%2Fc23meta/lists"}