Universal Lambda Machine: Difference between revisions

Content deleted Content added
imported>Tromp
add universal lambda machine in C
imported>Tromp
Add BLC self-interpreters
Line 35: Line 35:


Existing solutions may be found at https://rosettacode.org/wiki/Hello_world/Newbie#Binary_Lambda_Calculus
Existing solutions may be found at https://rosettacode.org/wiki/Hello_world/Newbie#Binary_Lambda_Calculus

=={{header|Binary Lambda Calculus}}==

The following are taken from the IOCCC entry at https://www.ioccc.org/2012/tromp/hint.html

Bit-wise:

<syntaxhighlight> 01010001
10100000
00010101
10000000
00011110
00010111
11100111
10000101
11001111
000000111
10000101101
1011100111110
000111110000101
11101001 11010010
11001110 00011011
00001011 11100001
11110000 11100110
11110111 11001111
01110110 00011001
00011010 00011010
</syntaxhighlight>

Byte-wise (showing https://www.ioccc.org/2012/tromp/uni8.Blc in hex):

<syntaxhighlight> 19468
05580
05f00
bfe5f
85f3f
03c2d
b9fc3f8
5e9d65e5f
0decb f0fc3
9befe 185f7
0b7fb 00cf6
7bb03 91a1a
</syntaxhighlight>


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