Vibe Coding Language (VCL)
VCL is an indentation-first, English-like language that compiles to TypeScript, Rust, or runs on a lightweight VM. It aims to be the next step beyond TypeScript for AI-native, readable code.
New doc layout
Start with the Handbook for an examples-first tour (Everyday VCL, Effects, Modules, Tooling).
Dive into Reference for the spec, stdlib, runtime, VM, and CLI details.
See Guides for task-oriented workflows (Quickstart, Playground, Next.js adapter stub).
Deterministic blocks via indent + trailing dots
Natural verbs: fetch/send/store/ensure/validate/expect
Multiple targets: TS, Rust, WASM stub, VM/interpreter
Module system with namespacing and registry publish/install
📦 Install
bash
npm i -g @claywarren/vcl
or from source (repo clone):
bash
pnpm install
pnpm run build
🚀 Compile & run
bash
node dist/cli/index.js compile examples/user_profile.vcl --target ts --with-stdlib
node dist/cli/index.js run examples/webapp.vcl --event "http GET /api/health"
node dist/cli/index.js run examples/webapp.vcl --event "http GET /api/health" --vm
🧠Learn more