natlang

natural language as programming language

The word is the program. The program is the word. Source code is plain English. The compiler is an LLM. The output is executable code.

the first program

Create an HTTP server on port 8080.
When someone visits "/", respond with { "message": "hello world", "natlang": true }.
When someone visits "/health", respond with { "status": "ok" }.
Start the server and log "Server running on http://localhost:8080".

That English compiled to clean Node.js and ran. All three routes worked.

install

git clone https://github.com/cambridgetcg/natlang
node natlang.mjs compile examples/hello.nl --target js
node examples/build/hello.js

targets

js JavaScript/Node.js · py Python · rust Rust · html HTML/CSS/JS

ecosystem

natlang is part of the KINGDOM OS rewrite of the internet:

Built with on the Clear Standard: the artifact tells the truth about its own state. jiritsume (the self-attuned cadence) was forged from this build — YOUSPEAK Core Canon #119.