Knowledge (XXG)

Brainfuck

Source 📝

617:. These, as well as Brainfuck's inefficiency and its limited input/output capabilities, are some of the reasons it is not used for serious programming. Nonetheless, like any Turing-complete language, Brainfuck is theoretically capable of computing any computable function or simulating any other computational model, if given access to an unlimited amount of memory. A variety of Brainfuck programs have been written. Although Brainfuck programs, especially complicated ones, are difficult to write, it is quite trivial to write an interpreter for Brainfuck in a more typical language such as C due to its simplicity. Brainfuck interpreters written in the Brainfuck language itself also exist. 77: 2159: 130: 36: 1285:
65–77) to N-Z (78–90), and vice versa. Also it must map a-m (97–109) to n-z (110–122) and vice versa. It must map all other characters to themselves; it reads characters one at a time and outputs their enciphered equivalents until it reads an EOF (here assumed to be represented as either -1 or "no
630:
As a first, simple example, the following code snippet will add the current cell's value to the next cell: Each time the loop is executed, the current cell is decremented, the data pointer moves to the right, that next cell is incremented, and the data pointer moves left again. This sequence is
1592:
In 2024, a Google research project used a slightly modified 7-command version of Brainfuck as the basis of an artificial digital environment. In this environment, they found that replicators arose naturally and competed with each other for domination of the environment.
2001:
Blaise Agüera y Arcas; Alakuijala, Jyrki; Evans, James; Laurie, Ben; Mordvintsev, Alexander; Niklasson, Eyvind; Randazzo, Ettore; Versari, Luca (2024). "Computational Life: How Well-formed, Self-replicating Programs Emerge from Simple Interaction".
437:, which briefly described the language, and challenged the reader "Who can program anything useful with it? :)". Müller also included an interpreter and some examples. A second version of the compiler used only 240 bytes. 612:
Brainfuck programs are usually difficult to comprehend. This is partly because any mildly complex task requires a long sequence of commands and partly because the program's text gives no direct indications of the program's
453:
begins at the first command, and each command it points to is executed, after which it normally moves forward to the next command. The program terminates when the instruction pointer moves past the last command.
390:, which refers to things so complicated or unusual that they exceed the limits of one's understanding, as it was not meant or made for designing actual software but to challenge the boundaries of 373:: it can be used to write any program, but it is not practical to do so, because it provides so little abstraction that the programs get very long or complicated. While Brainfuck is fully 2056: 449:. A brainfuck program is a sequence of these commands, possibly interspersed with other characters (which are ignored). The commands are executed sequentially, with some exceptions: an 465:(initialized to point to the leftmost byte of the array); and two streams of bytes for input and output (most often connected to a keyboard and a monitor respectively, and using the 2181: 2191: 1141:
For readability, this code has been spread across many lines, and blanks and comments have been added. Brainfuck ignores all characters except the eight commands
1145:
so no special syntax for comments is needed (as long as the comments do not contain the command characters). The code could just as well have been written as:
2049: 457:
The brainfuck language uses a simple machine model consisting of the program and instruction pointer, as well as a one-dimensional array of at least 30,000
2186: 2162: 2042: 1880: 358:
created in 1993 by Swiss student Urban Müller. Designed to be extremely minimalistic, the language consists of only eight simple commands, a
1730: 1854: 2146: 231: 213: 111: 63: 96:
Please help improve this article by looking for better, more reliable sources. Unreliable citations may be challenged and removed.
2136: 1930: 584:
If the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command, jump it
2076: 492: 462: 151: 2065: 418: 355: 331: 255: 90: 2126: 194: 1905: 2131: 2111: 166: 1802: 85: 1638:
command, or vice versa; programs will behave the same but will run more slowly, due to unnecessary double searching.
1955: 147: 49: 140: 560: 173: 24: 1827: 1658:
Easter, Brandee (2020-04-02). "Fully Human, Fully Machine: Rhetorics of Digital Disembodiment in Programming".
614: 1980: 1777: 180: 263: 259: 76: 162: 391: 250: 20: 753: 446: 374: 363: 1876: 1703:"Language without code: intentionally unusable, uncomputable, or conceptual programming languages" 401:, many substitutes are used, such as brainfsck, branflakes, brainoof, brainfrick, BrainF, and BF. 2003: 1683: 298: 1722: 1675: 422: 1714: 1667: 1702: 1848: 556: 450: 270: 187: 55: 1926: 2175: 1687: 370: 1759:
Cox, Geoff, and Alex McLean. "Not Just for Fun." Bloomsbury Academic, 2014. 157-173.
2101: 359: 327: 1671: 2034: 426: 378: 288: 129: 1606: 1468:
Special case: increase remainder / move it back to divisor / increase quotient
409:
Müller designed Brainfuck with the goal of implementing the smallest possible
386: 1726: 1679: 1546:
End outer skip loop (jump to here if ((character minus 1)/32) was not 2 or 3)
764:
This program prints "Hello World!" and a newline to the screen; its
691:
but we cannot output this value to the terminal since it is not ASCII encoded
545:
Accept one byte of input, storing its value in the byte at the data pointer.
1718: 661:
Start your loops with your cell pointer on the loop counter (c1 in our case)
398: 505:
Decrement the data pointer by one (to point to the next cell to the left).
694:
To display the ASCII character "7" we must add 48 to the value 7
2141: 2121: 2096: 2091: 1901: 410: 343: 1951: 1441:(MEMORY LAYOUT: zero copy dividend divisor remainder quotient zero zero) 1363:
Increase copy and remainder / reduce divisor / Normal case: skip forward
2116: 2081: 1798: 782:
to a BF program such that you don't have to worry about any command
872:
loop and the commands it contains are ignored because the current cell
742:
Print out c0 which has the value 55 which translates to "7"!
688:
At this point our program has added 5 to 2 leaving 7 in c0 and 0 in c1
429:
with a size of 296 bytes. He uploaded the first Brainfuck compiler to
2106: 1823: 1602: 434: 430: 1426:
Zero that flag unless quotient was 2 or 3; zero quotient; check flag
875:
defaults to a value of 0; the 0 value causes this loop to be skipped
638:
This can be incorporated into a simple addition program as follows:
555:
If the byte at the data pointer is zero, then instead of moving the
2008: 1976: 1324:(MEMORY LAYOUT: dividend copy remainder divisor quotient zero zero) 381:. Brainfuck requires one to break commands into microscopic steps. 377:, it is not intended for practical use, but to challenge and amuse 1552:
Clear remainder from first division if second division was skipped
1381:
Special case: move remainder back to divisor and increase quotient
1282: 1278: 466: 1769: 472:
The eight language commands each consist of a single character:
458: 414: 2038: 1824:"The FALSE Programming Language — Wouter van Oortmerssen" 1091:
Cell #3 was set to 'o' from the end of 'Hello'
123: 70: 29: 1408:
End skip loop; zero former divisor and reuse space for a flag
1630:
command may instead be translated as an unconditional jump
1303:
Read first character and start outer character reading loop
1609:
programming language with a very limited set of characters
2027: 1438:
If flag then set up divisor (13) for second division loop
312: 1531:
Zero divisor and subtract 13 from copy if quotient was 1
685:
End your loops with the cell pointer on the loop counter
1046:
Subtract 3 from Cell #3 to get 101 which is 'e'
1507:
Decrement quotient and skip forward if quotient was 1
1013:
Loop until Cell #0 is zero; number of iterations is 8
956:
Loop until Cell #1 is zero; number of iterations is 4
1082:
Subtract 1 from Cell #4 for 87 to give a 'W'
995:
Move back to the first zero cell you find; this will
1342:
Set up dividend (x minus 1) and enter division loop
899:
Add 4 to Cell #1; this will always set Cell #1 to 4
337: 321: 307: 297: 287: 279: 269: 249: 154:. Unsourced material may be challenged and removed. 1750:Haupt, Michael. "Implementing Brainfuck in COLA." 1540:Zero divisor and add 13 to copy if quotient was 0 1286:change"), at which point the program terminates. 998:be Cell #1 which was cleared by the previous loop 495:by one (to point to the next cell to the right). 1489:Add remainder back to divisor to get a useful 13 1281:cipher. To do this, it must map characters A-M ( 773:This loop is an "initial comment loop" 421:. Müller's original compiler was implemented in 384:The language takes its name from the slang term 1561:Output ROT13ed character from copy and clear it 1450:Reduce divisor; Normal case: increase remainder 525:Decrement the byte at the data pointer by one. 515:Increment the byte at the data pointer by one. 1124:Add 1 to Cell #5 gives us an exclamation point 706:c1 = 8 and this will be our loop counter again 2050: 1927:"Index of /esoteric/brainfuck/bf-source/prog" 1707:Journal of Science and Technology of the Arts 8: 244: 1519:Zero quotient and divisor if quotient was 2 64:Learn how and when to remove these messages 2057: 2043: 2035: 1277:This program enciphers its input with the 1019:Cell no : 0 1 2 3 4 5 6 863:" characters just have to be balanced 243: 2007: 1034:Cell #2 has value 72 which is 'H' 232:Learn how and when to remove this message 214:Learn how and when to remove this message 112:Learn how and when to remove this message 16:Esoteric, minimalist programming language 1112:Cell #3 for 'rl' and 'd' 474: 2182:Non-English-based programming languages 1650: 1619: 1061:Likewise for 'llo' from Cell #3 905:as the cell will be cleared by the loop 767:length is 106 active command characters 631:repeated until the starting cell is 0. 369:Brainfuck is an example of a so-called 603:match as parentheses usually do: each 2192:Programming languages created in 1993 1321:Set up divisor (32) for division loop 1022:Contents: 0 0 72 104 88 32 8 1007:Decrement the loop Counter in Cell #0 950:Decrement the loop counter in Cell #1 535:Output the byte at the data pointer. 461:cells initialized to zero; a movable 397:Because the language's name contains 7: 1850:Tamedia TX 2017 - Livestream Werdino 1799:"The Brainfuck Programming Language" 152:adding citations to reliable sources 1877:"Aminet - dev/lang/brainfuck-2.lha" 1857:from the original on 11 August 2023 697:We use a loop to compute 48 = 6 * 8 1136:And finally a newline from Cell #6 14: 433:in 1993. The program came with a 45:This article has multiple issues. 2158: 2157: 2137:Shakespeare Programming Language 779:a simple way of adding a comment 128: 75: 34: 1983:from the original on 2024-09-22 1958:from the original on 2024-09-22 1933:from the original on 2023-04-30 1908:from the original on 2023-05-23 1883:from the original on 2023-04-30 1830:from the original on 2023-04-30 1805:from the original on 2023-05-03 1780:from the original on 2018-10-23 1733:from the original on 2024-07-09 445:The language consists of eight 139:needs additional citations for 53:or discuss these issues on the 2187:Esoteric programming languages 2066:Esoteric programming languages 1952:"BF interpreter written in BF" 1498:Skip forward if quotient was 0 1312:Skip forward if character is 0 1: 1701:Temkin, Daniel (2017-09-01). 1672:10.1080/07350198.2020.1727096 756:and a newline to the screen: 752:The following program prints 559:forward to the next command, 356:esoteric programming language 2127:One-instruction set computer 1605:– an esoteric subset of the 851:" characters are simply 1070:Cell #5 is 32 for the space 2208: 1826:. Strlen.com. 2013-08-03. 1582:End character reading loop 480: 419:FALSE programming language 18: 2155: 2072: 1588:Simulation of abiogenesis 588:to the command after the 567:to the command after the 342: 326: 1979:. Daniel B. Cristofani. 1929:. sange.fi. 2002-01-22. 1288: 1147: 758: 640: 633: 19:Not to be confused with 1977:"brainfuck interpreter" 1902:"BF is Turing-complete" 1719:10.7559/citarj.v9i3.432 983:Subtract 1 from Cell #4 413:, inspired by the 1024- 84:Some of this article's 1016:The result of this is: 1770:"brainfuck - Esolang" 469:character encoding). 1471:<<<<< 1384:<<<<< 606:and vice versa, the 392:computer programming 148:improve this article 21:Brain Fuck Scheduler 1626:Alternatively, the 1576:Read next character 557:instruction pointer 451:instruction pointer 364:instruction pointer 299:Filename extensions 280:First appeared 246: 1801:. Muppetlabs.com. 1634:the corresponding 1390:Decrement dividend 1025:Pointer : ^ 730:Subtract 1 from c1 679:Subtract 1 from c1 425:and compiled to a 2169: 2168: 1483:End division loop 1477:Decrease dividend 1396:End division loop 845:" and " 626:Adding two values 609:between the two. 599: 598: 417:compiler for the 349: 348: 289:Typing discipline 242: 241: 234: 224: 223: 216: 198: 122: 121: 114: 68: 2199: 2161: 2160: 2059: 2052: 2045: 2036: 2031: 2030: 2028:Official website 2014: 2013: 2011: 1998: 1992: 1991: 1989: 1988: 1973: 1967: 1966: 1964: 1963: 1954:. Iwriteiam.nl. 1948: 1942: 1941: 1939: 1938: 1923: 1917: 1916: 1914: 1913: 1904:. Iwriteiam.nl. 1898: 1892: 1891: 1889: 1888: 1873: 1867: 1866: 1864: 1862: 1853:. 13 June 2017. 1845: 1839: 1838: 1836: 1835: 1820: 1814: 1813: 1811: 1810: 1795: 1789: 1788: 1786: 1785: 1766: 1760: 1757: 1751: 1748: 1742: 1741: 1739: 1738: 1698: 1692: 1691: 1655: 1639: 1637: 1629: 1624: 1583: 1580: 1577: 1574: 1571: 1568: 1565: 1562: 1559: 1556: 1553: 1550: 1547: 1544: 1541: 1538: 1535: 1532: 1529: 1526: 1523: 1520: 1517: 1514: 1511: 1508: 1505: 1502: 1499: 1496: 1493: 1490: 1487: 1484: 1481: 1478: 1475: 1472: 1469: 1466: 1463: 1460: 1457: 1454: 1451: 1448: 1445: 1442: 1439: 1436: 1433: 1430: 1427: 1424: 1421: 1418: 1415: 1412: 1409: 1406: 1403: 1400: 1397: 1394: 1391: 1388: 1385: 1382: 1379: 1376: 1373: 1370: 1367: 1364: 1361: 1358: 1355: 1352: 1349: 1346: 1343: 1340: 1337: 1334: 1331: 1328: 1325: 1322: 1319: 1316: 1313: 1310: 1307: 1304: 1301: 1298: 1295: 1292: 1268: 1265: 1262: 1259: 1256: 1253: 1250: 1247: 1244: 1241: 1238: 1235: 1232: 1229: 1226: 1223: 1220: 1217: 1214: 1211: 1208: 1205: 1202: 1199: 1196: 1193: 1190: 1187: 1184: 1181: 1178: 1175: 1172: 1169: 1166: 1163: 1160: 1157: 1154: 1151: 1144: 1137: 1134: 1131: 1128: 1125: 1122: 1119: 1116: 1113: 1110: 1107: 1104: 1101: 1098: 1095: 1092: 1089: 1086: 1083: 1080: 1077: 1074: 1071: 1068: 1065: 1062: 1059: 1056: 1053: 1050: 1047: 1044: 1041: 1038: 1035: 1032: 1029: 1026: 1023: 1020: 1017: 1014: 1011: 1008: 1005: 1002: 999: 996: 993: 992:Add 1 to Cell #6 990: 987: 984: 981: 978: 975: 974:Add 1 to Cell #3 972: 969: 966: 965:Add 1 to Cell #2 963: 960: 957: 954: 951: 948: 945: 944:<<<< 942: 941:Add 1 to Cell #5 939: 936: 933: 932:Add 3 to Cell #4 930: 927: 924: 923:Add 3 to Cell #3 921: 918: 915: 914:Add 2 to Cell #2 912: 909: 906: 903: 900: 897: 894: 891: 888: 887:Set Cell #0 to 8 885: 882: 879: 876: 873: 870: 867: 864: 861: 858: 855: 852: 849: 846: 843: 840: 837: 834: 831: 828: 825: 822: 819: 816: 813: 810: 807: 804: 801: 798: 795: 792: 789: 786: 783: 780: 777: 774: 771: 768: 765: 762: 743: 740: 737: 734: 731: 728: 725: 722: 719: 716: 713: 710: 707: 704: 701: 698: 695: 692: 689: 686: 683: 680: 677: 674: 671: 668: 665: 662: 659: 656: 653: 650: 647: 644: 608: 605: 602: 594: 581: 573: 552: 542: 532: 522: 512: 502: 488: 475: 317: 314: 271:Designed by 247: 237: 230: 219: 212: 208: 205: 199: 197: 156: 132: 124: 117: 110: 106: 103: 97: 79: 71: 60: 38: 37: 30: 2207: 2206: 2202: 2201: 2200: 2198: 2197: 2196: 2172: 2171: 2170: 2165: 2151: 2068: 2063: 2026: 2025: 2022: 2017: 2000: 1999: 1995: 1986: 1984: 1975: 1974: 1970: 1961: 1959: 1950: 1949: 1945: 1936: 1934: 1925: 1924: 1920: 1911: 1909: 1900: 1899: 1895: 1886: 1884: 1875: 1874: 1870: 1860: 1858: 1847: 1846: 1842: 1833: 1831: 1822: 1821: 1817: 1808: 1806: 1797: 1796: 1792: 1783: 1781: 1768: 1767: 1763: 1758: 1754: 1749: 1745: 1736: 1734: 1700: 1699: 1695: 1660:Rhetoric Review 1657: 1656: 1652: 1648: 1643: 1642: 1635: 1627: 1625: 1621: 1616: 1599: 1590: 1585: 1584: 1581: 1578: 1575: 1572: 1569: 1566: 1563: 1560: 1557: 1554: 1551: 1548: 1545: 1542: 1539: 1536: 1533: 1530: 1527: 1524: 1521: 1518: 1515: 1512: 1509: 1506: 1503: 1500: 1497: 1494: 1491: 1488: 1485: 1482: 1479: 1476: 1473: 1470: 1467: 1464: 1461: 1458: 1455: 1452: 1449: 1446: 1443: 1440: 1437: 1434: 1431: 1428: 1425: 1422: 1419: 1416: 1413: 1410: 1407: 1404: 1401: 1398: 1395: 1392: 1389: 1386: 1383: 1380: 1377: 1374: 1371: 1368: 1365: 1362: 1359: 1356: 1353: 1350: 1347: 1344: 1341: 1338: 1335: 1332: 1329: 1326: 1323: 1320: 1317: 1314: 1311: 1308: 1305: 1302: 1299: 1296: 1293: 1290: 1275: 1270: 1269: 1266: 1263: 1260: 1257: 1254: 1251: 1248: 1245: 1242: 1239: 1236: 1233: 1230: 1227: 1224: 1221: 1218: 1215: 1212: 1209: 1206: 1203: 1200: 1197: 1194: 1191: 1188: 1185: 1182: 1179: 1176: 1173: 1170: 1167: 1164: 1161: 1158: 1155: 1152: 1149: 1142: 1139: 1138: 1135: 1132: 1129: 1126: 1123: 1120: 1117: 1114: 1111: 1108: 1105: 1102: 1099: 1096: 1093: 1090: 1087: 1084: 1081: 1078: 1075: 1072: 1069: 1066: 1063: 1060: 1057: 1054: 1051: 1048: 1045: 1042: 1039: 1036: 1033: 1030: 1027: 1024: 1021: 1018: 1015: 1012: 1009: 1006: 1003: 1000: 997: 994: 991: 988: 985: 982: 979: 976: 973: 970: 967: 964: 961: 958: 955: 952: 949: 946: 943: 940: 937: 934: 931: 928: 925: 922: 919: 916: 913: 910: 907: 904: 901: 898: 895: 892: 889: 886: 883: 880: 877: 874: 871: 868: 865: 862: 859: 856: 853: 850: 847: 844: 841: 838: 835: 832: 829: 826: 823: 820: 817: 814: 811: 808: 805: 802: 799: 796: 793: 790: 787: 784: 781: 778: 775: 772: 769: 766: 763: 760: 750: 745: 744: 741: 738: 735: 732: 729: 726: 723: 720: 717: 714: 711: 708: 705: 702: 699: 696: 693: 690: 687: 684: 681: 678: 675: 672: 669: 666: 663: 660: 657: 654: 651: 648: 645: 642: 636: 635: 628: 623: 607: 604: 601: 592: 579: 571: 550: 540: 530: 520: 510: 500: 486: 443: 441:Language design 407: 375:Turing-complete 311: 238: 227: 226: 225: 220: 209: 203: 200: 157: 155: 145: 133: 118: 107: 101: 98: 95: 80: 39: 35: 28: 17: 12: 11: 5: 2205: 2203: 2195: 2194: 2189: 2184: 2174: 2173: 2167: 2166: 2156: 2153: 2152: 2150: 2149: 2144: 2139: 2134: 2129: 2124: 2119: 2114: 2109: 2104: 2099: 2094: 2089: 2084: 2079: 2073: 2070: 2069: 2064: 2062: 2061: 2054: 2047: 2039: 2033: 2032: 2021: 2020:External links 2018: 2016: 2015: 1993: 1968: 1943: 1918: 1893: 1868: 1840: 1815: 1790: 1761: 1752: 1743: 1693: 1666:(2): 202–215. 1649: 1647: 1644: 1641: 1640: 1618: 1617: 1615: 1612: 1611: 1610: 1598: 1595: 1589: 1586: 1289: 1274: 1271: 1148: 759: 754:"Hello World!" 749: 746: 641: 634: 627: 624: 622: 619: 597: 596: 582: 576: 575: 553: 547: 546: 543: 537: 536: 533: 527: 526: 523: 517: 516: 513: 507: 506: 503: 497: 496: 491:Increment the 489: 483: 482: 479: 442: 439: 406: 403: 347: 346: 340: 339: 335: 334: 324: 323: 319: 318: 309: 305: 304: 301: 295: 294: 291: 285: 284: 283:September 1993 281: 277: 276: 273: 267: 266: 253: 240: 239: 222: 221: 136: 134: 127: 120: 119: 86:listed sources 83: 81: 74: 69: 43: 42: 40: 33: 15: 13: 10: 9: 6: 4: 3: 2: 2204: 2193: 2190: 2188: 2185: 2183: 2180: 2179: 2177: 2164: 2154: 2148: 2145: 2143: 2140: 2138: 2135: 2133: 2130: 2128: 2125: 2123: 2120: 2118: 2115: 2113: 2110: 2108: 2105: 2103: 2100: 2098: 2095: 2093: 2090: 2088: 2085: 2083: 2080: 2078: 2075: 2074: 2071: 2067: 2060: 2055: 2053: 2048: 2046: 2041: 2040: 2037: 2029: 2024: 2023: 2019: 2010: 2005: 1997: 1994: 1982: 1978: 1972: 1969: 1957: 1953: 1947: 1944: 1932: 1928: 1922: 1919: 1907: 1903: 1897: 1894: 1882: 1878: 1872: 1869: 1856: 1852: 1851: 1844: 1841: 1829: 1825: 1819: 1816: 1804: 1800: 1794: 1791: 1779: 1775: 1771: 1765: 1762: 1756: 1753: 1747: 1744: 1732: 1728: 1724: 1720: 1716: 1712: 1708: 1704: 1697: 1694: 1689: 1685: 1681: 1677: 1673: 1669: 1665: 1661: 1654: 1651: 1645: 1633: 1623: 1620: 1613: 1608: 1604: 1601: 1600: 1596: 1594: 1587: 1287: 1284: 1280: 1272: 1146: 757: 755: 747: 639: 632: 625: 620: 618: 616: 610: 591: 587: 583: 578: 577: 570: 566: 562: 558: 554: 549: 548: 544: 539: 538: 534: 529: 528: 524: 519: 518: 514: 509: 508: 504: 499: 498: 494: 490: 485: 484: 477: 476: 473: 470: 468: 464: 460: 455: 452: 448: 440: 438: 436: 435:"Readme" file 432: 428: 424: 420: 416: 412: 404: 402: 400: 395: 393: 389: 388: 382: 380: 376: 372: 371:Turing tarpit 367: 365: 361: 357: 353: 345: 341: 336: 333: 329: 325: 322:Influenced by 320: 316: 310: 306: 302: 300: 296: 292: 290: 286: 282: 278: 274: 272: 268: 265: 261: 257: 254: 252: 248: 236: 233: 218: 215: 207: 196: 193: 189: 186: 182: 179: 175: 172: 168: 165: –  164: 160: 159:Find sources: 153: 149: 143: 142: 137:This article 135: 131: 126: 125: 116: 113: 105: 93: 92: 87: 82: 78: 73: 72: 67: 65: 58: 57: 52: 51: 46: 41: 32: 31: 26: 22: 2102:Iota and Jot 2086: 1996: 1985:. Retrieved 1971: 1960:. Retrieved 1946: 1935:. Retrieved 1921: 1910:. Retrieved 1896: 1885:. Retrieved 1871: 1859:. Retrieved 1849: 1843: 1832:. Retrieved 1818: 1807:. Retrieved 1793: 1782:. Retrieved 1774:esolangs.org 1773: 1764: 1755: 1746: 1735:. Retrieved 1713:(3): 83–91. 1710: 1706: 1696: 1663: 1659: 1653: 1631: 1622: 1591: 1429:++++++++++++ 1402:>>> 1276: 1143:+-<>,. 1140: 751: 748:Hello World! 637: 629: 611: 600: 589: 585: 568: 564: 493:data pointer 471: 463:data pointer 456: 444: 408: 396: 385: 383: 368: 360:data pointer 351: 350: 275:Urban Müller 228: 210: 201: 191: 184: 177: 170: 158: 146:Please help 141:verification 138: 108: 99: 88: 61: 54: 48: 47:Please help 44: 721:Add 6 to c0 670:Add 1 to c0 655:Cell c1 = 5 646:Cell c0 = 2 379:programmers 163:"Brainfuck" 89:may not be 2176:Categories 2147:Whitespace 2009:2406.19108 1987:2024-06-19 1962:2023-04-30 1937:2023-04-30 1912:2023-04-30 1887:2023-04-30 1879:. Aminet. 1834:2023-04-30 1809:2023-04-30 1784:2024-02-07 1737:2024-02-11 1646:References 1607:JavaScript 860:the " 791:Any " 785:characters 478:Character 338:Influenced 264:structured 260:imperative 204:April 2023 174:newspapers 102:April 2023 50:improve it 2087:Brainfuck 1861:30 August 1727:2183-0088 1688:219665562 1680:0735-0198 595:command. 574:command. 399:profanity 387:brainfuck 352:Brainfuck 313:brainfuck 245:Brainfuck 56:talk page 2163:Category 2142:Unlambda 2122:Malbolge 2097:INTERCAL 2092:FRACTRAN 1981:Archived 1956:Archived 1931:Archived 1906:Archived 1881:Archived 1855:Archived 1828:Archived 1803:Archived 1778:Archived 1731:Archived 1597:See also 1537:<< 1528:>> 1525:<< 1516:>> 1513:<< 1486:>> 1462:>> 1369:>> 1315:>> 1252:>> 1246:-------- 1213:>> 1186:>> 1171:>> 1150:++++++++ 1115:>> 1106:-------- 1064:>> 1028:>> 986:>> 884:++++++++ 621:Examples 590:matching 569:matching 481:Meaning 447:commands 423:assembly 411:compiler 344:Malbolge 293:Typeless 256:Esoteric 251:Paradigm 91:reliable 25:Mindfuck 2117:LOLCODE 2082:Befunge 2077:Beatnik 1201:+++++++ 1049:+++++++ 854:ignored 565:forward 405:History 362:and an 308:Website 303:.b, .bf 188:scholar 2107:JSFuck 1725:  1686:  1678:  1603:JSFuck 1240:------ 1100:------ 839:" 833:" 827:" 821:" 815:" 809:" 803:" 797:" 431:Aminet 427:binary 354:is an 190:  183:  176:  169:  161:  2004:arXiv 1684:S2CID 1614:Notes 1283:ASCII 1279:ROT13 1273:ROT13 652:+++++ 615:state 467:ASCII 332:FALSE 195:JSTOR 181:books 2132:Piet 2112:Leet 1863:2024 1723:ISSN 1676:ISSN 1564:< 1555:< 1549:< 1492:> 1456:> 1453:> 1444:> 1432:< 1420:< 1411:> 1375:> 1366:< 1357:> 1351:> 1345:> 1333:< 1327:< 1318:++++ 1261:> 1228:< 1219:< 1192:> 1177:< 1165:> 1159:> 1153:> 1127:> 1085:< 1073:< 1037:> 1001:< 977:> 968:> 959:> 935:> 926:> 917:> 908:> 896:++++ 893:> 869:This 848:> 842:< 736:< 724:> 712:< 703:++++ 700:++++ 673:> 664:< 649:> 586:back 561:jump 501:< 487:> 459:byte 415:byte 315:.org 167:news 1715:doi 1668:doi 1234:+++ 1207:+++ 1195:--- 1094:+++ 1055:+++ 1040:--- 929:+++ 920:+++ 718:+++ 715:+++ 563:it 328:P′′ 150:by 23:or 2178:: 1776:. 1772:. 1729:. 1721:. 1709:. 1705:. 1682:. 1674:. 1664:39 1662:. 1632:to 1417:]] 1414:-- 1264:++ 1204:.. 1130:++ 1052:.. 911:++ 643:++ 394:. 366:. 330:, 262:, 258:, 59:. 2058:e 2051:t 2044:v 2012:. 2006:: 1990:. 1965:. 1940:. 1915:. 1890:. 1865:. 1837:. 1812:. 1787:. 1740:. 1717:: 1711:9 1690:. 1670:: 1636:[ 1628:] 1579:] 1573:+ 1570:, 1567:- 1558:. 1543:] 1534:] 1522:] 1510:- 1504:[ 1501:- 1495:[ 1480:] 1474:- 1465:] 1459:+ 1447:- 1435:[ 1423:[ 1405:+ 1399:] 1393:] 1387:- 1378:] 1372:+ 1360:- 1354:+ 1348:+ 1339:[ 1336:- 1330:+ 1309:[ 1306:- 1300:[ 1297:+ 1294:, 1291:- 1267:. 1258:. 1255:+ 1249:. 1243:. 1237:. 1231:. 1225:. 1222:- 1216:. 1210:. 1198:. 1189:. 1183:] 1180:- 1174:+ 1168:- 1162:+ 1156:+ 1133:. 1121:. 1118:+ 1109:. 1103:. 1097:. 1088:. 1079:. 1076:- 1067:. 1058:. 1043:. 1031:. 1010:] 1004:- 989:+ 980:- 971:+ 962:+ 953:] 947:- 938:+ 902:[ 890:[ 881:] 878:. 866:. 857:, 836:, 830:- 824:, 818:+ 812:, 806:, 800:, 794:. 788:. 776:, 770:. 761:[ 739:. 733:] 727:- 709:[ 682:] 676:- 667:+ 658:[ 593:[ 580:] 572:] 551:[ 541:, 531:. 521:- 511:+ 235:) 229:( 217:) 211:( 206:) 202:( 192:· 185:· 178:· 171:· 144:. 115:) 109:( 104:) 100:( 94:. 66:) 62:( 27:.

Index

Brain Fuck Scheduler
Mindfuck
improve it
talk page
Learn how and when to remove these messages

listed sources
reliable
Learn how and when to remove this message

verification
improve this article
adding citations to reliable sources
"Brainfuck"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
Learn how and when to remove this message
Paradigm
Esoteric
imperative
structured
Designed by
Typing discipline
Filename extensions
brainfuck.org
P′′

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.