Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

kinderjosh/ki-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Ki Programming Language

Quick Start | Wiki | Contributing | License

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.

Quick Start

Firstly, make sure you have the requirements installed.

Requirements

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

Simply clone the repository and run the makefile with the install flag as root:

git clone https://github.com/kinderjosh/ki.git
cd ki
sudo make install

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 makefile with the uninstall flag:

sudo make uninstall

Syntax Highlighting

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

Documentation

See the wiki.

Contributing

Contributions are welcome, but please make sure you clarify with me before submitting a pull request. You can contact me via my discord kinderjosh.

License

Ki is distributed under the BSD 3-Clause license.