KASDVSO – KAS Language (Experimental Runtime in Rust)
Source: Dev.to
Overview
KASDVSO is an experimental scripting language runtime written in Rust. It focuses on the KAS language itself, without including packages or tooling.
Features
- 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
- Scripts are executed sequentially.
- Imported files are executed only once.
- No hidden global state.
- Native modules are written in Rust and exposed directly to KAS.
Example
let x = 10
let name = "KAS"
fn add(a, b) {
return a + b
}
print add(2, 3)
print "Hello from KAS"
sleep(2000)
import "./utils.kas"
Development Status
- Heavy and active development.
- Not stable or complete.
- Pull requests are encouraged.