{"id":15992625,"url":"https://github.com/amdrel/mlbf","last_synced_at":"2025-04-04T23:23:51.466Z","repository":{"id":77736905,"uuid":"88709516","full_name":"Amdrel/mlbf","owner":"Amdrel","description":"An optimizing Brainfuck interpreter / compiler written in C.","archived":false,"fork":false,"pushed_at":"2018-07-09T23:07:37.000Z","size":113,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-03T11:03:08.424Z","etag":null,"topics":["brainfuck","brainfuck-interpreter","compiler","scripting-language","stdin"],"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/Amdrel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-19T06:32:48.000Z","updated_at":"2018-07-09T23:07:38.000Z","dependencies_parsed_at":"2023-05-27T09:00:49.013Z","dependency_job_id":null,"html_url":"https://github.com/Amdrel/mlbf","commit_stats":null,"previous_names":["reshurum/mlbf"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amdrel%2Fmlbf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amdrel%2Fmlbf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amdrel%2Fmlbf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amdrel%2Fmlbf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amdrel","download_url":"https://codeload.github.com/Amdrel/mlbf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247263342,"owners_count":20910392,"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","compiler","scripting-language","stdin"],"created_at":"2024-10-08T06:23:54.551Z","updated_at":"2025-04-04T23:23:51.446Z","avatar_url":"https://github.com/Amdrel.png","language":"C","readme":"# My Little Brainfuck\n\nA simple brainfuck interpreter written in C. Brainfuck is fed through stdin and\noutput is written to stdout. If you ever wanted to use brainfuck in your\nscripting environment this is the right tool for you.\n\nmlbf can also convert brainfuck to C, which can then be passed to a compiler\nand turned into native code. Depending on the optimization level used,\ncompilation may take a while; however when used with programs like\nmandlebrot.b, performance increases as much as 6x can be seen at runtime.\n\n## Why?\n\nI plan on using this on a future project and it was a excellent excuse to get\ncomfortable with C.\n\n## Security\n\nContact me at reshurum@gmail.com first for bugs that you believe are critical\nsecurity issues (buffer over-reads and the like) before reporting them in the\nissue trackers.\n\n## Changelog\n\n### Jul 02, 2018 (1.0.0)\n\n* Command-line arguments are now supported.\n* Added dump flag to output brainfuck IR to stdout.\n* Added output flag used to generate a C program from brainfuck IR.\n\n### Jul 01, 2018\n\n* Added brainfuck bytecode to C transpiler (4-6x performance increase on\naverage). This feature isn't compiled in at the moment as mlbf isn't set up\nto accept command-line flags.\n* Added copy loop optimization.\n\n### Jun 30, 2018\n\n* Added multiplication loop optimization.\n* Added clear loop optimization.\n* Added instruction contraction optimization.\n\n### Jun 20, 2018\n\n* Released a new bytecode compiler and interpreter for faster execution.\n\n### May 29, 2018\n\n* Added automated testing script.\n* Migrated from GNU Make to Meson.\n\n### May 20, 2018\n\n* Implemented the ',' instruction.\n\n### Apr 18, 2017\n\n* First limited working version finished, albeit very slow.\n\n## License\n\nCopyright (c) 2017 Walter Kuppens\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdrel%2Fmlbf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famdrel%2Fmlbf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famdrel%2Fmlbf/lists"}