logos v0.5.0
Scripts that read like thoughts.
A small scripting language for automation and CLIs. Interpolation, pipes, and errors you can follow a week later.
used in
example.lgs
use "std/array"
let devs = [
table{name: "Ama", lang: "Go", years: 2},
table{name: "Bob", lang: "Python", years: 1},
]
let gophers = devs
|> filter(fn(d) -> d.lang == "Go")
|> map(fn(d) -> d.name)
print("gophers: ${gophers}")
spawn {
let url = "https://api.example.com"
let res = try httpGet(url)
print(res.status)
}curl -fsSL https://raw.githubusercontent.com/codetesla51/logos/main/install.sh | sh