3 ms·
If you like APL, you might like one of its cousins, K. I've written a (buggy, incomplete!) K interpreter I call oK which similarly runs in your browser: https:
by RodgerTheGreat 11y ago
If you like APL, you might like one of its cousins, K.
I've written a (buggy, incomplete!) K interpreter I call oK which similarly runs in your browser: https://github.com/JohnEarnest/ok https://github.com/JohnEarnest/ok
Here's a nice little program which calculates terms of the "look-and-say" number sequence:
http://johnearnest.github.io/ok/index.html?run=%2010%7B%2C%2F%2B(%23%3A%3B*%3A)%40'%5C%3A_%5B%261%2C~%3D'%3Ax%5Dx%7D%5C%2C1 http://johnearnest.github.io/ok/index.html?run=%2010%7B%2C%2...
And another rather infamous example program:
http://johnearnest.github.io/ok/index.html?run=%20%7B(x%3B%22Fizz%22%3B%22Buzz%22%3B%22FizzBuzz%22)%40%2B%2F1%202*~3%205!x%7D'1%2B!50 http://johnearnest.github.io/ok/index.html?run=%20%7B(x%3B%2...
- rebootthesystem 11y agoI'd say, if you like APL, if you grok APL, you will not like J, K or anything that does away with the beauty and power of notation as a tool for thought.
- mollmerx 11y agoDo J and K really do away with notation as a tool of thought? I don't know much J, but my understanding of K is that it simply maps APL's functionality onto ASCII - and imo this transformation doesn't impact notation, especially once you have spent a decent amount of time reading it.