KASDVSO – KAS Language (Experimental Runtime in Rust)

KASDVSO – KAS Language (Experimental Runtime in Rust)

Source: Dev.to

KASDVSO – KAS Language ## What is KAS? ## KAS Language Basics ## Variables ## Functions ## Function Calls ## Printing ## Multi-File Scripts ## Execution Model ## Native Integration ## Project Status ## Contributing ## Final Notes 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 KAS is a simple and minimal scripting language designed to explore: KAS is intentionally minimal. Every feature is added deliberately and step-by-step. Native modules are written in Rust and exposed directly to KAS. UNDER HEAVY DEVELOPMENT Pull Requests are encouraged. KAS is not finished. KAS is not stable. KAS is not pretending to be complete. Templates let you quickly answer FAQs or store snippets for re-use. Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse CODE_BLOCK: let x = 10 let name = "KAS" Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: let x = 10 let name = "KAS" CODE_BLOCK: let x = 10 let name = "KAS" CODE_BLOCK: fn add(a, b) { return a + b } Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: fn add(a, b) { return a + b } CODE_BLOCK: fn add(a, b) { return a + b } CODE_BLOCK: print add(2, 3) Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: print add(2, 3) CODE_BLOCK: print add(2, 3) CODE_BLOCK: print "Hello from KAS" Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: print "Hello from KAS" CODE_BLOCK: print "Hello from KAS" CODE_BLOCK: sleep(2000) Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: sleep(2000) CODE_BLOCK: sleep(2000) CODE_BLOCK: import "./utils.kas" Enter fullscreen mode Exit fullscreen mode CODE_BLOCK: import "./utils.kas" CODE_BLOCK: import "./utils.kas" - 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 once - No hidden global state