asteri

Compiled programming language designed for game development

Rust · Paused · MIT · repository

License Rust

asteri* is a compiled, statically typed programming language for game development. The goal is a single self-contained toolchain: no separate engine, no wrapper libraries.

Status: postponed. The compiler and test suite are checked in and buildable.

Install

cargo install --git https://github.com/Censera/asteri

From source (requires rustc 1.85+):

cargo build --release

Nix:

nix build

Usage

asteri run main.ast

Language

Hello World

fn main() {
    let hello = "Hello world!";
    print hello;
}

Functions

fn greet(name: str) {
    print name;
}

Variables

let score = 100;

Control Flow

if score > 50 {
    print "Pass";
}

Documentation

License

MIT