Brainfuck interpreter for Nightbot?

I would really love to see a Brainfuck interpreter for Nightbot, just something really fun thing that could be added to Nightbot for Discord servers.

If you don’t know what Brainfuck is, it’s an esoteric programming language created in 1993 by Urban Müller, and notable for its extreme minimalism. The language consists of only eight simple commands and an instruction pointer. These 8 instruction pointers are as follows;

>   
<
+
-
.
,
[
]

It’s pretty simple set of instructions and the C equivalent of command instructions interprets would be like this;

char array[infinitely large size] = {0};
char *ptr=array;
++ptr;
--ptr;
++*ptr;
--*ptr;
putchar(*ptr);
*ptr=getchar();
while (*ptr) {
}

Perhaps having a way for adding additional bot commands and features through the API to add other stuff to Nightbot through the bot setup page, where you can use code sources from places like GitHub to add to Nightbot to implement things like this?

We have plans for some advanced bot commands, but we do not have plans to support a “Brainfuck” interpreter, sorry. It’s not really practical for most of our userbase. You can, however, create your own hosted interpreter that allows our $(urlfetch) variable to run it. Read more about this variable at https://docs.nightbot.tv/commands/variables/urlfetch

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.