Execute Brain****/COBOL: Difference between revisions

m
Fixed syntax highlighting.
(Re-factored interpreter, removing subprogram and replacing with a REDEFINES.)
m (Fixed syntax highlighting.)
 
Line 1:
This is a simple [[Brainf***]] interpreter written in [[COBOL]], which receives its program from standard input.
{{works with|OpenCOBOL}}
<langsyntaxhighlight lang="cobol"> IDENTIFICATION DIVISION.
PROGRAM-ID. Brainfuck-Interpreter.
Line 109:
GOBACK
END-IF
.</langsyntaxhighlight>
9,476

edits