Anonymous user
Halt and catch fire: Difference between revisions
diverge in BLC
m (→{{header|Wren}}: Changed to Wren S/H) |
imported>Tromp (diverge in BLC) |
||
Line 103:
=={{header|C}}==
<syntaxhighlight lang="c">int main(){int a=0, b=0, c=a/b;}</syntaxhighlight>
=={{header|Binary Lambda Calculus}}==
BLC forces normal programs to start with a closed lambda term, by mapping free variables to the divergent Omega = <code>(\x.x x)(\x.x x)</code>, the lambda calculus equivalent of an infinite loop. That makes the following BLC program the smallest to catch fire:
</syntaxhighlight>10</syntaxhighlight>
=={{header|BQN}}==
|