Execute Brain****/Lua: Difference between revisions
m
Fixed syntax highlighting.
m (Changed `io.read()` to `io.read("*all")` (reads the entire input until EOF, not just one line).) |
m (Fixed syntax highlighting.) |
||
Line 2:
An implementation of a Brainf*** interpreter in [[Lua]].
<
program = io.read("*all")
Line 66:
if instr then instr() end
instruction = instruction + 1
end</
|