News for hackers. Stuff that matters.
Re:Arthur Whitney releases an open-source K with MIT license by t-3 on Saturday June 01, 2024 @06:43AM (#40544526)
That's the "Whitney style". See: https://code.jsoftware.com/wiki/Essays/Incunabulum

It's writing C in array-language style rather than intentional obfuscation.

Re:Arthur Whitney releases an open-source K with MIT license by jiripospisil on Saturday June 01, 2024 @06:59AM (#40544610)
Thanks. I'm now reading this where people are trying to explain what happened in the ref/ directory.

https://github.com/kparc/ksimple/blob/main/a.c

Re:Arthur Whitney releases an open-source K with MIT license by dcuthbertson on Saturday June 01, 2024 @07:39AM (#40544876)
Thanks for that link. The comments there help a lot. If I understand them, this is a minimal implementation of K with a lot of limitations, such as:

"the only supported atom/vector type is 8bit integer, so beware of overflows"

Still, it's fascinating how an interpreter can be written with such a small amount of code.

Re:Arthur Whitney releases an open-source K with MIT license by tromp on Saturday June 01, 2024 @08:17AM (#40545111)
An interpreter for BLC, including tokenizing, parsing, and evaluation, can be written in as few as 29 bytes of BLC (and 650 bytes of C).
Re:Arthur Whitney releases an open-source K with MIT license by tasuki on Saturday June 01, 2024 @10:11AM (#40545891)
John, do tell more about BLC please!
Re:Arthur Whitney releases an open-source K with MIT license by tromp on Saturday June 01, 2024 @10:21AM (#40545975)
There's more at http://tromp.github.io/cl/cl.html including the LispNYC talk I gave last year.
Re:Arthur Whitney releases an open-source K with MIT license by tasuki on Sunday June 02, 2024 @10:34AM (#40554505)
Thank you!
Re:Arthur Whitney releases an open-source K with MIT license by im3w1l on Saturday June 01, 2024 @10:06AM (#40545847)
Personally I believe in a sort of "evolution" of software that operates independently of intentions of the programmers.

I can totally believe that he didn't intentionally obfuscate it, but its incomprehensibility made it harder for other people to make a knockoff and thats why it survived and became successful.