{"id":19382609,"url":"https://github.com/marklagodych/brainstorm","last_synced_at":"2026-06-13T04:31:40.734Z","repository":{"id":119761001,"uuid":"309146918","full_name":"MarkLagodych/Brainstorm","owner":"MarkLagodych","description":"An optimized and extended Brainfuck interpreter","archived":false,"fork":false,"pushed_at":"2020-11-01T17:19:05.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T17:14:39.723Z","etag":null,"topics":["brainfuck","brainstorm","characters","cpp","optimization"],"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/MarkLagodych.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-01T17:12:35.000Z","updated_at":"2023-07-23T09:44:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9c83add-d398-4f70-bffa-5a11d342c4ea","html_url":"https://github.com/MarkLagodych/Brainstorm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarkLagodych/Brainstorm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkLagodych%2FBrainstorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkLagodych%2FBrainstorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkLagodych%2FBrainstorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkLagodych%2FBrainstorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarkLagodych","download_url":"https://codeload.github.com/MarkLagodych/Brainstorm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarkLagodych%2FBrainstorm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34272603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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","brainstorm","characters","cpp","optimization"],"created_at":"2024-11-10T09:22:26.372Z","updated_at":"2026-06-13T04:31:40.713Z","avatar_url":"https://github.com/MarkLagodych.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brainstorm\n## An optimized and extended Brainfuck interpreter\nBrainstorm is an easy-to-use library for fast executing an extended version of Brainfuck.\nLinks:\n- https://en.wikipedia.org/wiki/Brainfuck \n- https://esolangs.org/wiki/Brainfuck \n\nSome optimization ideas:\n- https://habr.com/ru/post/321630/\n\n## Usage\n\nBuild: `make`\n\nRun: `./bin/brainstorm.exe path/to/script.txt`\n\n# Syntax\n**+ - . , \u003c \u003e [ ]**  do the same things as in Brainfuck.\nAny non-command symbols are ignored.\n\nNew:\n- **`!`** -- works like . but prints the numeric value of current cell;\n- **`?`** -- works like , but prompts a number to current cell;\n- **`%...%`** -- comment; everything is ignored inside. Example: `+ %+% +` increments current cell only 2 times;\n- **`$`** and **`\u0026`** -- virtual console switches; `$` enters console mode and `\u0026` exits the mode.\n\nIn virtual console mode all characters are put/got from the command line. After printing a null character to command line, all printed text is treated as command.\n\nBuilt-in commands:\n- `fread x` -- puts contents of file x to the cmd line; a terminating null character is put at the end\n- `fwrite x \"d\"` -- puts d into file x; the double quotes are required and can not be escaped\n- `color f b` -- changes console color; f is foreground color; b is background color. Available colors:\n    - black\n    - red\n    - green\n    - yellow\n    - blue\n    - magenta\n    - cyan\n    - white\n    \n  On Windows OS also these colors are available:\n    - darkblue\n    - darkgreen\n    - darkcyan\n    - darkred\n    - darkmagenta\n    - darkyellow\n    - grey\n    - darkgrey\n\n\n## Example program\n```\n% This Brainstorm program writes \"Hello, world!\" into result.txt %\n$  % switch to command line mode %\n% fwrite result.txt \"Hello, world!\"\\0 %\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n++++++++++++++++++++++++++++++++++++.+++++++++++++++++.-----.-----\n----.+++++++++++.---------------.---------------------------------\n------------------------------------.+++++++++++++++++++++++++++++\n+++++++++++++++++++++++++++++++++++++++++++++++++++++.------------\n-.++++++++++++++.++.---------.++++++++.---------------------------\n-------------------------------------------.++++++++++++++++++++++\n++++++++++++++++++++++++++++++++++++++++++++++++.++++.----.-------\n------------------------------------------------------------------\n-----------.++.++++++++++++++++++++++++++++++++++++++.++++++++++++\n+++++++++++++++++.+++++++..+++.-----------------------------------\n--------------------------------.------------.++++++++++++++++++++\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n+.--------.+++.------.--------.-----------------------------------\n--------------------------------.+.[-].\n\u0026  % switch to console mode %\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarklagodych%2Fbrainstorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarklagodych%2Fbrainstorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarklagodych%2Fbrainstorm/lists"}