Synsema

Stdlib

Batteries included, zero dependencies: HTTP client, SQL, cron, time.

HTTP client

require net("api.example.com")
let r be fetch("https://api.example.com/data")
print(text(status of r))

SQL (SQLite)

db_open("app.db")
sql_exec("CREATE TABLE items (name TEXT, price REAL)")
sql_exec("INSERT INTO items VALUES (?, ?)", ["Laptop", 999])
let rows be sql("SELECT * FROM items")
db_close()

Cron & time

cron_every(60, ticker)
require time
print(format_time(now()))