{"id":21540100,"url":"https://github.com/detectivekaktus/brainc","last_synced_at":"2025-04-10T03:30:19.468Z","repository":{"id":247964466,"uuid":"827357589","full_name":"detectivekaktus/brainc","owner":"detectivekaktus","description":"Brainfuck x86_64 execution toolset written in pure C for Linux","archived":false,"fork":false,"pushed_at":"2024-07-27T22:32:57.000Z","size":36,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T04:43:41.189Z","etag":null,"topics":["assembly","brainfuck","c","compiler","interpreter","linux","make","nasm","nasm-assembly","toolset","x86-64"],"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/detectivekaktus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-11T13:50:56.000Z","updated_at":"2024-09-11T19:07:02.000Z","dependencies_parsed_at":"2024-07-25T19:30:17.921Z","dependency_job_id":"27c1f854-94c7-4a1f-956c-6826bed9c156","html_url":"https://github.com/detectivekaktus/brainc","commit_stats":null,"previous_names":["detectivekaktus/brainc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detectivekaktus%2Fbrainc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detectivekaktus%2Fbrainc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detectivekaktus%2Fbrainc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/detectivekaktus%2Fbrainc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/detectivekaktus","download_url":"https://codeload.github.com/detectivekaktus/brainc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248150619,"owners_count":21055955,"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":["assembly","brainfuck","c","compiler","interpreter","linux","make","nasm","nasm-assembly","toolset","x86-64"],"created_at":"2024-11-24T04:17:23.424Z","updated_at":"2025-04-10T03:30:19.412Z","avatar_url":"https://github.com/detectivekaktus.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# brainc\nBrainc is a toolset that allows you to execute brainfuck code efficiently due to its implementation written in pure C. For compilation, the toolset offers to its user only the x86-64 processor architechture; the files compiled are in *ELF64* format.\n\n## Compilation\nIt's used *GNU Make* tool and any C compiler (either gcc or clang) to compile the source code. You would also need NASM assembler. You can execute the following instruction in your terminal:\n```console\nmake\n```\n\nYou will find yourself with a new directory called `build` in the project's root folder in which you find the executable `brainc` which is the compiler itself.\n\n## Usage\nThe toolset has the following flags:\n| Flag     | Description |\n| -------- | ----------- |\n| `-h` `--help` | Outputs help information about the compiler |\n| `-v` `--version` | Outputs version of the compiler |\n| `-i` `--interpret` | Interprets the source `.bf` file |\n| `-c` `--compile` | Compiles the source `.bf` file down to ELF64 executable |\n| `-o` `--output` | Used with `-c` or `-S` flags. Compiles the source `.bf` file down to ELF64 executable with a specified name |\n| `-S` | Outputs assembly generated by the compiler |\n\n## Examples\nYou can find examples in the `examples` directory and execute them with the toolset.\n\nLinks to the examples:\n- Hello world: [Wikipedia](https://en.wikipedia.org/wiki/Brainfuck)\n- Calculator: [Dougaak/Brainfuck-Calculator](https://github.com/Dougaak/Brainfuck-Calculator/tree/master)\n\n## Contribution\nMake sure to read the [CONTRIBUTING.md](https://github.com/detectivekaktus/brainc/blob/master/CONTRIBUTING.md) file before making pull requests to this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetectivekaktus%2Fbrainc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdetectivekaktus%2Fbrainc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdetectivekaktus%2Fbrainc/lists"}