-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
kona.scroll
39 lines (34 loc) · 1.33 KB
/
kona.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import ../code/conceptPage.scroll
id kona
name kona
appeared 2010
tags pl
conceptDescription Kona is the open-source implementation of the k3 programming language. k is a synthesis of APL and LISP. Although many of the capabilities come from APL, the fundamental data construct is quite different. In APL the construct is a multi-dimensional matrix-like array, where the dimension of the array can range from 0 to some maximum (often 9). In k, like LISP, the fundamental data construct is a list. Also, like LISP, the k language is ASCII-based, so you don't need a special keyboard.
writtenIn c bourne-shell make lisp markdown awk yaml
repoStats
firstCommit 2010
commits 1562
committers 49
files 86
newestCommit 2023
country United States
originCommunity https://github.com/kevinlawler/kona/issues
reference http://www.hakank.org/k/
example
factorial:{*/1+!:x}
fib1:{(x(|+\)\1 1)[;1]}
fib2:{x{x,+/-2#x}/!2}
fib_rec:{:[x<2;1;_f[x-1]+_f[x-2]]}
maxsubsum:{|/0(0|+)\x}
primes_to_n_sieve:{2_&{:[x@y;x&@[1,-1_ z#(1_ y#1),0;y;:;1];x]}/[x#1;2_!__ceil_sqrt x;x]}
primes_to_n_sieve2:{:[x<4;,2;r,1_&~|/x#'~!:'r: _f[_ _ceil _sqrt x]]}
githubRepo https://github.com/kevinlawler/kona
firstCommit 2010
stars 1253
forks 135
subscribers 57
created 2010
updated 2022
description Open-source implementation of the K programming language
issues 70
isbndb 0