{"id":13782748,"url":"https://github.com/macmade/BrainDead","last_synced_at":"2025-05-11T16:32:31.450Z","repository":{"id":140399839,"uuid":"1545953","full_name":"macmade/BrainDead","owner":"macmade","description":"BrainDead is an interpreter for the BrainFuck programming language, written in C, that can be run in interactive or non-interactive mode.","archived":false,"fork":false,"pushed_at":"2021-08-02T18:04:30.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-02T00:14:30.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/macmade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2011-03-30T12:20:30.000Z","updated_at":"2021-08-02T18:04:34.000Z","dependencies_parsed_at":"2024-04-24T12:59:49.701Z","dependency_job_id":"f8ceb7e9-6724-45d4-bead-259aa5199277","html_url":"https://github.com/macmade/BrainDead","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/macmade%2FBrainDead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2FBrainDead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2FBrainDead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2FBrainDead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macmade","download_url":"https://codeload.github.com/macmade/BrainDead/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213838092,"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:43.395Z","updated_at":"2024-08-03T18:10:48.098Z","avatar_url":"https://github.com/macmade.png","language":"C","funding_links":["https://patreon.com/macmade","https://paypal.me/xslabs"],"categories":["C"],"sub_categories":[],"readme":"BrainDead\n=========\n\n[![Build Status](https://img.shields.io/travis/macmade/BrainDead.svg?branch=master\u0026style=flat)](https://travis-ci.org/macmade/BrainDead)\n[![Issues](http://img.shields.io/github/issues/macmade/BrainDead.svg?style=flat)](https://github.com/macmade/BrainDead/issues)\n![Status](https://img.shields.io/badge/status-inactive-lightgray.svg?style=flat)\n![License](https://img.shields.io/badge/license-boost-brightgreen.svg?style=flat)\n[![Contact](https://img.shields.io/badge/contact-@macmade-blue.svg?style=flat)](https://twitter.com/macmade)  \n[![Donate-Patreon](https://img.shields.io/badge/donate-patreon-yellow.svg?style=flat)](https://patreon.com/macmade)\n[![Donate-Gratipay](https://img.shields.io/badge/donate-gratipay-yellow.svg?style=flat)](https://www.gratipay.com/macmade)\n[![Donate-Paypal](https://img.shields.io/badge/donate-paypal-yellow.svg?style=flat)](https://paypal.me/xslabs)\n\nAbout\n-----\n\nBrainDead is an interpreter for the BrainFuck programming language, written in C, that can be run in interactive or non-interactive mode.\n\nDocumentation\n-------------\n\n### Usage\n\n    braindead [OPTIONS] [TARGET]\n\nBy default, enters the interactive mode and interprets brainfuck code from stdin.  \nType `x`, `X`, `q` or `Q` to exit the interactive mode.\n\nIf `TARGET` is specified, interprets it as a brainfuck code file and displays the result on the standard output.\n\n### Code samples\n\nHere's the brainfuck code to use to print \"Hello World!\":\n\n    ++++++++++\n    [\u003e+++\u003e+++++++\u003e++++++++\u003e++++++++++\u003e+++++++++++\u003c\u003c\u003c\u003c\u003c-]\n    \u003e\u003e++.\u003e\u003e+.+++++++..\u003e+.\u003c\u003c\u003c\u003c++.\u003e\u003e+++++++.\u003e\u003e.+++.\u003c.--------.\u003c\u003c\u003c+.\n\nHere's the brainfuck code to use to create a 'cat' like command:\n     \n    ,[.,],[.,]\n\n### Examples\n\nEntering into interactive mode:\n\n    braindead\n\nRunning a brainfuck script:\n\n    braindead path/to/file\n\nRunning a brainfuck script by reading characters by characters, allocating only 2 stack cells at a time, and displaying debug informations:\n\n    braindead -drm 1 2 path/to/file\n\nRunning a brainfuck script with input from a file instead of stdin:\n\n    braindead path/to/file \u003c path/to/input/file\n\n### Available command line arguments:\n\n    -h,    boolean,    --help\n    Displays help about the command\n\n    -v,    boolean,    --version\n    Displays the version number\n\n    -l,    boolean,    --license\n    Displays the license text\n\n    -m,    integer,    --malloc\n    Allocates \u003cX\u003e stack cells at a time (default is 85)\n\n    -r,    integer,    --read\n    Read \u003cX\u003e bytes from input file at a time (default is 1024)\n\n    -d,    boolean,    --debug\n    Debug mode - Displays every operation\n\n    -b,    boolean,    --enable-breakpoints\n    Enables the use of '@' symbols in the brainfuck code for breakpoints\n\n    -s,    boolean,    --enable-stack-debug\n    Enables the use of '$' symbols in the brainfuck code for stack debugging\n\n    -z,    boolean,    --enable-stack-reset\n    Enables the use of '%' symbols in the brainfuck code for stack reset\n\nLicense\n-------\n\nBrainDead is released under the terms of the Boost Software License - Version 1.0.\n\nRepository Infos\n----------------\n\n    Owner:\t\t\tJean-David Gadina - XS-Labs\n    Web:\t\t\twww.xs-labs.com\n    Blog:\t\t\twww.noxeos.com\n    Twitter:\t\t@macmade\n    GitHub:\t\t\tgithub.com/macmade\n    LinkedIn:\t\tch.linkedin.com/in/macmade/\n    StackOverflow:\tstackoverflow.com/users/182676/macmade\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacmade%2FBrainDead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacmade%2FBrainDead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacmade%2FBrainDead/lists"}