{"id":13782769,"url":"https://github.com/ahorn/bf-interpreter","last_synced_at":"2026-01-19T14:35:02.695Z","repository":{"id":138586035,"uuid":"1846169","full_name":"ahorn/bf-interpreter","owner":"ahorn","description":"BF virtual machine written in C","archived":false,"fork":false,"pushed_at":"2013-12-01T19:10:23.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T15:34:33.344Z","etag":null,"topics":[],"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/ahorn.png","metadata":{"files":{"readme":"README","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}},"created_at":"2011-06-04T08:58:51.000Z","updated_at":"2013-12-01T20:39:53.000Z","dependencies_parsed_at":"2023-03-13T10:53:39.288Z","dependency_job_id":null,"html_url":"https://github.com/ahorn/bf-interpreter","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/ahorn%2Fbf-interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahorn%2Fbf-interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahorn%2Fbf-interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahorn%2Fbf-interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahorn","download_url":"https://codeload.github.com/ahorn/bf-interpreter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213838097,"owners_count":15645778,"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":[],"created_at":"2024-08-03T18:01:44.030Z","updated_at":"2026-01-19T14:35:02.688Z","avatar_url":"https://github.com/ahorn.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"License:      GPL\nAuthor:       A. Horn\nDescription:  BF virtual machine written in C\nInstallation: sudo make install\n\nBF commands:\n\n  \u003e   increment the data pointer (to point to the next cell to the right).\n  \u003c   decrement the data pointer (to point to the next cell to the left).\n  +   increment (increase by one) the byte at the data pointer.\n  -   decrement (decrease by one) the byte at the data pointer.\n  .   output the value of the byte at the data pointer.\n  ,   accept one byte of input, storing its value in the byte at the data pointer.\n  [   if the byte at the data pointer is zero, then instead of moving the instruction\n      pointer forward to the next command, jump it forward to the command after\n      the matching ] command*.\n  ]   if the byte at the data pointer is nonzero, then instead of moving the instruction\n      pointer forward to the next command, jump it back to the command after the\n      matching [ command*.\n\nExample:\n\n+++++ +++++             // initialize counter (cell #0) to 10\n[                       // use loop to set the next four cells to 70/100/30/10\n    \u003e +++++ ++          //    add  7 to cell #1\n    \u003e +++++ +++++       //    add 10 to cell #2 \n    \u003e +++               //    add  3 to cell #3\n    \u003e +                 //    add  1 to cell #4\n    \u003c\u003c\u003c\u003c -              //    decrement counter (cell #0)\n]                       //\n\u003e ++ .                  // print 'H'\n\u003e + .                   // print 'e'\n+++++ ++ .              // print 'l'\n.                       // print 'l'\n+++ .                   // print 'o'\n\u003e ++ .                  // print ' '\n\u003c\u003c +++++ +++++ +++++ .  // print 'W'\n\u003e .                     // print 'o'\n+++ .                   // print 'r'\n----- - .               // print 'l'\n----- --- .             // print 'd'\n\u003e + .                   // print '!'\n\u003e .                     // print '\\n'\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahorn%2Fbf-interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahorn%2Fbf-interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahorn%2Fbf-interpreter/lists"}