Ocalt for Developers
One grammar instead of twenty SDKs. Fetch a URL, parse the JSON, write the file, query the database, render the chart, email the result and restart the box — in one script, in one request, with no dependencies to install and no build step. Free accounts carry the entire language, every script is a URL you can share, and the whole reference is one document rather than a shelf of them.
No project to set up
There is nothing to install, no package manifest, no lockfile, no container, no cold start. You write a statement and it executes. The distance between an idea and a running thing is one HTTP request.
The integrations are the language
HTTP, IMAP, SMTP, FTP, SSH, WebSocket, TCP, SQL, files, PDFs, spreadsheets, images, video, maps, browsers, CAD and remote machines are verbs — not packages you evaluate, version and eventually migrate off.
Deploy is a subdomain
An .oql file on a subdomain is a page. The visitor's method, query, body and cookies arrive in your script exactly as they will in production, because it is production.
Local development that is not a simulation
The client serves your project folder off your own disk while the scripts execute on Ocalt against your real namespace. There is no second runtime to drift out of step, and nothing to install but the agent.
In practice
FETCH "https://api.example.com/orders" SET ?raw
AFTER PARSE JSON ?raw SET ?orders
AFTER FOREACH ?orders SET ?o
OPEN
INSERT INTO DB "shop" TABLE "orders" ROW "ref" AS ?o("id") AND "total" AS ?o("total")
CLOSE
AFTER COUNT ?orders SET ?n
AFTER EMIT ?n & " orders imported"
Your first script, end to end
- Open the console and run
EMIT "hello". That is the whole setup step. - Take an API key from accounts.ocalt.com when you want to call it from your own code. Rotatable, and never your password.
- Read the reference at ql.ocalt.com. Every verb with its slots and a worked example.
- Ship something.
SUBDOMAIN ADDgives you a live host; an.oqlfile in it is a page, and the visitor's request reaches your script. - Develop locally if you prefer. Install the client, point its root at your project folder, set a port, and open it — the file is local, the execution is real.
curl https://ql.ocalt.com/api \ -d identity=you@example.com \ -d password=YOUR_API_KEY \ --data-urlencode 'q=FETCH "https://example.com" SET ?r AFTER EMIT ?r'
Every plan, including Free, carries the whole language. Open the console, read the documentation, or see what a plan costs.