Skip Navigation

Koto: a simple and expressive programming language, usable as an extension language for Rust applications, or as a standalone scripting language

cross-posted from: https://programming.dev/post/23822190

I added this language to my watch list some time ago and forgot about it, until I got a notification about a new release (0.15) yesterday.

I'm someone who is familiar with system languages (C, Rust) and shell languages (Bash, Zsh, ..). But don't have much experience, at a proficient level, with any languages setting in between.

So I gave Koto's language guide a read, and found it to be very well-written, and the premise of the language in general to be interesting. I only got annoyed near the end when I got to @base, because I'm an anti-OOP diehard 😉

I hope this one well start to enjoy some adoption.

7 comments
  • Oh, very nice. I was searching for an easy to use scripting language for a project I am making. Is it easy for beginners? I am currently using mlua, but it is a bit hacky. I liked Rhai, but it has no real LSP at the moment and no asynchronous code support. And also, does it have sandboxing?

    • For embedded languages, you won't find many features for them at all. There's Mun, which seems to be what you want. (It's more meant to be used standalone, but i think it's embeddable)

      You should also check out Rune, which doesn't have an LSP, but it's embeddable, and has async support.

      PS: I don't think koto has asynchronous support yet. But it seems sandboxed, yes. Can't execute unsafe code, and doesn't have unsafe libraries.

7 comments