JohnEarnest/ok
View on GitHub ↗ ★ 654 JavaScript
An open-source interpreter for the K5 programming language.
89 mentions on Hacker News by 37 people: 14 stories, 75 comments · first 2015-02-13 · latest 2026-07-29
20082026
-
▲ 3
Treesstory by tosh · 2026-07-29 · 0 comments
-
…https://github.com/ktye/i k6 ngn/growler (C): https://codeberg.org/growler/k oK (JavaScript): https://github.com/JohnEarnest/ok kiwi (Zig): https://github.com/kiwi-array-lang/kiwi k3 kona (C): https://github.com/kevinlawler/kona gk (C):…
comment by tosh · 2026-05-23 · in Thinking in an array language (2022) -
ty, I made a pull request: https://github.com/JohnEarnest/ok/pull/111
comment by tosh · 2026-03-02 · in Programming in K -
▲ 67
Programming in Kstory by tosh · 2026-02-26 · 12 comments
-
…"iKe", a visual livecoding environment. ngn/k and oK have diverged a bit, but are largely similar: https://github.com/JohnEarnest/ok Q is a K-derived language built into kdb+; this is probably the most commercially viable dialect to learn,…
comment by RodgerTheGreat · 2025-11-12 · in Array-programming the Mandelbrot set -
…interpreter [0] which has a graphical env to play around with as well. Lil takes a lot from it. [0] https://github.com/JohnEarnest/ok
comment by anonzzzies · 2024-05-08 · in Decker: A reincarnation of HyperCard with 1-bit graphics -
▲ 4
Treesstory by tosh · 2024-01-20 · 0 comments
-
▲ 3
Programming in Kstory by tosh · 2024-01-20 · 0 comments
-
▲ 3
Programming in Kstory by tosh · 2024-01-18 · 0 comments
-
…reasonably comprehensive open-source k implementations: https://github.com/kevinlawler/kona (k3) https://github.com/JohnEarnest/ok (k6, js-based) https://codeberg.org/ngn/k (k6, c-based) even today, many k programmers learn from the k2…
comment by RodgerTheGreat · 2024-01-08 · in k on pdp11 -
This - https://github.com/JohnEarnest/ok - can also be used sometimes...
comment by avmich · 2024-01-04 · in Origins of J -
▲ 19
Trees in Kstory by tosh · 2023-12-16 · 1 comment
-
…sense to you. But that name will probably be longer than its definition, and less flexible. [1] https://github.com/JohnEarnest/ok/blob/gh-pages/examples/idi...
comment by hoosieree · 2023-06-06 · in Why Lisp Syntax Works -
…the author is active in the above element server, and still patches bugs and makes updates. [0] https://github.com/JohnEarnest/ok [1] https://matrix.to/#/#aplfarm-k:matrix.org [2] https://ngn.codeberg.page/k/#
comment by scrawl · 2023-04-03 · in Animated Unknown Pleasures in 3 lines of K (2015) -
…It has a repl as well in: https://johnearnest.github.io/ok/ you can find source here: https://github.com/JohnEarnest/ok and manual here: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... If this is the entirety of K -…
comment by a-saleh · 2023-04-03 · in Animated Unknown Pleasures in 3 lines of K (2015) -
…are some open source clones like: https://codeberg.org/ngn/k https://github.com/kevinlawler/kona https://github.com/JohnEarnest/ok , and inspired languages: http://t3x.org/klong/
comment by t-3 · 2023-04-01 · in APLcart – Find your way in APL -
…https://github.com/kevinlawler/kona alto a javascript implementation even with a graphics library : https://github.com/JohnEarnest/ok edit : assuming you were talking about k and not freq
comment by maximus-decimus · 2023-03-31 · in K: We need to talk about group -
…and graphics and sound primitives. Amazing and fun stuff! [1] https://beyondloom.com/decker/ [2] https://github.com/JohnEarnest/ok
comment by eggy · 2022-12-26 · in The Psychedelic Inspiration for Hypercard (2018) -
…should work identically on both. Q: https://code.kx.com/q/ ngn/k: https://codeberg.org/ngn/k oK: https://github.com/JohnEarnest/ok/
comment by hoosieree · 2022-12-08 · in Advent of q 2022 -
…attempt, but there's still a lot of it that I regret. [0]: https://github.com/HoangTuan110/owu [1]: https://github.com/JohnEarnest/ok
comment by memorable · 2022-11-20 · in Ask HN: What is the thing you've built that you regret the most? -
…which has a similar style, although more clean and a little bit more readable IMO than LIL. [0]: https://github.com/JohnEarnest/ok
comment by memorable · 2022-11-05 · in Decker: A Multimedia Sketchpad -
Ah! Another jewel from the creator of oK [0]! [0] https://github.com/JohnEarnest/ok
comment by tluyben2 · 2022-10-29 · in Decker, a platform that builds on the legacy of Hypercard and classic macOS -
https://github.com/JohnEarnest/ok/tree/gh-pages/ike https://beyondloom.com/tools/specialk.html
comment by RodgerTheGreat · 2022-07-09 · in APL and Array Programming -
…the best one-stop shop for an overview of k6's primitives (both ngn/k and oK are based on k6). https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... The best intro examples are in John Earnest's k editor iKe - there's a dropdown…
comment by chrispsn · 2022-05-13 · in K – A simple, fast vector programming language -
…etc. In practice it is needed very rarely. There's a complete list of adverb forms for k6 here: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual....
comment by RodgerTheGreat · 2021-11-26 · in Loopless Code (2006) -
…less, I'd say it's great as a beginner language. With the existence of new docs like the oK docs( https://github.com/JohnEarnest/ok/blob/gh-pages/docs/ ) and the wiki( https://k.miraheze.org/ ), it is getting much easier to learn K.
comment by razetime · 2021-09-13 · in I got the J language working on OpenBSD -
Where to start reading: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... maybe If you ever feel like trying it again, and get stuck on something, https://chat.stackexchange.com/rooms/90748/the-k-tree is the place to ask :)
comment by rak1507 · 2021-08-10 · in Stages of Denial -
(For reference: https://github.com/JohnEarnest/ok )
comment by exikyut · 2021-04-21 · in Lisp in Forth -
…tech in a novel, unexpected way. [1] https://extemporelang.github.io/ [2] https://nannou.cc/ [3] https://github.com/JohnEarnest/ok [4] https://github.com/JohnEarnest/ok/tree/gh-pages/ike
comment by eggy · 2020-12-17 · in Creative Code-Generated Art -
…I had more to offer, but here's one neat implementation of K that I found through HN a while back: https://github.com/JohnEarnest/ok I love the little Web UI this guy wrote along with it as well.
comment by arthurcolle · 2020-11-03 · in Ask HN: Alternatives to q/kdb? -
This is why I wrote a cell-phone-friendly frontend for my K interpreter: https://github.com/JohnEarnest/ok#mobile I agree, though- dedicated tactile buttons will always be nicer for a calculator.
comment by RodgerTheGreat · 2020-09-27 · in DM41x: a modern take on the HP-41CX -
▲ 3
Programming in K (2016)story by tosh · 2020-08-26 · 0 comments
-
▲ 2
From K5 to K6story by anonu · 2020-03-15 · 0 comments
-
…seem to be with databases (not math), but it's also pretty great for interactive graphics: https://github.com/JohnEarnest/ok/tree/gh-pages/ike I work at the same company as the author, and we use K3 for all kinds of things -- system…
comment by tangentstorm · 2020-03-11 · in Stages of denial in encountering K -
APL and K does fit mine, J doesn't. Perhaps it would help you to start with K (e.g. https://github.com/JohnEarnest/ok is free, has a web repl with interactive graphics and stuff) In a way, K is a cross of C and APL; K is the essence of APL…
comment by beagle3 · 2020-02-17 · in A Paper Algorithm Notation (2014) -
…a number of interesting toy interpreters on his site[2], particularly concatenative languages. [0] https://github.com/JohnEarnest/ok/blob/gh-pages/oK.js [1] https://github.com/JohnEarnest/Mako/blob/master/demos/FiDo.f... [2] http://nsl.com
comment by RodgerTheGreat · 2020-02-13 · in A bestiary of single-file implementations of programming languages -
…little more than bindings that supply appropriate IO capabilities, you can even write games in K: https://github.com/JohnEarnest/ok/blob/gh-pages/ike/examples... https://github.com/JohnEarnest/ok/blob/gh-pages/ike/examples...
comment by RodgerTheGreat · 2020-01-10 · in ngn/k, an AGPL K interpreter -
> k doesn't have Yes it has. https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... for OK (the K interpreter in iKe)
comment by lelf · 2019-12-26 · in iKe: a browser-based sandbox for K -
More context/explanation, and a little livecoding demo, can be found on the github page: https://github.com/JohnEarnest/ok/tree/gh-pages/ike And here's another demo, showing the creation of a voronoi diagram from points. This might better…
comment by RodgerTheGreat · 2019-12-26 · in iKe: a browser-based sandbox for K -
▲ 1
Trees (in k)story by tosh · 2019-12-02 · 0 comments
-
…I translated some of Aaron Hsu's APL ideas into k5. With a little massaging they work just as well: https://github.com/JohnEarnest/ok/blob/gh-pages/examples/key...
comment by RodgerTheGreat · 2019-12-02 · in Bryan Cantrill interviews Arthur Whitney (2009) -
…also details how trees are handled in K (an array based language invented by Arthur Whitney). https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Trees.m...
comment by vchak1 · 2019-12-02 · in Bryan Cantrill interviews Arthur Whitney (2009) -
▲ 1
okstory by tosh · 2019-10-18 · 0 comments
-
▲ 2
iKestory by chrispsn · 2019-10-01 · 0 comments
-
…it in your browser and the documentation is pretty good. http://johnearnest.github.io/ok/index.html https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Program...
comment by ksherlock · 2019-08-10 · in Build Your Own Text Editor -
Just in case you want to look at the sources of something similar, here is a good one: https://github.com/JohnEarnest/ok
comment by avmich · 2019-04-15 · in K7 Tutorial -
A more up to date version: https://github.com/JohnEarnest/ok
comment by sansnomme · 2019-03-27 · in Arthur Whitney's 'B' Language -
…(after the K2 manual). But if you are interested in it, John Earnest wrote a nice documentation: https://github.com/JohnEarnest/ok/tree/gh-pages/docs
comment by pvitz · 2019-03-18 · in K7 Tutorial -
I take a look at https://github.com/JohnEarnest/ok/blob/gh-pages/oK.js and is still dense. Is possible to trace things but the important stuff is understand why things are done that way. I read also https://sblom.github.io/openj-core/ioj.ht…
comment by mamcx · 2018-09-05 · in How the Go runtime implements maps efficiently without generics