Code Monkey home page Code Monkey logo

brainfuck-master's Introduction

brainfuck.*

Most implementations function like this:

# for a compiled language
<compile the source>
./<executable> <file>.bf

# for a interpreted language
<interpeter> <script> <file>.bf

# for example:
node brainfuck.js helloWorld.bf

Not everything will work on all implementations. Standard cell size is 8 bits.

Implementations notices

VBScript (.vbs)

175 lines of Visual Basic Scripting, very over-engineered.
Run with csrcipt brainfuck.vbs <file>.bf
Configuration is possible in the first few lines of the file.
Supports debug logging.

LOLCODE (.lol)

143 lines of LOLCODE, or pure madness.

NOTE: This requires the future branch of lci to run. LOLCODE does NOT SUPPORT converting character codes therefore inputs and outputs are numbers only, inputting other values than number will break everything.
Ensure you have lci v0.11.2 before running.

JavaScript (.js)

59 lines of JS, quite simple algorithm.
Use with Node.js, node brainfuck.js <file>.bf
Cell size can be configured in the first line.

brainfuck-master's People

Contributors

ulrich-barnstedt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.