Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

K

< >

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

#337on PLDB 31Years Old
Wikipedia · Docs

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 Example Token
Binary Literals ✓ / [01]+b
Integers ✓ / [0-9]+[ihtuv]
Floats ✓ / ([0-9]*[.]?[0-9]+|[0-9]+[.]?[0-9]*)[eE][+-]?[0-9]+[ef]?
Hexadecimals ✓ / [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Line Comments ✓ / A comment /
Comments ✓
Semantic Indentation X
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll