{"id":28146853,"url":"https://github.com/susam/bfc","last_synced_at":"2026-03-09T19:02:09.497Z","repository":{"id":3557300,"uuid":"4618538","full_name":"susam/bfc","owner":"susam","description":"Brainfuck compiler and interpreter","archived":false,"fork":false,"pushed_at":"2023-06-29T09:15:55.000Z","size":24,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-06-29T12:27:37.974Z","etag":null,"topics":["brainfuck","c","compiler","interpreter"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Homebrew/homebrew","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/susam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-06-10T21:29:51.000Z","updated_at":"2023-07-05T15:30:49.680Z","dependencies_parsed_at":"2022-07-21T10:55:04.241Z","dependency_job_id":null,"html_url":"https://github.com/susam/bfc","commit_stats":null,"previous_names":[],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susam%2Fbfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susam%2Fbfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susam%2Fbfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susam%2Fbfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/susam","download_url":"https://codeload.github.com/susam/bfc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254243312,"owners_count":22038048,"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":["brainfuck","c","compiler","interpreter"],"created_at":"2025-05-14T23:14:45.975Z","updated_at":"2026-03-09T19:02:04.464Z","avatar_url":"https://github.com/susam.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Brainfuck Compiler and Interpreter\n==================================\n\n`bfc` is a Brainfuck compiler and interpreter. The compiler compiles\nBrainfuck source code to C code and builds the C code into a binary\nexecutable file. The interpreter reads Brainfuck source code and\nexecutes it immediately without compiling it.\n\nBrainfuck is an esoteric programming language with only eight\ncommands. More information on the language, its commands, and sample\nprograms can be found in the following Wikipedia article:\n\u003chttp://en.wikipedia.org/wiki/Brainfuck\u003e.\n\n\nGet Started\n-----------\n\nIf there is a C compiler available on a Unix or Linux system, the\neasiest way to build and install this project is:\n\n```sh\nmake\nsudo make install\n```\n\nThen this project may be run as follows:\n\n```sh\necho '++++++++[\u003e++++++++\u003c-]\u003e+.[-]++++++++++.' \u003e a.bf\nbfc a.bf \u0026\u0026 ./a\nbfi a.bf\n```\n\nThe command `bfc` is the compiler that compiles the Brainfuck source\ncode into a binary executable. The command `bfi` is the interpreter\nthat interprets and runs the Brain program immediately. The `bfc` and\n`bfi` commands above should each print the letter `A` followed by a\nnewline.\n\nFor usage details, enter one of the following commands:\n\n```sh\nbfc --help\nbfi --help\nman bfc\n```\n\nNote that the binaries `bfc` and `bfi` are identical. When `bfc` or\n`bfi` is run, the running process first checks its own process name.\nIf it turns out to be `bfi` it runs in interpreter mode. Otherwise, it\nruns in compiler mode. Also, note that `bfi` is equivalent to `bfc\n-i`, so while the `bfc` command without the `-i` option runs in\ncompiler mode, the `bfc -i` and `bfi` commands run in interpreter\nmode.\n\n\nLicense\n-------\n\nThis is free and open source software. You can use, copy, modify,\nmerge, publish, distribute, sublicense, and/or sell copies of it,\nunder the terms of the MIT License. See [LICENSE.md][L] for details.\n\nThis software is provided \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nexpress or implied. See [LICENSE.md][L] for details.\n\n[L]: LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusam%2Fbfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsusam%2Fbfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusam%2Fbfc/lists"}