{"id":25694091,"url":"https://github.com/srvariable/brainfuckinterpreter","last_synced_at":"2025-09-09T21:55:48.162Z","repository":{"id":216427509,"uuid":"741289559","full_name":"SrVariable/BrainfuckInterpreter","owner":"SrVariable","description":"Interpreter for the esoteric language Brainfuck made in C","archived":false,"fork":false,"pushed_at":"2024-01-10T06:07:48.000Z","size":7,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T23:50:15.627Z","etag":null,"topics":["brainfuck","brainfuck-interpreter","c"],"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/SrVariable.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2024-01-10T04:49:45.000Z","updated_at":"2024-01-10T06:03:53.000Z","dependencies_parsed_at":"2024-01-10T07:25:45.265Z","dependency_job_id":"a6ccf8d3-0865-49fe-a28e-e2b5257461fb","html_url":"https://github.com/SrVariable/BrainfuckInterpreter","commit_stats":null,"previous_names":["srvariable/brainfuckinterpreter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SrVariable/BrainfuckInterpreter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrVariable%2FBrainfuckInterpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrVariable%2FBrainfuckInterpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrVariable%2FBrainfuckInterpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrVariable%2FBrainfuckInterpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SrVariable","download_url":"https://codeload.github.com/SrVariable/BrainfuckInterpreter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SrVariable%2FBrainfuckInterpreter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274367808,"owners_count":25272302,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","c"],"created_at":"2025-02-24T23:50:10.971Z","updated_at":"2025-09-09T21:55:48.090Z","avatar_url":"https://github.com/SrVariable.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brainfuck Interpreter\n\n## Description\n\nInterpreter for the esoteric language [Brainfuck](https://en.wikipedia.org/wiki/Brainfuck) made in C.\n\n## Requirements\ngcc (My version is 11.4.0)\n\n```Shell\nsudo apt update \u0026\u0026 sudo apt install build-essential\n```\n\n## Usage\n\nClone the repository and go inside the folder\n\n```Shell\ngit clone https://github.com/SrVariable/BFInterpreter.git \u0026\u0026 cd BFInterpreter\n```\n\nCompile the program:\n\n```Shell\ngcc -Wall -Wextra -Werror -pedantic -std=c11 main.c -o bfinterpreter\n```\n\nRun the program giving the brainfuck file.\n\n```Shell\n./bfinterpreter helloworld.bf\n```\n\n## Examples\n\n### Hello World\n\n\u003e [!TIP]\n\u003e\n\u003e Having the ASCII table will help you to understand the values.\n\n```Brainfuck\n++++++++++ Increase the value of the pointer by 10 (ptr plus 0) = 10\n[ Begin of the scope of the loop\nIt will end when the value of the pointer (ptr plus 0) is 0\n\n    \u003e Increase the pointer by 1 (ptr plus 1)\n    +++++++ Increate the value of the pointer by 7\n    \u003e Increase the pointer by 1  (ptr plus 2)\n    ++++++++++ Increase the value of the pointer by 10\n    \u003e Increase the pointer by 1 (ptr plus 3)\n    +++ Increase the value of the pointer by 3\n    \u003e Increase the pointer by 1 (ptr plus 4)\n    + Increase the value of the pointer by 1\n    \u003c\u003c\u003c\u003c Decrease the pointer by 3 (ptr plus 0)\n    - Decrease the value of the pointer by 1\n\n] End of the scope of the loop\nNow the values are:\n(ptr plus 0) = 0\n(ptr plus 1) = 70\n(ptr plus 2) = 100\n(ptr plus 3) = 30\n(ptr plus 4) = 10\n\n\u003e Increase the pointer by 1 (ptr plus 1)\n++ Increase the value of the pointer by 2 (ptr plus 1)\n. Print the value of the pointer which is H\n\u003e Increase the pointer by 1 (ptr plus 2)\n+ Increase the value of the pointer by 1 (ptr plus 2) = e\n. Print the value of the pointer which is e\n+++++++ Increase the value of the pointer by 7 (ptr plus 2) = l\n.. Print the value of the pointer twice which is l\n+++ Increase the value of the pointer by 3 (ptr plus 2) = o\n. Print the value of the pointer which is o\n\u003e Increase the pointer by 1 (ptr plus 3)\n++ Increase the value of the pointer by 2\n. Print the value of the pointer which is a space\n\u003c\u003c Decrease the pointer by 2 (ptr plus 1)\n+++++++++++++++ Increase the value of the pointer by 15\n. Print the value of the pointer which is W\n\u003e Increase the pointer by 1 (ptr plus 2)\n. Print the value of the pointer which is o\n+++ Increase the value of the pointer by 3\n. Print the value of the pointer which is r\n------ Decrease the value of the pointer by 6\n. Print the value of the pointer which is l\n-------- Decrease the value of the pointer by 8\n. Print the value of the pointer which is d\n\u003e\u003e Increase the value of the pointer by 2\n. Print the value of the pointer which is \\n\n```\n\nOutput:\n\n```\nHello World\\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvariable%2Fbrainfuckinterpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrvariable%2Fbrainfuckinterpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrvariable%2Fbrainfuckinterpreter/lists"}