A scripting language for humans
Bash, but you can actually read it.
Simple syntax. Sane errors. Built-in HTTP, JSON, and file I/O. Compiles to a single binary.
curl -fsSL https://raw.githubusercontent.com/codetesla51/logos/main/install.sh | shlet res = httpGet("https://api.example.com/users")
if res.ok {
let users = parseJson(res.value.body)
for user in users {
print(user["name"])
}
} Written in Go
Embeddable
Built-in concurrency
MIT licensed
Why Logos?
Everything you need for scripting. Nothing you don't.
CLI First
File I/O, HTTP, JSON, and shell execution built in. No imports needed.
Embeddable
Embed in Go apps like Lua. Register functions and call scripts from Go.
Readable
C-like syntax that reads like prose. No boilerplate, no surprises.
Concurrent
First-class concurrency with spawn blocks. Parallelize with ease.
Compiles
Build to a single standalone binary. No runtime dependencies.
Sandboxed
Restrict file, network, and shell access when embedding.
Clean and readable
Logos syntax stays out of your way.
example.lgs
// Fetch and process data
let res = httpGet("https://api.example.com/data")
if res.ok {
let data = parseJson(res.value.body)
for item in data["items"] {
print(item["name"])
}
}
// Concurrent processing
spawn for url in urls {
let r = httpGet(url)
if r.ok {
fileWrite("cache/" + hash(url), r.value.body)
}
}Install
One command. Linux and macOS.
$ curl -fsSL https://raw.githubusercontent.com/codetesla51/logos/main/install.sh | sh Works on Linux and macOS
Ready to start?
Read the docs and write your first script in minutes.