{"id":19297313,"url":"https://github.com/benjojo/c2bf","last_synced_at":"2026-02-06T16:36:40.800Z","repository":{"id":15475032,"uuid":"18208507","full_name":"benjojo/c2bf","owner":"benjojo","description":"C2BF is a C compiler targeting brainfuck, written by the twisted mind of Gregor Richards.","archived":false,"fork":false,"pushed_at":"2023-04-19T08:19:40.000Z","size":185,"stargazers_count":35,"open_issues_count":2,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-18T21:38:43.903Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benjojo.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2014-03-28T10:24:07.000Z","updated_at":"2025-03-13T18:30:53.000Z","dependencies_parsed_at":"2024-11-09T23:02:16.696Z","dependency_job_id":"f018862a-5540-4348-b8a4-a8e5299484ae","html_url":"https://github.com/benjojo/c2bf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjojo%2Fc2bf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjojo%2Fc2bf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjojo%2Fc2bf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjojo%2Fc2bf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjojo","download_url":"https://codeload.github.com/benjojo/c2bf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250214994,"owners_count":21393706,"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-11-09T23:01:51.284Z","updated_at":"2026-02-06T16:36:40.750Z","avatar_url":"https://github.com/benjojo.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"C2BF is a C compiler targeting brainfuck, written by the twisted mind of Gregor\nRichards.\n\nLike most compilers, C2BF involves a multi-step procedure. Basically, input .c\nfiles are turned into .o files using c2bf-cc. Then, those .o files are linked\nusing c2bf-ld. The output binary can be stripped, and the bitwidth can be\nmodified, by c2bf-strip and c2bf-1to*bit, respectively.\n\nNot all of C is supported yet, but I'm working on it. And you could be too!\nNext time c2bf-cc tells you that there's an undefined generation, define it in\ncc/genbf/\u003cgeneration\u003e.c :)\n\nBut overall, enjoy. This is a ridiculous project with no real purpose, so just\nhave some fun with it. Maybe take the abstract syntax tree generation and port\nthe genration to a different esolang. Maybe change the algorithms to be more\nefficient. Or maybe write the most incredible BF program ever written.\n\nOK, not that last one. That's totally cheating. And we'll be able to tell :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjojo%2Fc2bf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjojo%2Fc2bf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjojo%2Fc2bf/lists"}