nara

modern, GCd, typed

Nara is a general purpose PL that contains the result of decades of improvements in type theory, algebraic types, classes, compiler error reporting & more.

use std.http

fun main() !void {
    val server = http.Server.new()
    defer server.close()

    server.get("/", fun(_, res) {
        res.text("Hello Nara")
    })

    print("Server running on port 3000...")
    try server.listen(3000)
}