/ki

The Ki programming language.

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

The Ki Programming Language

Ki is a low-level systems programming language written entirely from scratch. It's very similar to C, but with a variety of features that make it more convenient to use in the modern day. It's designed for recreational programming, but aims to be more than capable for any general-purpose task.

Important

Ki is in early alpha and still in development; breaking bugs and missing features should be expected.

Requirements

  • x86_64 linux operating system
  • gcc, ld, ar (usually pre-installed)
  • nasm

Installation

Simply clone the repository and run the install script as root:

git clone https://github.com/kinderjosh/ki.git
cd ki
chmod +x ./install.sh
sudo ./install.sh

Hello World

Copy the following code into a file called hello.ki:

pub fn main() {
    println("Hello, World!");
}

You can both compile and run it at once with ki run hello.ki.

Uninstalling

If you'd like to uninstall Ki and its components, simply run the install script with the uninstall flag:

sudo ./install.sh uninstall

Syntax Highlighting

Make sure to install the Visual Studio Code extension Ki Language Support for Visual Studio Code.

Documentation

See the wiki.

License

Ki is distributed under the BSD 3-Clause license.