DEV Community

Bluezly
Bluezly

Posted on

KASDVSO – KAS Language (Experimental Runtime in Rust)

KASDVSO – KAS Language

KASDVSO is an experimental scripting language runtime written in Rust.
The main focus of this project is the KAS language itself, not packages or tooling.

⚠️ IMPORTANT
This language is under heavy and active development.
Breaking changes are expected.
The language is NOT stable.

GitHub Repository:
https://github.com/Bluezly/KASDVSO


What is KAS?

KAS is a simple and minimal scripting language designed to explore:

  • Language and runtime design
  • Script execution models
  • Modular script loading
  • Native integration with Rust
  • Explicit behavior without hidden magic

KAS is intentionally minimal.
Every feature is added deliberately and step-by-step.


KAS Language Basics

Variables

let x = 10
let name = "KAS"
Enter fullscreen mode Exit fullscreen mode

Functions

fn add(a, b) {
    return a + b
}
Enter fullscreen mode Exit fullscreen mode

Function Calls

print add(2, 3)
Enter fullscreen mode Exit fullscreen mode

Printing

print "Hello from KAS"
Enter fullscreen mode Exit fullscreen mode

Sleep

sleep(2000)
Enter fullscreen mode Exit fullscreen mode

Multi-File Scripts

import "./utils.kas"
Enter fullscreen mode Exit fullscreen mode

Execution Model

  • Scripts are executed sequentially
  • Imported files are executed once
  • No hidden global state

Native Integration

Native modules are written in Rust and exposed directly to KAS.


Project Status

UNDER HEAVY DEVELOPMENT


Contributing

Pull Requests are encouraged.


Final Notes

KAS is not finished.
KAS is not stable.
KAS is not pretending to be complete.

Top comments (0)