Languages Features Calendar CSV Lists Blog About Donate Add Language
GitHub icon


< >

K is a programming language created in 1993 by Arthur Whitney.

#434on PLDB 30Years Old 585Users
0Books 1Papers

K is a proprietary array processing language developed by Arthur Whitney and commercialized by Kx Systems. Since then, an open-source implementation known as Kona has also been developed. The language serves as the foundation for kdb+, an in-memory, column-based database, and other related financial products. Read more on Wikipedia...

Example from hello-world:
"Hello World\n"
/ Hello world in K "Hello world!"

Language features

Feature Supported Token Example
Binary Literals
/ [01]+b
/ [0-9]+[ihtuv]
/ ([0-9]*[.]?[0-9]+|[0-9]+[.]?[0-9]*)[eE][+-]?[0-9]+[ef]?
/ [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Line Comments /
/ A comment
Semantic Indentation X

Publications about K from Semantic Scholar

title authors year citations influentialCitations
Label-Based Programming Language Semantics in K Framework with SDF Denis Bogdanas 2012 5 0
txl.html · k.html · risc-v.html

View source

PLDB - Build the next great programming language · v2023 · Day 153 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub ·