{"id":20029267,"url":"https://github.com/mathialo/interactive-brainfuck","last_synced_at":"2025-03-02T05:14:05.299Z","repository":{"id":62570119,"uuid":"159488848","full_name":"mathialo/interactive-brainfuck","owner":"mathialo","description":"An interactive BrainFuck interpreter","archived":false,"fork":false,"pushed_at":"2018-11-29T10:47:18.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T17:38:34.542Z","etag":null,"topics":["brainfuck","brainfuck-interpreter","brainfuck-repl","bython","python","repl"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mathialo.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":"2018-11-28T11:06:26.000Z","updated_at":"2024-03-25T17:11:22.000Z","dependencies_parsed_at":"2022-11-03T17:15:35.973Z","dependency_job_id":null,"html_url":"https://github.com/mathialo/interactive-brainfuck","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/mathialo%2Finteractive-brainfuck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathialo%2Finteractive-brainfuck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathialo%2Finteractive-brainfuck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathialo%2Finteractive-brainfuck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathialo","download_url":"https://codeload.github.com/mathialo/interactive-brainfuck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460185,"owners_count":19966519,"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","brainfuck-interpreter","brainfuck-repl","bython","python","repl"],"created_at":"2024-11-13T09:19:30.693Z","updated_at":"2025-03-02T05:14:05.282Z","avatar_url":"https://github.com/mathialo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interactive BrainFuck\nAn interactive BrainFuck interpreter written in Bython. Why not?\n\n### Installation\nYou can install `ibf` from PyPI with `pip` (with or without `sudo -H`, depending\non your Python installation):\n\n``` bash\n$ pip3 install ibf\n```\n\nOr, if you want the latest version, you can build `ibf` from source yourself.\nNote that you need a working installation of\n[Bython](https://github.com/mathialo/bython#Installation) to do this. To install\nfrom source, you must first build the Bython source into a Python package:\n\n``` bash\n$ make build\n```\n\nThen, you move to the `python` folder, and run the setup script:\n\n``` bash\n$ cd python\n$ sudo -H pip3 install .\n```\n\nAlternatively, `make install` should do all of the above steps automatically. \n\n\n### Quick intro\n\nAfter installation, you run an interactive session with the `ibf` command:\n```\n$ ibf \nInteractive BrainFuck - ibf v0.1\n\nibf is licensed under the permissive MIT license. Full license and\ncopyright information is available at the project's GitHub repository.\n\n[Input] +[-------\u003e++\u003c]\u003e-.------------.--[---\u003e+\u003c]\u003e--.+.+++[-\u003e+++\u003c]\u003e.+++++++++++++.[--\u003e+++++\u003c]\u003e+++.[--\u003e+++++++\u003c]\u003e.++.---.------------.-[---\u003e+\u003c]\u003e----.+++[-\u003e+++\u003c]\u003e++.--[---\u003e+\u003c]\u003e--.+.-----------.+++++.-------------.--[---\u003e+\u003c]\u003e-.-----.+++.\u003e++++++++++.\nmaster procrastinator\n```\n\nEverything you input is interpreted as BrainFuck code, except for the following\nreserved keywords:\n\n| Command    | Description                                                                       |\n|------------|-----------------------------------------------------------------------------------|\n| tape       | Prints the current status of the tape (data cells), with the current cell in bold |\n| pos        | Prints the current position on the tape                                           |\n| quit       | Quits the session                                                                 |\n| run \u003cfile\u003e | Run code from a file                                                              |\n\n\nYou can also run prewritten BrainFuck code, either as a standalone program, or\nin an interactive session:\n```\n$ ibf test.bf\nHello World!\n$ ibf \nInteractive BrainFuck - ibf v0.1\n\nibf is licensed under the permissive MIT license. Full license and\ncopyright information is available at the project's GitHub repository.\n\n[Input] run test.bf\nHello World!\n```\n\nThe `run` command always runs programs _inline_, ie the code is run on the\ncurrent tape and with the current tape position as starting position. Thus,\nafter running a program you can inspect the final state of the tape:\n\n```\n[Input] tape\n 0 1  2   3  4  5  6 7 8\n 0 0 72 100 87 33 10 0 0\n```\n\n\nFor more help, type `ibf -h` or view the manual page by running `man ibf`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathialo%2Finteractive-brainfuck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathialo%2Finteractive-brainfuck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathialo%2Finteractive-brainfuck/lists"}