ngn-k-tutorial
aoc2017
Our great sponsors
ngn-k-tutorial | aoc2017 | |
---|---|---|
11 | 1 | |
192 | 0 | |
- | - | |
8.4 | 4.4 | |
28 days ago | over 2 years ago | |
C | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ngn-k-tutorial
-
Thinking in an Array Language
Complain about the language or documentation, but array language communities are absolutely friendly to outsiders! This tutorial lists some active forums, give them a try:
https://github.com/razetime/ngn-k-tutorial/tree/main?tab=rea...
Also, have to shout out the APL Orchard, where Adám will give any visitor a personal tutorial: https://chat.stackexchange.com/rooms/52405/the-apl-orchard
-
APL: An Array Oriented Programming Language (2018)
To add to the list, this one is pretty good;
https://github.com/razetime/ngn-k-tutorial
-
rando Q vs J thoughts | Locklin on science
If you like APL, then you probably want to try K, which is an ASCII-only array language with a focus on guided minimalism. For an open source K you can try ngn/k, which has a tutorial.
- Thinking in an array language
-
Ngn/k (free K implementation)
Razetime's matmul refactoring is brilliant: https://github.com/razetime/ngn-k-tutorial/blob/main/c-think...
Finally, some nice examples of k's concision:
qs:{$[2>#?x;x;,/qs'x@&'~\:x<*1?x]} / Quicksort
- An ngn/k Tutorial
aoc2017
-
Ngn/k (free K implementation)
In case you've jumped straight to the comments, here are some 'intro' links. Many of these also appear in ngn/k's readme.
First, direct links to ngn/k in the browser:
- REPL: https://ngn.bitbucket.io/k/#r
- editor: https://ngn.bitbucket.io/k/
Second, 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 k intro examples are in John Earnest's k editor iKe - there's a dropdown at the bottom right. http://johnearnest.github.io/ok/ike/ike.html
ngn/k's editor also has an 'examples' dropdown in its menu.
Next, some Advent of Code solutions, to show that k doesn't have to look like a mass of meaningless symbols: https://github.com/chrispsn/aoc2017/blob/main/answers.k
For an illustration of k's strengths,
What are some alternatives?
b-decoded - arthur whitney's b interpreter translated into a more traditional flavor of C
Kbd - Alternative unified APL keyboard layouts (AltGr, Backtick, Compositions)
kona - Open-source implementation of the K programming language
april - The APL programming language (a subset thereof) compiling to Common Lisp.
ok - An open-source interpreter for the K5 programming language.
kdb - kdb+ Working Group from FINOS Data Technologies program
rsbqn - An embeddable BQN virtual machine in rust. Stay tuned!
PDP_11_Simulator - PDP11 Simulator written in APL