Lazy K

Lazy K is one of those esoteric languages that's meant only as a theoretical exercise, or cruel joke, depending on your perspective. It tickles my fancy for a few reasons:

First, it has multiple syntaxes: lisp-style s-expressions, Jot style binary, and Unlambda style backticks. Each syntax looks different. It's like having a whole new language for every day of the week (except monday and weekends)!

Second, my name starts with K.

Third, it's lazy. :)

Fourth, John Tromp, the author, has a delicately balanced sense of humor: "the identity function is a program which copies its input to its output. Since Lazy K's syntax is such that the empty program is the identity function, the behavior of the UNIX cat utility (without arguments) can be expressed at least as compactly in Lazy K as in any other language."

Fifth, it comes with a compiler so that you can actually write Lazy K programs without going insane.

Thanks to Bill Glover for pointing me at Lazy K.

Posted on July 8, 2004 03:22 PM
More languages articles

Comments

Speaking of not going insane, could we have a URL to Lazy K? Bill Glover didn't have one, John Tromp didn't have one, top Google hits were for dude ranches.

Posted by: Ralph Richard Cook at July 9, 2004 02:53 PM

Oops! I originally had one, but then I edited the text and it became collateral damage. Fixed.

Posted by: Kim at July 9, 2004 02:59 PM
Post a comment









Remember info?




Prove you're human. Type "human":