K: Difference between revisions

Jump to navigation Jump to search
111 bytes added ,  09:39, 19 June 2020
no edit summary
No edit summary
No edit summary
(3 intermediate revisions by 3 users not shown)
Line 19: Line 19:
| run online              = [https://kparc.io/kc K7]
| run online              = [https://kparc.io/kc K7]
}}
}}
'''K''' denotes a family of programming languages designed by [[Arthur Whitney]] and commercialized by Morgan Stanley, Kx Systems, and Shakti. In 1985, while at Morgan Stanley, Whitney created the statically typed A dialect of APL. His colleagues extended A into [[A+]] in 1988. Finally, Whitney presented the first K implementation in 1992, a "reduced instruction set" dialect which only used ASCII [[glyph|glyphs]] and limited arrays to [[list model|(nested) vectors]]. For a long time, K's main role was as implementation language for [[Q]], the query language of kdb+, which is an in-memory, column-based database. K7 ("Shakti K") was the first K to have full Unicode support, and it also uses a limited set non-ASCII symbols in the core language, for example <source lang=apl inline>Ø</source> and <source lang=apl inline>∞</source>.
'''K''' denotes a family of programming languages designed by [[Arthur Whitney]] and commercialized by Morgan Stanley, Kx Systems, and Shakti. In 1985, while at Morgan Stanley, Whitney created the statically typed A dialect of APL. His colleagues extended A into [[A+]] in 1988. Finally, Whitney presented the first K implementation in 1992, a "reduced instruction set" dialect which only used ASCII [[glyph|glyphs]] and limited arrays to [[list model|(nested) vectors]]. For a long time, K's main role was as implementation language for [[Q]], the query language of kdb+, which is an in-memory, column-based database. K7 (the first "Shakti K") was the first K to have full Unicode support, and it also uses a limited set non-ASCII glyphs in the core language, for example <source lang=apl inline>Ø</source> and <source lang=apl inline>∞</source>, however non-ASCII glyphs were removed in the subsequent K9.


== Releases ==
== Releases ==
Line 64: Line 64:
| <code>%</code> || [[reciprocal]]                  || [[divide]]                            ||                  ||
| <code>%</code> || [[reciprocal]]                  || [[divide]]                            ||                  ||
|-
|-
| <code>|</code> || [[reverse]]                      || [[max]]|[[or]]                        ||                  ||
| <code><nowiki>|</nowiki></code> || [[reverse]]                      || [[max]]|[[or]]                        ||                  ||
|-
|-
| <code>&</code> || [[where]]                        || [[min]]|[[and]]                        ||                  ||
| <code>&</code> || [[where]]                        || [[min]]|[[and]]                        ||                  ||
Line 100: Line 100:
! Adverb                            !! Definition
! Adverb                            !! Definition
|-
|-
| <code>/</code>  || over (incudes [[Reduce]] and [[Power operator|Power]])
| <code>/</code>  || over (includes [[Reduce]] and [[Power operator|Power]])
|-
|-
| <code>\</code>  || [[scan]]
| <code>\</code>  || [[scan]]
Line 112: Line 112:
| <code>':</code> || eachpair (like [[Windowed Reduce]])
| <code>':</code> || eachpair (like [[Windowed Reduce]])
|}
|}
==External links==
==External links==
* [https://ngn.bitbucket.io/k.html Overview of K implementations]
* [https://ngn.bitbucket.io/k.html Overview of K implementations]
{{APL dialects}}
{{APL dialects}}[[Category:K dialects]]

Navigation menu