{"id":25418880,"url":"https://github.com/lukad/bf","last_synced_at":"2025-10-31T09:31:44.381Z","repository":{"id":57479598,"uuid":"78294835","full_name":"lukad/bf","owner":"lukad","description":"bf is a Brainfuck interpreter written in Elixir.","archived":false,"fork":false,"pushed_at":"2019-08-19T18:25:38.000Z","size":63,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T03:11:19.071Z","etag":null,"topics":["brainfuck","elixir","interpreter"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/lukad.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}},"created_at":"2017-01-07T18:02:10.000Z","updated_at":"2021-09-02T06:58:51.000Z","dependencies_parsed_at":"2022-09-17T05:02:45.799Z","dependency_job_id":null,"html_url":"https://github.com/lukad/bf","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukad%2Fbf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukad%2Fbf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukad%2Fbf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukad%2Fbf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukad","download_url":"https://codeload.github.com/lukad/bf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239174923,"owners_count":19594681,"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","elixir","interpreter"],"created_at":"2025-02-16T18:28:23.778Z","updated_at":"2025-10-31T09:31:43.637Z","avatar_url":"https://github.com/lukad.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bf\n\n`bf` is a simple [Brainfuck](https://esolangs.org/wiki/brainfuck) interpreter written in Elixir.\n\n## Documentation\n\nDocumentation for the latest release is availabe at [hexdocs.pm](https://hexdocs.pm/bf).\n\n## Installation\n\nAutomatic installation with mix:\n\n```bash\nmix escript.install bf\n```\n\nManual installation\n\n```bash\ngit clone https://github.com/lukad/bf.git\ncd bf\nMIX_ENV=prod mix do escript.build, escript.install\n```\n\n## Usage\n\n```bash\n$ cat \u003c\u003cEOF\u003e hello.bf\n+++++ +++++             initialize counter (cell #0) to 10\n[                       use loop to set the next four cells to 70/100/30/10\n    \u003e +++++ ++              add  7 to cell #1\n    \u003e +++++ +++++           add 10 to cell #2\n    \u003e +++                   add  3 to cell #3\n    \u003e +                     add  1 to cell #4\n    \u003c\u003c\u003c\u003c -                  decrement counter (cell #0)\n]\n\u003e ++ .                  print 'H'\n\u003e + .                   print 'e'\n+++++ ++ .              print 'l'\n.                       print 'l'\n+++ .                   print 'o'\n\u003e ++ .                  print ' '\n\u003c\u003c +++++ +++++ +++++ .  print 'W'\n\u003e .                     print 'o'\n+++ .                   print 'r'\n----- - .               print 'l'\n----- --- .             print 'd'\n\u003e + .                   print '!'\n\u003e .                     print '\\n'\nEOF\n\n$ bf hello.bf\nHello World!\n```\n\n## Interpreter Info\n\n* Cells are 8 bits wide\n* Cells wrap around 256\n  * `255 + 1 = 0`\n  * `0 - 1 = 255`\n* The tape is 30000 cells large\n* The tape pointer wraps around 30000\n* '0' on STDIN signals EOF\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukad%2Fbf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukad%2Fbf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukad%2Fbf/lists"}