1
\$\begingroup\$

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!");
    }
}
\$\endgroup\$
0

1 Answer 1

6
\$\begingroup\$

Brainfuck, 5 bytes

+[,.]

This sentence circumvents the 30 char answer requirement.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.