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
-
Some other k-inspired languages to have a look at: - https://github.com/johnearnest/ok - https://github.com/zholos/kuc - https://github.com/ngn/k - http://t3x.org/klong/ - https://github.com/tlack/xxl
comment by srpeck · 2017-01-25 · in 1.1B Taxi Rides on Kdb+/q and 4 Xeon Phi CPUs -
…constructs as well as give you job opportunities you would not think of possibly later on. Edit2: https://github.com/JohnEarnest/ok is interesting for playing around by the way
comment by tluyben2 · 2017-01-22 · in 'Q for Mortals' Version 3 book available online -
…for doing web scraping with it, but I have found it pleasant to use so far. Docs can be found here: https://github.com/JohnEarnest/ok#mobile
comment by RodgerTheGreat · 2016-12-17 · in Notation as a Tool of Thought (1979) -
…dense style by JavaScript standards, but perhaps you'll find it less impenetrable than others? https://github.com/JohnEarnest/ok/blob/gh-pages/oK.js I'd be happy to try to answer any questions you might have about it.
comment by RodgerTheGreat · 2016-10-25 · in Ask HN: What cool development languages/tools changed your career? -
Non-mobile: http://johnearnest.github.io/ok/ Repo: https://github.com/JohnEarnest/ok
comment by tetrep · 2016-10-19 · in OK mobile, a K interpreter -
The K implementation isn't done in one long line and has indentation and spacing: https://github.com/JohnEarnest/ok/blob/gh-pages/oK.js I'm confused.
comment by redtrucker · 2016-10-16 · in OK: An open-source interpreter for the K5 programming language -
…which makes it possible to write interactive graphical programs in K and easily share them: https://github.com/JohnEarnest/ok/tree/gh-pages/ike For example, recently I wrote this program which generates abstract art every time you press a…
comment by RodgerTheGreat · 2016-10-16 · in OK: An open-source interpreter for the K5 programming language -
…docs in John Earnest's ('RodgerTheGreat) oK interpreter a succinct, example-focused introduction: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... Plus using his browser-based REPL ( http://johnearnest.github.io/ok/index.html…
comment by srpeck · 2016-06-18 · in Data Analysis with Vector Functional Programming [video] -
…and http://johnearnest.github.io/ok/ike/ike.html?gist=b741444d04... https://github.com/JohnEarnest/ok/tree/gh-pages/ike https://github.com/JohnEarnest/ok And related APL/J/K subreddit: https://www.reddit.com/r/apljk/
comment by srpeck · 2016-05-10 · in Time Series, the new shiny? -
…drop a plug for iKe, a sandbox for writing interactive, graphical sketches in your browser using K: https://github.com/JohnEarnest/ok/tree/gh-pages/ike
comment by RodgerTheGreat · 2016-04-25 · in The K Language -
…with blanks p: {`0:" > ";*0:`}; / prompt for a letter {~&/c[x]}{`0:b[x]; x,p[]}/"__"; `0:w,"\n"; https://github.com/JohnEarnest/ok/blob/gh-pages/examples/han...
comment by RodgerTheGreat · 2016-02-07 · in Show HN: Hangman in 3 lines of Python -
…called oK[2], which targets K5. Good hunting! [1] https://github.com/kevinlawler/kona [2] https://github.com/JohnEarnest/ok
comment by RodgerTheGreat · 2015-12-18 · in Beginnings of K interpreter written in OCaml -
…There's a manual, and a guide to some programming techniques here: https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Manual.... https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Program... Examples and more discussion c
comment by RodgerTheGreat · 2015-11-19 · in Klong – a simple array language -
…(and am working on) a K interpreter in JavaScript called "oK". Might be useful to compare notes: https://github.com/JohnEarnest/ok I'll have a deeper look at Klong's implementation when I have time to see if there are tricks worth…
comment by RodgerTheGreat · 2015-11-18 · in Klong – a simple array language -
The github for the project itself, along with the manual, is here: https://github.com/JohnEarnest/ok/tree/gh-pages/ike
comment by RodgerTheGreat · 2015-10-01 · in iKe: Browser-based k-family language IDE -
…oK.js, the funky, bright JavaScript implementation that is quickly becoming a busy place on Github: https://github.com/JohnEarnest/ok Sadly, the brilliant Kevin Lawler's Kerf begins to look less interesting once one considers the license.…
comment by tlack · 2015-09-19 · in Tell HN: Q/Kdb 32-bit no longer free for commercial use -
…fairly easy to a system like this. Other good candidates include JSForth[2] and NGN APL[3]. [1] https://github.com/JohnEarnest/ok [2] http://home.diphi.com/users/jeffr/forth/jsforth.html [3] https://github.com/ngn/apl
comment by RodgerTheGreat · 2015-09-11 · in Show HN: A playground for in-browser interpreters -
In iKe's case, the output of draw is used by JavaScript to render to an HTML5 Canvas tag. https://github.com/JohnEarnest/ok/blob/gh-pages/ike/ike.html... "draw" specifically returns a list of tuples which each consist of a position (or a…
comment by RodgerTheGreat · 2015-08-16 · in A card game implemented in APL -
…not an SDL wrapper- it's all javascript and HTML 5. It is called iKe and it is indeed open-source: https://github.com/JohnEarnest/ok/tree/gh-pages/ike I was suggesting that it might be possible to use some graphics library (such as SDL) to…
comment by RodgerTheGreat · 2015-08-16 · in A card game implemented in APL -
…a different syntax (JSON+SQL+more). John Earnest has a Javascript implementation of K5 called oK at https://github.com/JohnEarnest/oK Andrey Zholos has a JITing implementation of a K-like language at https://github.com/zholos/kuc
comment by beagle3 · 2015-06-26 · in Ask HN: APL family instead of R for data analysis? -
…I've written a (buggy, incomplete!) K interpreter I call oK which similarly runs in your browser: https://github.com/JohnEarnest/ok Here's a nice little program which calculates terms of the "look-and-say" number sequence:…
comment by RodgerTheGreat · 2015-06-25 · in Try APL in your browser -
…order as a DFS scan) is written ",//" "decode run length decoding" is written ",/#/'" (courtesy of https://github.com/JohnEarnest/ok/blob/gh-pages/examples/run... Now, these 3-char and 5-char examples are not predefined in any way; They…
comment by beagle3 · 2015-02-28 · in Show HN: Persistent Group Chat in kdb+/k/q -
I was just tinkering with a tic tac toe game: https://github.com/JohnEarnest/ok/blob/gh-pages/examples/tic... I think I can still make a number of simplifications and generalizations, and I'd like to have a stab at an alpha-beta AI…
comment by RodgerTheGreat · 2015-02-27 · in Show HN: Persistent Group Chat in kdb+/k/q -
Fun for interview questions: https://github.com/JohnEarnest/ok/blob/gh-pages/examples/str...
comment by Scaevolus · 2015-02-14 · in OK: An implementation of the K5 programming language -
Sure, here's the repository: https://github.com/JohnEarnest/ok I don't have a rigorous approach for testing compatibility at present; My starting point was the K2 manual, and I've tried to get as many examples from that working as…
comment by RodgerTheGreat · 2015-02-13 · in The Rewards of Creating a Programming Language