Execute Brain****: Difference between revisions

Content added Content deleted
No edit summary
(→‎{{header|AWK}}: Add output)
Line 166: Line 166:


Depends on dd and xd, but works!
Depends on dd and xd, but works!

Expects the program (not the program file) to be the first argument to the script. Cells don't wrap (trivial if desired) and the code and arena are unbounded.


<lang AWK>BEGIN {
<lang AWK>BEGIN {
Line 228: Line 230:
}
}
</lang>
</lang>

{{output}}

<pre>$ awk -f /tmp/bf.awk '++++++++++[>+>+++>++++>+++++++>++++++++>+++++++++>++++++++++>+++++++++++>++++++++++++<<<<<<<<<-]>>>>+.>>>>+..<.<++++++++.>>>+.<<+.<<<<++++.<++.>>>+++++++.>>>.+++.<+++++++.--------.<<<<<+.<+++.---.'
</pre>


=={{header|BASIC}}==
=={{header|BASIC}}==