K: Difference between revisions

Jump to navigation Jump to search
129 bytes added ,  11:23, 5 February 2020
no edit summary
(K3 primitive tables)
No edit summary
(7 intermediate revisions by 2 users not shown)
Line 10: Line 10:
| latest release version  = K7 "Shakti" / 2019
| latest release version  = K7 "Shakti" / 2019
| implementation language  = [[wikipedia:C_(programming_language)|C]], [http://kparc.com/b/ B]
| implementation language  = [[wikipedia:C_(programming_language)|C]], [http://kparc.com/b/ B]
| platforms                = macOS, Linux, Windows, kOS
| platforms                = macOS, Linux, Windows, [[kOS]]
| license                  = Free for personal use / Proprietary commercial software (free open source implementations exist)
| license                  = Free for personal use / Proprietary commercial software (free open source implementations exist)
| website                  = [https://kx.com/ Kx Systems], [https://shakti.com/ Shakti]
| website                  = [https://kx.com/ Kx Systems], [https://shakti.com/ Shakti]
Line 16: Line 16:
| download                = [https://kx.com/connect-with-us/download/ K4], [https://shakti.com/download/ K7]
| download                = [https://kx.com/connect-with-us/download/ K4], [https://shakti.com/download/ K7]
| influenced by            = [[A+]], [[J]], [[wikipedia:Scheme_(programming_language)|Scheme]]
| influenced by            = [[A+]], [[J]], [[wikipedia:Scheme_(programming_language)|Scheme]]
| influenced              = [[Q]], [[RAD]]
| influenced              = [[Q]], [[RAD]], [[Kona]], [[Klong]], [[oK]], [[ngn/k]]
| 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 Stanly, 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") is 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 ("Shakti K") is 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>.


== Releases ==
== Releases ==
Line 80: Line 80:
| <source lang=k inline>?</source> || range ([[Unique]])              || function inverse/find/draw/deal/sample ||  invert-guess    ||
| <source lang=k inline>?</source> || range ([[Unique]])              || function inverse/find/draw/deal/sample ||  invert-guess    ||
|-
|-
| <source lang=k inline>_</source> || [[floor]]                        || [[drop]]|[[cut]]                       ||                  ||
| <source lang=k inline>_</source> || [[floor]]                        || [[drop]]|[[Cut (K)|cut]]               ||                  ||
|-
|-
| <source lang=k inline>,</source> || enlist (like [[Enclose]])        || join                                   ||                  ||
| <source lang=k inline>,</source> || enlist (like [[Enclose]])        || [[Catenate|join]]                      ||                  ||
|-
|-
| <source lang=k inline>#</source> || [[count]]                        || [[take]]|[[reshape]]                  ||                  ||
| <source lang=k inline>#</source> || [[count]]                        || [[take]]|[[reshape]]                  ||                  ||
Line 108: Line 108:
| <source lang=k inline>':</source> || eachpair (like [[Windowed Reduce]])
| <source lang=k inline>':</source> || eachpair (like [[Windowed Reduce]])
|}
|}
 
==External links==
* [https://ngn.bitbucket.io/k.html Overview of K implementations]
{{APL dialects}}
{{APL dialects}}
45

edits

Navigation menu