Copy stdin to stdout: Difference between revisions

Content added Content deleted
imported>Tromp
(cat in BLC)
imported>Tromp
Line 97: Line 97:
=={{header|Binary Lambda Calculus}}==
=={{header|Binary Lambda Calculus}}==


As explained on https://www.ioccc.org/2012/tromp/hint.html, the cat program is the 4-bit prgram
As explained on https://www.ioccc.org/2012/tromp/hint.html, `cat' is the 4-bit program


<syntaxhighlight>0010</syntaxhighlight>
<syntaxhighlight>0010</syntaxhighlight>


in bit-wise BLC, and any of the 16 characters in
in bit-wise BLC, or any of the 16 characters in the ASCII range from space to slash


<syntaxhighlight> !"#$%&'()*+,-./</syntaxhighlight>
<syntaxhighlight> !"#$%&'()*+,-./</syntaxhighlight>


for byte-wise BLC.
in byte-wise BLC.


=={{header|C}}==
=={{header|C}}==