{"id":13782942,"url":"https://github.com/liquidev/microbf","last_synced_at":"2025-03-13T18:45:48.569Z","repository":{"id":117500034,"uuid":"171036417","full_name":"liquidev/microbf","owner":"liquidev","description":"A small, optimizing Brainfuck interpreter","archived":false,"fork":false,"pushed_at":"2019-07-13T13:31:50.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-03T11:03:05.905Z","etag":null,"topics":["brainfuck-compiler","brainfuck-interpreter"],"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/liquidev.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}},"created_at":"2019-02-16T18:22:14.000Z","updated_at":"2019-07-13T13:42:59.000Z","dependencies_parsed_at":"2024-01-07T23:08:42.340Z","dependency_job_id":"3f8b53cd-86f0-4917-ae4b-2f31a8d3a6a8","html_url":"https://github.com/liquidev/microbf","commit_stats":null,"previous_names":["liquid600pgm/microbf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fmicrobf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fmicrobf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fmicrobf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidev%2Fmicrobf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidev","download_url":"https://codeload.github.com/liquidev/microbf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243464717,"owners_count":20295290,"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-compiler","brainfuck-interpreter"],"created_at":"2024-08-03T18:01:48.670Z","updated_at":"2025-03-13T18:45:48.523Z","avatar_url":"https://github.com/liquidev.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# microbf\nA small, optimizing Brainfuck interpreter.\n\n## Usage\nTo use the microbf interpreter, simply execute it:\n```\n./ubf\n```\nIt will read from the standard input until it hits an EOF (`^D` on Linux,\n\u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eZ\u003c/kbd\u003e on Windows), and interpret the input.\n\n## Compiling\nTo compile microbf, you'll need a C compiler and Meson.\n```bash\nmeson build\nninja -C build\n```\nlibubf and ubfrun will be built to `build/meson-out`.\n\n## Embedding\nmicrobf can be embedded to create a custom REPL, debugger, or something, but it\ndoesn't have any modularity or application embedding capabilities.\nNot yet, at least.\n```c\n#include \u003cubf_brainfuck.h\u003e\n\nint main(void) {\n  // To create a VM, use:\n  ubf_vm_t *vm = ubf_init_vm();\n  // To interpret code, use:\n  ubf_interpret(vm, \"+++++[\u003e+++++\u003c-]\");\n  // After you're done with the VM, don't forget to release its memory:\n  ubf_free_vm(vm);\n\n  return 0;\n}\n```\n\n## Contributing\nFeel free to contribute to the microbf project. If you find any missing\nfeatures or bugs, submit an issue or open a pull request.\n\n## Implementation details\nIf you want some background on microbf's internal architecture, read\n[this document](docs/implementation.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidev%2Fmicrobf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidev%2Fmicrobf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidev%2Fmicrobf/lists"}