GithubHelp home page GithubHelp logo

surenderharsha / brain_interpreter Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 470 KB

This is an interpreter for the Brain Language. It contains the basic 8 symbols in the language with an addition of 5 optional symbols that make the users life much easier. The option of adding more symbols and customizing the code is available as the code is very flexible. The code is available in c++ and Python.

License: GNU General Public License v3.0

Python 45.55% C++ 54.45%

brain_interpreter's Introduction

Brain_Interpreter

This is an interpreter for the Brain Language. It contains the basic 8 symbols in the language with an addition of 5 optional symbols that make the users life much easier. The option of adding more symbols and customizing the code is available as the code is very flexible. The code is available in c++ and Python.

Two People are working on the project.

B.Surender Harsha on the C++ version and Shubham C on the Python Version.

The Python version of the program comes with a graphical interface and interactive visualised memory view. The Python version is still under progress

The C++ version features 5 New Symbols which make programming a little bit less tedious and much more fun.

1  '*'  -> The memory location at which the pointer is pointing to is incremented by 10. This is equivalent to ++++++++++ 
2  '/'  -> The Memory location at which the pointer is pointing is decremented by 10. This is equivalent to ----------
3  '^'  -> The Pointer in the memory quickly moves to the first position. equivalent to <<<<<<< so on
4  '~'  -> A search begins from the beginning and the pointer stops at a cell whose value is zero.
5  ';'  ->The Search begins and the pointer stops at the first non zero number.

The C++ version also provides some basic visualisation of the memory, the symbol being processed and the Character that is being read from the program.

brain_interpreter's People

Contributors

surenderharsha avatar shubhamc183 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  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.