Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

NameGoesThere/BrainfuckToC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Made this in like 10 minutes lol.

Calculator Generated With This

(https://github.com/DouglasLiuDev/Brainfuck-Calculator/tree/master)

#include <stdio.h>
#include <conio.h>
char tape[30000];
int ptr = 0;
int main()
{
    tape[ptr] = (tape[ptr] + 1) % 256;
    ++ptr;
    tape[ptr] = (tape[ptr] + 1) % 256;
    ++ptr;
    tape[ptr] = (tape[ptr] + 1) % 256;
    ++ptr;
    tape[ptr] = (tape[ptr] + 1) % 256;
    ++ptr;
    ++ptr;
    ++ptr;
    tape[ptr] = getch();
    printf("%c",tape[ptr]);
    ++ptr;
    tape[ptr] = (tape[ptr] + 1) % 256;
    tape[ptr] = (tape[ptr] + 1) % 256;
    tape[ptr] = (tape[ptr] + 1) % 256;
    tape[ptr] = (tape[ptr] + 1) % 256;
    while (tape[ptr] != 0){
        --ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        }
    --ptr;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        --ptr;
        while (tape[ptr] != 0){
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        tape[ptr] = getch();
        printf("%c",tape[ptr]);
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        while (tape[ptr] != 0){
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            ++ptr;
            ++ptr;
            ++ptr;
            ++ptr;
            ++ptr;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            while (tape[ptr] != 0){
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                tape[ptr] = (tape[ptr] - 1) % 256;
                while (tape[ptr] != 0){
                    --ptr;
                    --ptr;
                    --ptr;
                    --ptr;
                    --ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    while (tape[ptr] != 0){
                        --ptr;
                        --ptr;
                        --ptr;
                        --ptr;
                        --ptr;
                        --ptr;
                        --ptr;
                        tape[ptr] = (tape[ptr] + 1) % 256;
                        ++ptr;
                        tape[ptr] = (tape[ptr] + 1) % 256;
                        ++ptr;
                        tape[ptr] = (tape[ptr] + 1) % 256;
                        ++ptr;
                        ++ptr;
                        ++ptr;
                        ++ptr;
                        ++ptr;
                        while (tape[ptr] != 0){
                            --ptr;
                            tape[ptr] = (tape[ptr] + 1) % 256;
                            ++ptr;
                            tape[ptr] = (tape[ptr] - 1) % 256;
                            }
                        }
                    }
                }
            }
        --ptr;
        }
    ++ptr;
    tape[ptr] = getch();
    printf("%c",tape[ptr]);
    ++ptr;
    tape[ptr] = (tape[ptr] + 1) % 256;
    tape[ptr] = (tape[ptr] + 1) % 256;
    tape[ptr] = (tape[ptr] + 1) % 256;
    tape[ptr] = (tape[ptr] + 1) % 256;
    while (tape[ptr] != 0){
        --ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        }
    --ptr;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    tape[ptr] = (tape[ptr] - 1) % 256;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        --ptr;
        while (tape[ptr] != 0){
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        tape[ptr] = getch();
        printf("%c",tape[ptr]);
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            tape[ptr] = (tape[ptr] - 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        tape[ptr] = (tape[ptr] - 1) % 256;
        while (tape[ptr] != 0){
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                while (tape[ptr] != 0){
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    while (tape[ptr] != 0){
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        while (tape[ptr] != 0){
                            tape[ptr] = (tape[ptr] - 1) % 256;
                            while (tape[ptr] != 0){
                                tape[ptr] = (tape[ptr] - 1) % 256;
                                while (tape[ptr] != 0){
                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                    while (tape[ptr] != 0){
                                        tape[ptr] = (tape[ptr] - 1) % 256;
                                        while (tape[ptr] != 0){
                                            tape[ptr] = (tape[ptr] - 1) % 256;
                                            while (tape[ptr] != 0){
                                                --ptr;
                                                while (tape[ptr] != 0){
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    }
                                                ++ptr;
                                                while (tape[ptr] != 0){
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        --ptr;
        }
    --ptr;
    --ptr;
    --ptr;
    --ptr;
    --ptr;
    --ptr;
    --ptr;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        while (tape[ptr] != 0){
            ++ptr;
            while (tape[ptr] != 0){
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            while (tape[ptr] != 0){
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        }
    ++ptr;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        }
    ++ptr;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        --ptr;
        while (tape[ptr] != 0){
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            --ptr;
            while (tape[ptr] != 0){
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            }
        ++ptr;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            ++ptr;
            while (tape[ptr] != 0){
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            ++ptr;
            ++ptr;
            }
        --ptr;
        --ptr;
        --ptr;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            while (tape[ptr] != 0){
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            while (tape[ptr] != 0){
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                --ptr;
                while (tape[ptr] != 0){
                    --ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    ++ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    }
                }
            ++ptr;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                ++ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    --ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    }
                ++ptr;
                ++ptr;
                ++ptr;
                }
            --ptr;
            --ptr;
            --ptr;
            }
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        }
    ++ptr;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            --ptr;
            --ptr;
            --ptr;
            while (tape[ptr] != 0){
                ++ptr;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            ++ptr;
            ++ptr;
            while (tape[ptr] != 0){
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            --ptr;
            --ptr;
            while (tape[ptr] != 0){
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            ++ptr;
            while (tape[ptr] != 0){
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                --ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    --ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    }
                ++ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    --ptr;
                    while (tape[ptr] != 0){
                        --ptr;
                        tape[ptr] = (tape[ptr] + 1) % 256;
                        ++ptr;
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        }
                    }
                ++ptr;
                while (tape[ptr] != 0){
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    --ptr;
                    --ptr;
                    --ptr;
                    --ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    --ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    --ptr;
                    --ptr;
                    while (tape[ptr] != 0){
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        }
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    while (tape[ptr] != 0){
                        --ptr;
                        --ptr;
                        --ptr;
                        --ptr;
                        tape[ptr] = (tape[ptr] + 1) % 256;
                        ++ptr;
                        ++ptr;
                        ++ptr;
                        ++ptr;
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        }
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    }
                --ptr;
                --ptr;
                --ptr;
                }
            ++ptr;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            --ptr;
            --ptr;
            }
        --ptr;
        --ptr;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        while (tape[ptr] != 0){
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        }
    ++ptr;
    ++ptr;
    ++ptr;
    while (tape[ptr] != 0){
        ++ptr;
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            while (tape[ptr] != 0){
                ++ptr;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            ++ptr;
            ++ptr;
            ++ptr;
            while (tape[ptr] != 0){
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                while (tape[ptr] != 0){
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    while (tape[ptr] != 0){
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        while (tape[ptr] != 0){
                            tape[ptr] = (tape[ptr] - 1) % 256;
                            while (tape[ptr] != 0){
                                tape[ptr] = (tape[ptr] - 1) % 256;
                                while (tape[ptr] != 0){
                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                    while (tape[ptr] != 0){
                                        tape[ptr] = (tape[ptr] - 1) % 256;
                                        while (tape[ptr] != 0){
                                            tape[ptr] = (tape[ptr] - 1) % 256;
                                            while (tape[ptr] != 0){
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                while (tape[ptr] != 0){
                                                    ++ptr;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    --ptr;
                                                    --ptr;
                                                    --ptr;
                                                    --ptr;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    ++ptr;
                                                    tape[ptr] = (tape[ptr] + 1) % 256;
                                                    ++ptr;
                                                    ++ptr;
                                                    while (tape[ptr] != 0){
                                                        tape[ptr] = (tape[ptr] - 1) % 256;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            ++ptr;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                ++ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    }
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                while (tape[ptr] != 0){
                    --ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    ++ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    }
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                while (tape[ptr] != 0){
                    --ptr;
                    }
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    ++ptr;
                    while (tape[ptr] != 0){
                        ++ptr;
                        }
                    --ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    while (tape[ptr] != 0){
                        --ptr;
                        }
                    --ptr;
                    --ptr;
                    --ptr;
                    --ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    }
                ++ptr;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                --ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    --ptr;
                    while (tape[ptr] != 0){
                        --ptr;
                        tape[ptr] = (tape[ptr] + 1) % 256;
                        ++ptr;
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        }
                    }
                ++ptr;
                ++ptr;
                ++ptr;
                }
            --ptr;
            --ptr;
            }
        ++ptr;
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            ++ptr;
            }
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        ++ptr;
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        ++ptr;
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            }
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        }
    ++ptr;
    tape[ptr] = (tape[ptr] + 1) % 256;
    while (tape[ptr] != 0){
        --ptr;
        --ptr;
        while (tape[ptr] != 0){
            ++ptr;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            ++ptr;
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        tape[ptr] = (tape[ptr] + 1) % 256;
        --ptr;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            while (tape[ptr] != 0){
                tape[ptr] = (tape[ptr] - 1) % 256;
                while (tape[ptr] != 0){
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    while (tape[ptr] != 0){
                        tape[ptr] = (tape[ptr] - 1) % 256;
                        while (tape[ptr] != 0){
                            tape[ptr] = (tape[ptr] - 1) % 256;
                            while (tape[ptr] != 0){
                                tape[ptr] = (tape[ptr] - 1) % 256;
                                while (tape[ptr] != 0){
                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                    while (tape[ptr] != 0){
                                        tape[ptr] = (tape[ptr] - 1) % 256;
                                        while (tape[ptr] != 0){
                                            tape[ptr] = (tape[ptr] - 1) % 256;
                                            while (tape[ptr] != 0){
                                                ++ptr;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                --ptr;
                                                --ptr;
                                                --ptr;
                                                --ptr;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                tape[ptr] = (tape[ptr] - 1) % 256;
                                                ++ptr;
                                                tape[ptr] = (tape[ptr] + 1) % 256;
                                                ++ptr;
                                                ++ptr;
                                                while (tape[ptr] != 0){
                                                    tape[ptr] = (tape[ptr] - 1) % 256;
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        ++ptr;
        while (tape[ptr] != 0){
            tape[ptr] = (tape[ptr] - 1) % 256;
            ++ptr;
            ++ptr;
            while (tape[ptr] != 0){
                ++ptr;
                }
            ++ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            while (tape[ptr] != 0){
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                tape[ptr] = (tape[ptr] + 1) % 256;
                ++ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            while (tape[ptr] != 0){
                --ptr;
                }
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            --ptr;
            while (tape[ptr] != 0){
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                ++ptr;
                while (tape[ptr] != 0){
                    ++ptr;
                    }
                --ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                while (tape[ptr] != 0){
                    --ptr;
                    }
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                --ptr;
                tape[ptr] = (tape[ptr] - 1) % 256;
                }
            ++ptr;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            --ptr;
            while (tape[ptr] != 0){
                ++ptr;
                tape[ptr] = (tape[ptr] + 1) % 256;
                --ptr;
                while (tape[ptr] != 0){
                    --ptr;
                    tape[ptr] = (tape[ptr] + 1) % 256;
                    ++ptr;
                    tape[ptr] = (tape[ptr] - 1) % 256;
                    }
                }
            ++ptr;
            ++ptr;
            ++ptr;
            }
        --ptr;
        --ptr;
        }
    --ptr;
    --ptr;
    --ptr;
    while (tape[ptr] != 0){
        tape[ptr] = (tape[ptr] - 1) % 256;
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        ++ptr;
        while (tape[ptr] != 0){
            ++ptr;
            }
        ++ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            tape[ptr] = (tape[ptr] + 1) % 256;
            ++ptr;
            tape[ptr] = (tape[ptr] - 1) % 256;
            }
        --ptr;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        tape[ptr] = (tape[ptr] + 1) % 256;
        while (tape[ptr] != 0){
            --ptr;
            }
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        --ptr;
        }
    ++ptr;
    ++ptr;
    ++ptr;
    ++ptr;
    ++ptr;
    ++ptr;
    ++ptr;
    while (tape[ptr] != 0){
        ++ptr;
        }
    --ptr;
    while (tape[ptr] != 0){
        printf("%c",tape[ptr]);
        --ptr;
        }
}

About

Why did I make this

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages