Simple python code for compile brainfuck program.

Overview

py-brainf*ck

Just a basic compiled that compiles your brainf*ck codes and gives you informations about memory, used cells, dumped version, logs etc...

Note: This compiler still have some bugs. If you wan't to fix, you just can fork & pull request

Config

Check config.json first, quick information about config.json;

{
    "MEM": 20, // MEM is the total cells for our brainfuck program.
    "DUMP_FILE": "./result/dump.py", // The dump file that will write when program finished and got some informations about the code. 
    "COMPILE_FILE": "./result/compiled.py", // The file that will write when brainfuck code turned into python code.
    "LOG_FILE": "./result/logs.txt", // Log file for our program actions.
    "DEBUG": true // Allow debug mode for compiler, will log everything to console.
}

Usage

Simple Usage; python compiler.py ./example/fibonacci.bf

Output: ... 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 ...

Lets check the ./result/dump.py;

# DUMP RESULT | 13/05/2021 16:59:13
# =======================================================
# TOTAL CELL GIVEN: 20
# TOTAL CELL USED: 4
# TOTAL BYTE USED: 309
# MEMORY DUMP: [
    # CELL_0 -> 0 BYTE
    # CELL_1 -> 144 BYTE
    # CELL_2 -> 89 BYTE
    # CELL_3 -> 0 BYTE
    # CELL_4 -> 0 BYTE
    # CELL_5 -> 44 BYTE
    # CELL_6 -> 32 BYTE
    # CELL_7 -> 0 BYTE
    # CELL_8 -> 0 BYTE
    # CELL_9 -> 0 BYTE
    # CELL_10 -> 0 BYTE
    # CELL_11 -> 0 BYTE
    # CELL_12 -> 0 BYTE
    # CELL_13 -> 0 BYTE
    # CELL_14 -> 0 BYTE
    # CELL_15 -> 0 BYTE
    # CELL_16 -> 0 BYTE
    # CELL_17 -> 0 BYTE
    # CELL_18 -> 0 BYTE
    # CELL_19 -> 0 BYTE
# ]

# MINIFIED VERSION: [
    # LINE_1 -> +++++++++++>+>>>>++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++
    # LINE_2 -> ++++++++++++++<<<<<<[>[>>>>>>+>+<<<<<<<-]>>>>>>>[<<<<<<<+>>>>>>>-]<[>++++++++++[
    # LINE_3 -> -<-[>>+>+<<<-]>>>[<<<+>>>-]+<[>[-]<[-]]>[<<[>>>+<<<-]>>[-]]<<]>>>[>>+>+<<<-]>>>[
    # LINE_4 -> <<<+>>>-]+<[>[-]<[-]]>[<<+>>[-]]<<<<<<<]>>>>>[++++++++++++++++++++++++++++++++++
    # LINE_5 -> ++++++++++++++.[-]]++++++++++<[->-<]>+++++++++++++++++++++++++++++++++++++++++++
    # LINE_6 -> +++++.[-]<<<<<<<<<<<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]<-[>>.>.<<<[-]]<<[>>+>+<<<-]>>
    # LINE_7 -> >[<<<+>>>-]<<[<+>-]>[<+>-]<<<-]
# ]
# =======================================================

import sys
memory, current, indent, compiled = [0 for byte in range(20)], 0, 0, ""

def change_byte(c, t, i = 1):
    if t == "+":
        if memory[c] + i <= 256:
            memory[c] += i
        else:
            memory[c] =  i % 255
    elif t == "-":
        if memory[c] - i >= 0:
            memory[c] -= i
        else:
            memory[c] = 256 - (i % 255)

change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
current = current + 1 if current < len(memory) - 1 else 0
change_byte(current, '+')
current = current + 1 if current < len(memory) - 1 else 0
current = current + 1 if current < len(memory) - 1 else 0
current = current + 1 if current < len(memory) - 1 else 0
current = current + 1 if current < len(memory) - 1 else 0
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
current = current + 1 if current < len(memory) - 1 else 0
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
change_byte(current, '+')
current = current - 1 if current > 0 else len(memory) - 1
current = current - 1 if current > 0 else len(memory) - 1
current = current - 1 if current > 0 else len(memory) - 1
current = current - 1 if current > 0 else len(memory) - 1
current = current - 1 if current > 0 else len(memory) - 1
current = current - 1 if current > 0 else len(memory) - 1

while memory[current] != 0:
    current = current + 1 if current < len(memory) - 1 else 0

    while memory[current] != 0:
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '-')

    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0

    while memory[current] != 0:
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '-')

    current = current - 1 if current > 0 else len(memory) - 1

    while memory[current] != 0:
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')

        while memory[current] != 0:
            change_byte(current, '-')
            current = current - 1 if current > 0 else len(memory) - 1
            change_byte(current, '-')

            while memory[current] != 0:
                current = current + 1 if current < len(memory) - 1 else 0
                current = current + 1 if current < len(memory) - 1 else 0
                change_byte(current, '+')
                current = current + 1 if current < len(memory) - 1 else 0
                change_byte(current, '+')
                current = current - 1 if current > 0 else len(memory) - 1
                current = current - 1 if current > 0 else len(memory) - 1
                current = current - 1 if current > 0 else len(memory) - 1
                change_byte(current, '-')

            current = current + 1 if current < len(memory) - 1 else 0
            current = current + 1 if current < len(memory) - 1 else 0
            current = current + 1 if current < len(memory) - 1 else 0

            while memory[current] != 0:
                current = current - 1 if current > 0 else len(memory) - 1
                current = current - 1 if current > 0 else len(memory) - 1
                current = current - 1 if current > 0 else len(memory) - 1
                change_byte(current, '+')
                current = current + 1 if current < len(memory) - 1 else 0
                current = current + 1 if current < len(memory) - 1 else 0
                current = current + 1 if current < len(memory) - 1 else 0
                change_byte(current, '-')

            change_byte(current, '+')
            current = current - 1 if current > 0 else len(memory) - 1

            while memory[current] != 0:
                current = current + 1 if current < len(memory) - 1 else 0

                while memory[current] != 0:
                    change_byte(current, '-')

                current = current - 1 if current > 0 else len(memory) - 1

                while memory[current] != 0:
                    change_byte(current, '-')


            current = current + 1 if current < len(memory) - 1 else 0

            while memory[current] != 0:
                current = current - 1 if current > 0 else len(memory) - 1
                current = current - 1 if current > 0 else len(memory) - 1

                while memory[current] != 0:
                    current = current + 1 if current < len(memory) - 1 else 0
                    current = current + 1 if current < len(memory) - 1 else 0
                    current = current + 1 if current < len(memory) - 1 else 0
                    change_byte(current, '+')
                    current = current - 1 if current > 0 else len(memory) - 1
                    current = current - 1 if current > 0 else len(memory) - 1
                    current = current - 1 if current > 0 else len(memory) - 1
                    change_byte(current, '-')

                current = current + 1 if current < len(memory) - 1 else 0
                current = current + 1 if current < len(memory) - 1 else 0

                while memory[current] != 0:
                    change_byte(current, '-')


            current = current - 1 if current > 0 else len(memory) - 1
            current = current - 1 if current > 0 else len(memory) - 1

        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0

        while memory[current] != 0:
            current = current + 1 if current < len(memory) - 1 else 0
            current = current + 1 if current < len(memory) - 1 else 0
            change_byte(current, '+')
            current = current + 1 if current < len(memory) - 1 else 0
            change_byte(current, '+')
            current = current - 1 if current > 0 else len(memory) - 1
            current = current - 1 if current > 0 else len(memory) - 1
            current = current - 1 if current > 0 else len(memory) - 1
            change_byte(current, '-')

        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0

        while memory[current] != 0:
            current = current - 1 if current > 0 else len(memory) - 1
            current = current - 1 if current > 0 else len(memory) - 1
            current = current - 1 if current > 0 else len(memory) - 1
            change_byte(current, '+')
            current = current + 1 if current < len(memory) - 1 else 0
            current = current + 1 if current < len(memory) - 1 else 0
            current = current + 1 if current < len(memory) - 1 else 0
            change_byte(current, '-')

        change_byte(current, '+')
        current = current - 1 if current > 0 else len(memory) - 1

        while memory[current] != 0:
            current = current + 1 if current < len(memory) - 1 else 0

            while memory[current] != 0:
                change_byte(current, '-')

            current = current - 1 if current > 0 else len(memory) - 1

            while memory[current] != 0:
                change_byte(current, '-')


        current = current + 1 if current < len(memory) - 1 else 0

        while memory[current] != 0:
            current = current - 1 if current > 0 else len(memory) - 1
            current = current - 1 if current > 0 else len(memory) - 1
            change_byte(current, '+')
            current = current + 1 if current < len(memory) - 1 else 0
            current = current + 1 if current < len(memory) - 1 else 0

            while memory[current] != 0:
                change_byte(current, '-')


        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1

    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0

    while memory[current] != 0:
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        change_byte(current, '+')
        sys.stdout.write(chr(memory[current]))

        while memory[current] != 0:
            change_byte(current, '-')


    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    current = current - 1 if current > 0 else len(memory) - 1

    while memory[current] != 0:
        change_byte(current, '-')
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '-')
        current = current - 1 if current > 0 else len(memory) - 1

    current = current + 1 if current < len(memory) - 1 else 0
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    change_byte(current, '+')
    sys.stdout.write(chr(memory[current]))

    while memory[current] != 0:
        change_byte(current, '-')

    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1

    while memory[current] != 0:
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '-')

    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0

    while memory[current] != 0:
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '-')

    current = current - 1 if current > 0 else len(memory) - 1
    change_byte(current, '-')

    while memory[current] != 0:
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        sys.stdout.write(chr(memory[current]))
        current = current + 1 if current < len(memory) - 1 else 0
        sys.stdout.write(chr(memory[current]))
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1

        while memory[current] != 0:
            change_byte(current, '-')


    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1

    while memory[current] != 0:
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '+')
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '-')

    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0
    current = current + 1 if current < len(memory) - 1 else 0

    while memory[current] != 0:
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '-')

    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1

    while memory[current] != 0:
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '-')

    current = current + 1 if current < len(memory) - 1 else 0

    while memory[current] != 0:
        current = current - 1 if current > 0 else len(memory) - 1
        change_byte(current, '+')
        current = current + 1 if current < len(memory) - 1 else 0
        change_byte(current, '-')

    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    current = current - 1 if current > 0 else len(memory) - 1
    change_byte(current, '-')

Well, thats a bit brain f*cks...

You might also like...
Would upload anything I do with/related to brainfuck

My Brainfu*k Repo Basically wanted to create something with Brainfu*k but realized that with the smol brain I have, I need to see the cell values real

This program generates automatically new folders containing old version of program

Automated Folder Versions Generator by Sergiy Grimoldi - V.0.0.2 This program generates automatically new folders containing old version of something

Birthday program - A program that lookups a birthday txt file and compares to the current date to check for birthdays
Birthday program - A program that lookups a birthday txt file and compares to the current date to check for birthdays

Birthday Program This is a program that lookups a birthday txt file and compares

A simple program to recolour simple png icon-like pictures with just one colour + transparent or white background. Resulting images all have transparent background and a new colour.

A simple program to recolour simple png icon-like pictures with just one colour + transparent or white background. Resulting images all have transparent background and a new colour.

Simple Denial of Service Program yang di bikin menggunakan bahasa pemograman Python,

Peringatan Tujuan kami share code Indo-DoS hanya untuk bertujuan edukasi / pembelajaran! Dilarang memperjual belikan source ini / memperjual-belikan s

Simple AoC helper program you can use to develop your own solutions in python.

AoC-Compabion Simple AoC helper program you can use to develop your own solutions in python. Simply install it in your python environment using pip fr

ESteg - A simple steganography program for python

ESteg A simple steganography program to embed the contents of a text file into a

A simple program which gets a file(CSV/Excel) with tasks and creates different variants

TestMakerProject A simple program which gets a file(CSV/Excel) with tasks and creates different variants The main program is QTengine.py You only have

A simple program to run through inputs for a 3n+1 problem

Author Tyler Windemuth Collatz_Conjecture A simple program to run through inputs for a 3n+1 problem Purpose: doesn't really have a purpose, did this t

Owner
Master Dumbass
null
One line Brainfuck interpreter in Python

One line Brainfuck interpreter in Python

null 16 Dec 21, 2022
A Brainfuck interpreter written in Python.

A Brainfuck interpreter written in Python.

Ethan Evans 1 Dec 5, 2021
⚙️ Compile, Read and update your .conf file in python

⚙️ Compile, Read and update your .conf file in python

Reece Harris 2 Aug 15, 2022
An implementation of an interpreter for the Brainfuck esoteric language in Python

Brainfuck Interpreter in Python An implementation of an interpreter for the Brainfuck esoteric language in Python. ?? The Brainfuck Language Created i

Carlos Santos 0 Feb 1, 2022
A brainfuck-based game oriented language written in python.

GF.py STILL WIP Gamefuck.py is a programming language based off brainfuck. It is oriented towards game development, and as such has many commands spec

Xenon 1 Feb 23, 2022
🦕 Compile Deno executables and compress them for all platforms easily

Denoc Compile Deno executables and compress them for all platforms easily. Install You can install denoc from PyPI like any other package: pip install

Eliaz Bobadilla 8 Apr 4, 2022
Compile Binary Ninja's HLIL IR to LLVM, for purposes of compiling it back to a binary again.

Compiles BinaryNinja's HLIL to LLVM Approach Sweep binary for global variables, create them Sweep binary for (used?) external functions, declare those

Kyle Martin 31 Nov 10, 2022
Encode and decode cancro lang files to and from brainfuck

cancrolang Encode and decode cancro lang files to and from brainfuck. examples python3 main.py -f hello.cancro --run Hello World! the interpreter is n

witer33 1 Dec 20, 2021
MindF**k it's a programming language as BrainFuck, but with some cool features.

MindF**k Description MindF**k it's a programming language as BrainFuck, but with some cool features. Symbol What does symbol mean > Next slot < Previo

tixcode 0 Jun 15, 2022
An Embedded Linux Project Build and Compile Tool -- An Bitbake UI Extension

Dianshao - An Embedded Linux Project Build and Compile Tool

null 0 Mar 27, 2022