Convert Brainfuck to another language!

1

The Task

Write the shortest program, that accepts script in brainfuck from STDIN (or equivalent) and outputs to STDOUT (or equivalent) a program written in the SAME language you're using.

For example, if you write in Java, with the input

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.

The output can be

public class B {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

Jamie

Posted 2015-11-15T01:44:36.883

Reputation: 166

Question was closed 2015-11-15T01:50:32.217

Answers

4

Brainfuck, 5 bytes

+[,.]

This sentence circumvents the 30 char answer requirement.

Deusovi

Posted 2015-11-15T01:44:36.883

Reputation: 1 420