ibnunes / fpbrainfuck

Brainfuck interpreter for Free Pascal
GNU General Public License v3.0
0 stars 0 forks source link

Restrict stdout to interpreted code's output; use stderr for everything else #10

Open pwseo opened 7 years ago

pwseo commented 7 years ago

Output should consist (ideally) of only the characters printed by the brainfuck code being interpreted. If we really need to output information from the compiler, stderr (or its Pascal equivalent) should be used, in order to cleanly separate output types.

ibnunes commented 7 years ago

Thanks for pointing that out. The standard output is used, for now, just for development purposes. Once I get a final version with no apparent bugs and with a code I enjoy, everything unnecessary will be removed.

pwseo commented 7 years ago

It will still make things harder for you when testing larger brainfuck programs whose output you could simply diff with a reference to make sure things are working.