Giter VIP home page Giter VIP logo

bf's Introduction

Brainfuino [-]+.

An Arduino competitor that runs native brainfuck! I've condensed the explanation in this video: https://youtu.be/QloNq8AoHvU

The Brainfuino [-]+.

Before going further, please make sure you know (or remember) what brainfuck is. Here's Wikipedia's entry as a refresher.

Also, before moving forward: This is not a joke. It is about a joke programming language, but a joke lots of nerds are very fond of. When I say nerds, I mean real geeks: Not gamers or technophiles, but geeks who like to read The Art of Computer Programming just for kicks!

The Brainfuino [-]+. (pronounced "Brainfuino Uno") is a development board for a brainfuck soft processor I wrote in Verilog, named brainfuck_uP (as in "brainfuck microprocessor"), which runs brainfuck code natively, that is, the plain text of a brainfuck source file, yes, ascii characters.

Here are some details:

  • brainfuck_uP is implemented in a Lattice MachXO2 FPGA, very much like the one in the TinyFPGA AX2 board, but in a TQFP100 package.
  • brainfuck_uP is a Harvard machine, so it has two separate buses for its program and data memories.
  • The Brainfuino has a 128kB RAM chip and a 256kB chip, both with a good old parallel interface to work as the data and program memories of brainfuck_uP respectively.
  • The I/O is adapted from 3.3V logic to TTL with a separate chip (to resemble the Arduino Uno).
  • The host computer interface is a USB Virtual COM port implemented with an STM32F072 MCU, which overrides the input/output ports of brainfuck_uP for easy user-brainfuck interaction.
  • The MCU is also donating its ADC to give Brainfuino the power of analog input.
  • The board has hardware for updating both the MCU firmware and the FPGA design.

Advantages over the Arduino Uno

This product is intended as anything around brainfuck and esoteric programming languages: A joke. An elaborate joke. A geek toy.

So, if we take the Arduino as a competitor, here are some advantages:

  • Brainfuino runs brainfuck! You'll get to learn a classic esoteric programming language.
  • Brainfuino is the only brainfuck MCU platform of its kind (that I know of).
  • Brainfuino is capable of at least competing with the Arduino by having an analog input channel.
  • Brainfuino may serve as a teaching tool for several things: FPGA soft-processor development, computer science, esoteric programming languages, tinkering, hardware, etc.
  • Lots of fun by matching the Arduino Community's codebase.
  • Bragging rights for writing code that works! You certainly won't get that from the Arduino.
  • A Guinness Record may come out from the Brainfuino Community. Think an Operating System, or an actual home security system!

Computer Languages

There are three computer languages involved. Only the first one is really intended for the end-user:

  • brainfuck: Users will write their code in brainfuck, and the Brainfuino will run it.
  • Verilog: brainfuck_uP was written in Verilog. The final .jedec file may be written into the FPGA's internal ROM at any time.
  • C/C++: The firmware in the STM32 MCU was written in C. This firmware can be written into the MCU at any time as well.

Related Projects

Contact

Eduardo Corpeño

For bug report or anything related to Brainfuino, I may be reached at [email protected]

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.