Ad
  • Custom User Avatar

    why didnt you close the issue then ? ;-)

  • Custom User Avatar

    @DreadSquirre1 I think you are misunderstanding the task. Your BF code returns "Hello World!" however that is not the task. The task is to accept a string, and to output a brainfuck program which when run, will produce the original string.

    So if the input is "Hello World!" then your BF program should produce -[------->+<]>-.-[->+++++<]>++.+++++++..+++.[--->+<]>-----.---[->+++<]>.-[--->+<]>---.+++.------.--------.-[--->+<]>. (or some other equivalent program) as output.

    Basically, if you are solving this kata in Brainfuck, your task is to generate brainfuck code in brainfuck.

  • Custom User Avatar

    I run this code in a couple of interpreters and it seems to return Hello World! in all of them. The kata does not seem to be broken. Why exactly do you think it's broken, and how does the example not work for you?