Brainfuck Very Simple

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Interpret brainfuck programs generated by http://golf.shinh.org/p.rb?add_sub_brainfuck_code with newlines added for nicer formatting.

-- mitchs

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++
++++++++++++++++++++++.+++++++..+++.--------------------------------------------
-----------------------.------------.+++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++.--------.+++.------.--------.------
-------------------------------------------------------------.------------------
-----.

Sample output:

Hello, world!

Sample input:_

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++
++++++++++++++++++++++++++++++++.-.++++++.-----------.------.++++++++++++++++++.
----------------.+++++++++++++.-------------.-----------------------------------
----------------------------------.+++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++.--.+.---------.++++++++++++++.---------------
--------------------------------------------------------------------.+++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++.++++++.----
-----------.+++++++++.++++++.-----------.++++++++.++++.----------------.--------
-------------------------------------------------------------.++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++.--------------
---.-----------------------------------------------------------------.++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.-----
----------.+++++++++.---------.---.-.+++++++++++++.++++++.----------------------
--------------------------------------------------------------------------------
----.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++.+++++.----------.+.----------------------------------------
-----------------------------.++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++.-----.+++.---.-------------------------------
------------------------------------------------.+++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++.---------------.++++++++++++++
+++++.---------------.+++++++++++++.--------------------------------------------
--------------------------------------.+++++++++++++++++++++++++++++++++.+++++++
+++++++++++++++++++++++++++++.+++++++++.---------.----.++++++++++++++++++.------
-----------------------------------------------------------------------------.++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+.----------.------.------------------------------------------------------------
-------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++.+++.+.++.--.------------------------------------------------------------
-----------------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++.+.------------------------------------------------------------------.+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++.+++
+++++.-----.-----------------------------------------------------.--------------
----------------------------------..++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++.+++++++++++++++++++++++++++++++++++++.--------.-----.+++++++
++++++.----------.+++++++++++++++++.--------.-----------------------------------
------------------------------.------------.++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++.-------------.++.++.+++++.-------
------.-----------------------------------------------------.------------.++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++
.-------------------.+++.++++++++++++++.----------------------------------------
-------------------------------------------.++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++.-------------.+++++++++.+.+++++++
.---------------------.+++++++++++++++++.-------------.-------------------------
--------------------------------------------.+++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++.+++++++++++.---.+++.+++.-------------.++++++++
.-----------------------------------------------------------------.-------------
---------------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++.++++++++++++++++++++++++++++++.---.------.--------.++++++++++++
+.-------------.++++++++++++++++++.---------------------------------------------
--------------------------------------.+++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++.-.---------------------------------
---------------------------------------------------.++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++.+.-----------.++++++++++++++
.-------------------------------------------------------------------------------
----.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++
++++++++++.---------------------------------------------------------------------
---------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++.-----------.++++++++++++.--------.+++++++++.++++++.----------------
---.+.+++++++.+++.-------.------------------------------------------------------
---------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++.-------------.++.+++++++.+++++++.--------.-------------------
--------------------------------------------------------------------------------
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++.+++++++++++++.+++.----------------.+++++++++++++.---------.+++++.++
++++.---------------------------------------------------------------------------
---------.++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++.+++
++++++++++.-------------.++++++++.----------------------------------------------
---------------.------------.+++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++.++++.--------------------.++++.++++++++++++.++++.
----------------.---------------------------------------------------------------
------.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+++++++.+++.--------------.----------------------------------------------------
-----------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++.----.++++++++++.--------------.+++++++++++++..---------.++++.---
---------.-----------------------------------------------------------------.++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++.-------------.-----.+++++.---------------------------------------------------
--------------------------------------------.+++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++.-------
-----------------------------------------------------------------------------.++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
++++.------.+++.+++.--------.---------------------------------------------------
--------------------------.+++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++.---------------.+++++++++++++++++.+.----------------
-------------------------------------------------------------------.++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.------------.+
+++++.+++++++.-------------.----------------------------------------------------
-------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++.+++++++++++++++.------------.----------------------------------------------
-------------.------------------------------------.

Sample output:

Conticuere omnes intentique ora tenebant
inde toro pater Aeneas sic orsus ab alto:

Infandum, regina, iubes renovare dolorem,
Troianas ut opes et lamentabile regnum
eruerint Danai, quaeque ipse miserrima vidi
et quorum pars magna fui.

Sample input:_

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++.+++++++++++++++++.-------.+++++++++++++++++++.--------------------------
----------------------------------------------.------------.++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++.----------------
-.++++++++++++++++++++++.---------.---------------------------------------------
---------------------.------------.+++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++.+++++++++++++.----------.----------------------------------
----------------------------------.+++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++.-------------------.+++++++++++.-.------
---------------------------------------------------------------------.++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.---------.
----------------------------------------------------------------------.+++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.--------
---.----.++.++.-----------------------------------------------------------------
---.-.+++++++++++++++++++++++++++++++++++++++++.--------------------------------
---------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++.-------.+++++++++++++++++++.---------------.---------------------------------
------------------------------------.+++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++.------------.---.---------------------
------------------------------------------------.+++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++.--------.+++.----------
----.--------------------------------------------------------.------------------
----------------.+++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++
+++++++++++++++++++++++++++++++++++++++++++.------------------------------------
-----------------------------------------------.++++++++++++++++++++++++++++++++
+++++++++.-----------------------------------------.++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++.-------.+++++++++++++++++++.-------
--------.---------------------------------------------------------------------.+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.---.++++
+++..----------------------------------------------------------------.----------
--.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++
..----------------------------------------------------------------------------.+
++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++.
-.++++++.-------------------.++++++.++++++++++++++.----------------.++++++++++++
++.-----------------------------------------------------------------------.-----
-------.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++
+++++++.----------.-------------------------------------------------------------
-------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++.------------.---..-------------------------------------------.-----
-------------------------------------------.++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++.+++++++++++++++++++++++++.+++++++++++++++++++++.-----
------------.-------------------------------------------------------------------
--.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++
++++++++.-----------------------------------------------------------------------
-------------.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++.------------.---..-------------------------------------------
--------------.------------.++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++.++++++++++++.++++++++.----------------------.+++++++++++++++++.-
-------------.------------------------------------------------------------------
-.-----------------------.

Sample output:

What, drawn, and talk of peace! I hate the word,
As I hate hell, all Montagues, and thee:
Have at thee, coward!

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs360.15792015/03/14 01:09:240B / 21B / 13B
2llhuii380.14082015/09/13 11:12:090B / 21B / 16B
3Histocrat460.11562015/03/14 23:55:250B / 28B / 16B

Ruby2 _

RankUserSizeTimeDateStatistics
1mitchs360.27822016/03/28 22:36:480B / 16B / 20B

Perl _

RankUserSizeTimeDateStatistics
1teebee360.03902015/03/12 17:00:190B / 14B / 20B
2tails360.03632015/03/14 14:40:570B / 14B / 20B
3llhuii360.03432015/09/12 11:44:580B / 14B / 20B
4%20360.03402016/03/28 16:15:170B / 13B / 21B
5mitchs370.14002015/03/14 06:52:240B / 24B / 11B
6jonathan camacho500.08482015/03/12 19:08:430B / 21B / 28B
7BioFALSE500.04902015/03/17 02:21:230B / 22B / 27B

Python _

RankUserSizeTimeDateStatistics
1llhuii730.27102015/09/12 22:53:350B / 44B / 26B
2mitchs740.12982015/03/13 16:27:020B / 47B / 22B
3hallvabo740.16332015/04/07 02:51:480B / 47B / 22B
4starmie750.15402015/03/13 16:16:010B / 47B / 23B
5rolf900.09512015/04/24 05:30:260B / 47B / 34B
6910.20042015/04/02 18:11:030B / 52B / 26B
7croyal1420.09352015/03/28 01:35:1311B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1mitchs660.22352015/04/07 02:35:070B / 37B / 25B
2llhuii660.16072015/09/13 00:23:470B / 35B / 27B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea670.18272015/10/13 23:57:140B / 33B / 32B

J _

RankUserSizeTimeDateStatistics
1random370.06672015/04/01 05:01:130B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1twobit300.03952015/03/23 09:34:230B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1mitchs530.06432015/03/13 16:10:540B / 29B / 24B
2nai530.06242015/03/16 01:44:090B / 29B / 24B
3nu530.04842015/03/16 02:12:250B / 29B / 24B
4twobit530.05932015/03/20 23:21:280B / ?B / ?B
5llhuii530.05962015/09/12 23:11:000B / 29B / 24B
6%20530.07192016/03/28 16:26:270B / 29B / 24B
7tails530.07012016/03/31 13:44:090B / 29B / 24B
8amama570.02992015/04/05 12:34:530B / 31B / 26B

C++ _

RankUserSizeTimeDateStatistics
1mitchs730.05872015/04/07 03:39:580B / 42B / 29B

Haskell _

RankUserSizeTimeDateStatistics
1henkma720.05252015/05/03 11:02:090B / 48B / 18B

ObjC _

RankUserSizeTimeDateStatistics
1mitchs530.05792015/05/04 02:44:290B / 29B / 24B
2llhuii530.05932015/09/13 00:12:060B / 29B / 24B
3%20530.05022016/03/28 16:26:310B / 29B / 24B

Java _

RankUserSizeTimeDateStatistics
1teebee1110.20702016/03/31 07:47:180B / 68B / 39B
2%201140.19142016/03/31 07:36:120B / 68B / 42B
3Klemmbrett1260.19162016/03/30 21:26:590B / ?B / ?B
4dc1330.28672016/03/30 20:47:530B / 78B / 50B
5croyal7100.37752015/04/01 01:15:4027B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1llhuii430.03662015/09/13 08:23:230B / 25B / 18B
2teebee490.03872015/03/13 11:07:360B / 25B / 24B

sed _

RankUserSizeTimeDateStatistics
1tails1451.06562016/03/17 17:52:280B / 49B / 83B
2%201781.15642016/05/09 04:56:040B / 48B / 112B

Bash _

RankUserSizeTimeDateStatistics
1mitchs140.40742015/09/13 09:46:090B / 6B / 6B
2llhuii430.01472015/09/13 08:25:540B / 24B / 17B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails590.67782016/04/05 11:29:090B / 35B / 17B
2llhuii600.68932016/04/08 08:49:040B / 19B / 34B

Zsh _

RankUserSizeTimeDateStatistics
1mitchs140.26772015/09/13 09:48:550B / 6B / 6B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii430.03982015/09/13 08:23:280B / 25B / 18B
2teebee490.04252015/09/13 04:59:120B / 25B / 24B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)150.08092015/10/05 03:14:382B / 0B / 13B
2mitchs550.04952015/03/14 18:13:440B / 0B / 55B

Whitespace _

RankUserSizeTimeDateStatistics
1mitchs810.14162015/03/13 10:12:400B / 0B / 0B
2%20820.10602015/03/13 11:17:150B / 0B / 0B

Befunge _

RankUserSizeTimeDateStatistics
1%20260.10082016/03/17 14:37:300B / 6B / 18B

GolfScript _

RankUserSizeTimeDateStatistics
1tails190.58962015/03/14 16:01:240B / 1B / 18B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs131.12222015/04/28 12:27:098B / 4B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1mitchs40.20482015/03/12 06:58:070B / 4B / 0B
2teebee40.20062015/03/12 17:13:220B / 2B / 2B
3jonathan camacho40.19852015/03/12 18:56:120B / 4B / 0B

x86 _

RankUserSizeTimeDateStatistics
1g33k910.02632015/03/12 20:10:2167B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1mitchs300.09292015/04/22 08:05:360B / 10B / 20B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmitchs410000
2gs2mitchs133076
3Bashmitchs142857
4Zshmitchs142857
5Brainfuckmitchs (cheat)152666
6GolfScripttails192105
7Befunge%20261538
8Ktwobit301333
9gorubymitchs301333
10Perlteebee361111
11Rubymitchs361111
12Ruby2mitchs361111
13Jrandom371081
14AWKllhuii43930
15xgawkllhuii43930
16Cmitchs53754
17ObjCmitchs53754
18Bash (builtins)tails59677
19Python3mitchs66606
20JavaScriptFizzyTea67597
21Haskellhenkma72555
22C++mitchs73547
23Pythonllhuii73547
24Whitespacemitchs81493
25x86g33k91439
26Javateebee111360
27sedtails145275

return top