Oasis is a programming language built to be used for scripting and small applications.
Inspired by Ruby, Lua, and Smalltalk - Oasis is prototype-based and dynamically typed.
To jump in, hit the Download Oasis button.
let server = api(8080)
server:get("/", fn(headers, body)
return [200,
"Hello World!"]
end)
server:get("/time", fn(headers, body)
return [200,
"The time is " + time:now():toString()]
end)
server:get("/data", fn(headers, body)
return [200,
json:dump({ "foo" | 1,
"bar" | 2})]
end)