Anonymous user
Hello world/Newbie: Difference between revisions
add newbie instructions for BLC
imported>Arakov |
imported>Tromp (add newbie instructions for BLC) |
||
Line 503:
Once the program finishes, you should have:
<pre>Hello World!</pre>
=={{header|Binary Lambda Calculus}}==
Although https://www.ioccc.org/2012/tromp/hint.html explains how to compile the obfuscated C code at https://www.ioccc.org/2012/tromp/tromp.c to run
<syntaxhighlight>echo " Hello, world" | ./tromp</syntaxhighlight>
I find that the modern clang compiler cannot compile tromp.c Luckily https://github.com/tromp/AIT offers alternative implementations of the lambda universal machine in many languages:
* C: uni.c
* Perl: uni.pl
* Python: uni.py
* Javascript: uni.js
* Ruby: uni.rb
For example, one can run
<syntaxhighlight lang="bash">wget https://github.com/tromp/AITuni.pl
echo " Hello, world" | ./uni.pl</syntaxhighlight>
=={{header|BQN}}==
|