{"id":13782923,"url":"https://github.com/mkotha/bfi","last_synced_at":"2025-05-11T16:33:33.024Z","repository":{"id":11745641,"uuid":"14274758","full_name":"mkotha/bfi","owner":"mkotha","description":"A brainfuck interpreter on the C preprocessor","archived":false,"fork":false,"pushed_at":"2013-11-27T11:51:48.000Z","size":146,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T18:32:15.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkotha.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"copying.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-10T10:51:19.000Z","updated_at":"2024-04-06T05:41:53.000Z","dependencies_parsed_at":"2022-09-10T17:21:03.954Z","dependency_job_id":null,"html_url":"https://github.com/mkotha/bfi","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/mkotha%2Fbfi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkotha%2Fbfi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkotha%2Fbfi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkotha%2Fbfi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkotha","download_url":"https://codeload.github.com/mkotha/bfi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253596028,"owners_count":21933496,"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:48.163Z","updated_at":"2025-05-11T16:33:32.756Z","avatar_url":"https://github.com/mkotha.png","language":"C","funding_links":[],"categories":["C","Compilers/Interpreters"],"sub_categories":[],"readme":"# Brainfuck interpreter on the C Preprocessor\n\n## Usage\n\n    # include \"bfi.h\"\n    \n    BFI_RUN(\u003cbf-program\u003e, \u003cinput\u003e)\n    BFI_RUN1(\u003cbf-program\u003e)\n\nA BF program must be given in a special syntax. Replace +-\u003e\u003c.,[] in\nan ordinary BF program with x_bdwrLR, respectively. The instructions\nmust be separated with whitespaces, so that they will not be\nrecognized as a single token. In place of L and R, parentheses ( and\n) can also be used, provided that a ) never directly follows a (.\n\nAn input will be given as a sequence of bytes. Each byte is\nrepresented by a 2-digit hexadecimal with lowercase letters.\nCharacters are encoded in ASCII.\n\nExample:\n\n    BFI_RUN(r (w (_) r), 0x61 0x62 0x63) /* =\u003e abc */\n\nLetters, numbers and underscores can be written directly in an input\nsequence. Pairs of parentheses can also be used, privided that the\ncontent is not empty. There are some additional shorthands such as\n0comma for comma and 0_n for the newline character. See lex.h for\ndetail.\n\nExample:\n\n    BFI_RUN(r (w (_) r), a b c (F 0comma 0space G) ) /* =\u003e abc(F, G) */\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkotha%2Fbfi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkotha%2Fbfi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkotha%2Fbfi/lists"}