Coder Social home page Coder Social logo

zeta1999 / kona Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kevinlawler/kona

0.0 1.0 0.0 2.55 MB

Open-source implementation of the K programming language

License: ISC License

Shell 0.16% Awk 0.10% C 96.05% C++ 0.72% Emacs Lisp 1.66% Makefile 1.29% Objective-C 0.02%

kona's Introduction

Kona Build Status

Kona

What is Kona?

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.

For many people, k was the preferred APL dialect. When it was available, it tended to be popular with investment bankers, the performance obsessed, and analysts dealing with lots of data. It is a demanding language.

k was originally designed by Arthur Whitney and Kx Systems. Praise for k should be taken to refer to Kx's k. Kx sells a popular database called KDB+. People can and do create networked trading platforms in hours. If your business needs production support, you can evaluate KDB+ prior to purchasing from Kx, or possibly speak with Kx consulting partner First Derivatives. The 32-bit version of KDB+ is available for free.

Kx's KDB+ uses the Q language, and is built on top of k4. Kx used to sell a database called KDB, which used the KSQL language, and was built on top of k3. Earlier, Kx sold k2 as its primary product. Before k2, UBS had a 5-year exclusive license to k1. To the confusion of all, these terms are used interchangeably. Kx's k3, k2 and k1 are basically no longer available. While you get k4 with KDB+, k4 is proprietary to Kx and no documentation is available. Kona is a reimplementation that targets k3 (which stopped being available about 20 years ago). Kona is unaffiliated with Kx.

You can get a free evaluation copy of Shakti k (aka k7) at https://shakti.com/tutorial/

Mailing Lists

kona-user is about using the Kona programming language.

kona-dev is about developing the Kona language itself.

Installation

Windows

You can find an executable version of Kona here. (Apolgies that the Windows executable has not beeen updated for a long time. My msys2 environment on Windows is not working properly.) Download k.exe. Use Windows "Explorer" to move k.exe from the "Download" directory to another directory ... or not. Double click on k.exe in "Explorer" to start a Kona session. Alternatively, start a "cmd" console window, navigate to the directory containing k.exe, and key in "k".

Build from source

For OSX, Linux, BSD, Cygwin and Android: Navigate to the directory you want to install Kona, then type:

git clone https://github.com/kevinlawler/kona.git
cd kona
make                                #gmake on BSD

Then, while in the "kona" directory, run:

./k                      #./k_test to run the test suite

Android builds are similar, but you must set use this command when running make:

make OS=android

For Windows: Pretty much the same process, but you will need MinGW-w64 (Mingw-builds project package), and you will need MSYS (or MSYS2) for bash. You can start up Kona from MSYS, or from a native Windows "cmd" session. In MSYS, type "./k" or just type "k" when in the "kona" directory. When in "cmd" just type "k" as "./k" won't work. You can also double-click on k.exe from Windows Explorer.

Input Issues

If you experience input issues with the command-line interpreter, such as visible arrow keys, try the rlwrap utility and see if it solves your problem.

Further Information

You can find further information about Kona at the wiki.

kona's People

Contributors

0branch avatar alesya-h avatar bakul avatar crestwave avatar dlorean00004 avatar fenollp avatar ibara avatar isawdrones avatar joebo avatar johnearnest avatar kevinlawler avatar maciej-irl avatar oskmeister avatar paul7 avatar refi64 avatar silentbicycle avatar slenkjon avatar sofuture avatar tangentstorm avatar tavmem avatar thyrgle avatar tomducoin avatar waldyrious avatar xtian avatar zachwick avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.