Ugh, I just realised that the original code was written by you and I feel like I should say this:
Even though it's really long and repetitive patterns could be abstracted away which are the reasons I said it's shitty, keep this in mind: It's still a big achievement, congrats on it!
Writing this interpreter took me about 2 hours. The interpreter supports nested loops. It cannot run itself, because the source code is too big compared to an acceptable quantity of code. The maximum code size is 128 bytes and memory size is also 128 bytes.
Impressive attempt, but this person needs to brush up on Hilbert's Infinite Hotel Paradox if they want to be able to support infinite memory.
15
u/unfixpoint Jul 27 '19
Came here to say that just because it's brainfuck it doesn't mean it's bad code. But looking at that code, it indeed is shitty ^^
4
u/Rafael20002000 Jul 28 '19
Thats brainfuck
Badum tsss
1
u/UnchainedMundane Sep 04 '19
Impressive attempt, but this person needs to brush up on Hilbert's Infinite Hotel Paradox if they want to be able to support infinite memory.