|
|
|
|
|
by tromp
1193 days ago
|
|
LAST is an interesting variation, that is in essence identical to the oddly named "Real Fast Nora's Hair Salon 3: Shear Disaster Download" language [1].
Instead of L A S T, it names the 4 tokens LAMBDA APP ONE_MORE_THAN ZERO.
I noticed that using two separate tokens for variable handling allows BLC to interpret LAST in only 193 bits. Still, I suspect that for most programs, the savings from S-optimization do not quite make up for the (n-1) extra bits needed for every occurrence of variable n. What would for instance be the length of the shortest LAST program for the prime number character sequence, which takes 167 bits in BLC? > I wonder what are the assumptions behind this conjecture. I chose 24 bytes because it's a nice round number (3 * 2^3 * 2^3 bits) that sat a seemingly comfortable 14 bit margin below my best effort. The conjecture assumes a binary input, that must be read bit-by-bit. How long is your LAST self-interpreter with a binary rather than quaternary input? [1] https://esolangs.org/wiki/Real_Fast_Nora%27s_Hair_Salon_3:_S... |
|