📜 ⬆️ ⬇️

Interpreter of the programming language Brainfuck JavaScript

Brainfuck (English brain + fuck) - one of the most famous esoteric programming languages, invented by Urban Muller (Urban Müller) for fun. Consists of eight teams, each of which is written in one character. The source code of a Brainfuck program is a sequence of characters of a language without any syntax. (This is from Wikipedia).

For example, Hello World !:
  <code>
 > +++++++++ [<++++++++> -] <.> +++++++ [<++++> -] <+. +++++ ++ .. +++. [-]> ++++++++
 [<++++> -] <.> +++++++++++ [<+++++> -] <.> ++++++++ [<+++> -] <. +++ .------.
 --------. [-]> ++++++++ [<++++> -] <+. [-] +++++++++.
 </ code> 


Why am I writing this? To what did the interpreter of the programming language Brainfuck in JavaScript . It works pretty fast. Code under the GPL (although who needs it :-D).
')
Maybe someone will be interested :-)

Source: https://habr.com/ru/post/12823/


All Articles