v0.4.5 — New: printn()

Scripting that flows.

A lightweight scripting language with pipes, try expressions, and string interpolation. HTTP, JSON, concurrency — all built in. Compile to a single binary.

curl -fsSL https://logoslang.dev/install.sh | sh
Star on GitHub · MIT License
example.lgs
Run
// String interpolation
let name = "World"
print("Hello, ${name}!")

// Table operations
let user = table{ name: "Alice", score: 95 }
print(user.name)

// Built-in HTTP (sandboxed in playground)
let data = try httpGet("https://api.example.com")
print(data.status)

spawn {
    print("Running concurrently")
}

Everything you need, nothing you don't

Modern language features without the complexity.

String interpolation

Embed variables directly in strings with ${}. No concatenation, no templates.

Pipe operator

Chain operations cleanly with |>. Data flows left to right through transforms.

Try expressions

Propagate errors up the call stack without verbose if !ok checks.

Built-in HTTP & JSON

httpGet, httpPost, parseJson — everything you need for API integration.

Single binary

lgs build compiles to a standalone executable. No runtime needed.

Concurrency

spawn blocks and spawn for-in for easy parallel processing.

Readable code, maintainable projects

Logos syntax is designed for humans. C-like syntax that's easy to learn and consistent across your codebase.

Read the docs
example.lgs
// String interpolation
let name = "Alice"
let score = 95
print("${name} scored ${score} points")

// Tables
let user = table{ name: "Bob", role: "admin" }
print(user.name)

// Try expression
let data = try httpGet("https://api.example.com")
if data.ok {
    print("Success!")
}

// Spawn for concurrency
spawn {
    print("Running in background")
}

Ready to try?

No installation required. Try it right in your browser.

Made with Go · MIT License · View on GitHub

Logos v0.4.5 · Changelog