Onboarding, Ecosystem Migration & Official Books

Veko Documentation & Learning Center

Start with the 5-pointer mental model, map your favorite Python, TypeScript, Go, or Rust stack to Veko, browse 16 open HTML guides, or download The Veko Cookbook (free EPUB 3.0).

Start Here • First-Hour Onboarding

5 Pointers for Reading & Writing Veko

Read lines like fixed-arity CLI commands, treat whitespace as punctuation, flatten with \ pipes, recover inline with /or, and follow the mut trail.

Pointer 01

Read Lines Like Unix CLI Commands, Not Punctuation

Every word consumes a fixed compile-time number of arguments to its right. Zero-arg words run just by naming them — never attach ( directly to a function name (len(xs) is wrong). Use (...) only when an argument is itself a multi-token expression.

os/write-file out_path payload
while i < (len items) [ ... ]
Think Unix shell with static arity: verb arg1 arg2.
Pointer 02

Treat Whitespace as Semantic Punctuation

Spaces separate words while tightness glues paths and accessors together. Put spaces around - and / for math (n - 1, a / b); without spaces, n-1 is a kebab-case word and str/join is a module path. Keep . and [...] tight (user.name.trim, buf[0..n]); a leading space creates an enum (.ok, .tls).

veko inspect --tokens file.vk
veko inspect --ast file.vk
Seeing [tight] vs [spaced] once makes the lexer rules click permanently.
Pointer 03

Flatten Nested Parentheses with \ Pipes & . Chains

Avoid Lisp-style nested (f (g (h x))) expressions. Bind short locals for side effects, chain 1-argument transforms tightly with . (raw.trim.lower), and use \ pipes to feed the left result as argument 1 of the next multi-argument word.

urls = body
    \ json/decode
    \ filter fn [p] [p.active]
    \ map fn [p] [p.url.trim]
Top-to-bottom linear dataflow with zero outer parenthesis walls.
Pointer 04

Read /refinements & /or as Inline Control Flow

Instead of option structs, function overloading, or try/catch blocks, Veko extends words with / refinements and handles failures right at the call site via /or. Pair resource acquisition with defer [ ... ] right below it — Veko has no nil (.ok for unit, .null for JSON null).

port = str/to-i64/or raw_port [ 443 ]
raw  = os/read-file/or path [ e -> return (err `cannot read {path}: {mold e}`) ]
Happy path stays compact while every failure boundary stays explicit.
Pointer 05

Follow the mut Trail & Visual Casing Split

Scan for mut to spot state changes: Veko requires mut at both the declaration and every mutating call site, so any line without mut cannot mutate its arguments in place. Pair that with kebab-case words, snake_case locals/fields, and PascalCase types.

bytes/push mut buf 10
encode-header out_path   // kebab word + snake value
Upstream { port = 443 }  // PascalCase struct
Your eye distinguishes functions, locals, and types instantly without ().
Official IDE Support • Zero External Dependencies

Set Up VS Code, veko lsp, Visual Inspector & F5 Debugging

Install veko-lang-1.0.0.vsix for .vk syntax highlighting, live strict-type & .secret diagnostics, [tight]/[spaced] token inspection, and F5 source debugging.

AI-First Ergonomics • Built Into `veko init`

Zero-Hallucination LLMs: AGENTS.md, Claude Code, Cursor & llms.txt

Every `veko init` workspace scaffolds `AGENTS.md` automatically. Download ready-made configs for Claude Code, Cursor, Codex, and Copilot or index `/llms-full.txt`.

Rosetta Stone • Syntax & Ecosystem Stacks

Coming from Python, TypeScript, Go, or Rust

Map your familiar web, AI, FinTech, cloud-native, and distributed systems libraries directly into Veko's 95 stdlib modules and 30 signed .vkp packages — or kick-start source translation with veko py2vk, veko go2vk, and veko rs2vk.

Ecosystem Migrationveko py2vk service.py -o service.vk

Coming from Python & FastAPI

Trade pip/venv wheel headaches, GIL limits, and 500 MB containers for a single 15 MB binary — while keeping dynamic prototyping and clean pseudocode readability.

Familiar Stack: FastAPI + Pydantic + SQLAlchemy + Celery + Chroma + Polars
Pure-Veko Stack: web + openapi + db/sqlite + jobs_cron + vec_rag + dataframe_parquet
// Python:  users = [u.email.strip() for u in rows if u.active]
emails = rows
    \ filter fn [u] [ u.active ]
    \ map fn [u] [ u.email.trim ]

// Python:  try: port = int(raw) except ValueError: port = 8080
port = str/to-i64/or raw [ 8080 ]
Ecosystem Migrationveko pkg search graphql

Coming from TypeScript, Next.js & FinTech

Eliminate node_modules supply-chain sprawl, undefined crashes, and floating-point cent bugs with homoiconic HTML/LiveView, minor-unit double-entry ledgers, and zero-codegen GraphQL.

Familiar Stack: Next.js/HTMX + Prisma + Stripe + Apollo + Playwright + Yjs
Pure-Veko Stack: web_live + sqlite_orm_ext + payments_ledger + graphql + browser_cdp + crdt_sync
// TS:  const host = cfg.host ?? "127.0.0.1";
host = map/get/or cfg 'host' [ '127.0.0.1' ]

// Homoiconic HTML5 (auto-escaped, zero JSX build step):
card = [.article { class = 'card' } [ [.h2 [`Order #{id}`]] ]]
Ecosystem Migrationveko go2vk handler.go -o handler.vk

Coming from Go & Cloud-Native Infra

Keep instant static compilation, defer, and straightforward concurrency — while replacing 4-line if err != nil blocks with /or, adding generics/enums, and building FROM scratch OCI images.

Familiar Stack: net/http + chi + grpc-go + ko + client-go + etcd/raft + NATS
Pure-Veko Stack: web (H1/H2/H3) + http_router + grpc_proto + oci_k8s + cluster_raft + mq_streams
// Go:  raw, err := os.ReadFile(p); if err != nil { return err }
raw = os/read-file/or p [e -> return e]
defer [ log/info 'request complete' ]

// Shared-nothing goroutine equivalent:
ch = chan/new 4
t  = spawn [ chan/send ch 'ready'; .ok ]
Ecosystem Migrationveko rs2vk lib.rs -o mod.vk

Coming from Rust, Security & Edge Systems

Retain deterministic zero-GC drops, explicit mut borrows, and constant-time crypto — without wrestling <'a> lifetime annotations, Pin<Box<...>>, or multi-minute link times.

Familiar Stack: axum + tower + snow (Noise) + extism (Wasm) + rumqttc + aws-sdk-s3
Pure-Veko Stack: web + resilience + noise_tunnel + wasm_plugin_sdk + iot_mqtt + cloud_s3
// Explicit in-place borrow (`&mut buf` in Rust -> `mut buf` in Veko):
append-u16 = fn [mut buf bytes, v i64] [
    _ = bytes/push-u16-be mut buf v
]
append-u16 mut frame 0x0303
Public — No Token Required

End-User Documentation Suite (16 HTML Guides)

Light-Mode 3-column interactive documentation rendered by Veko's pure-.vk docgen pipeline.

Overview & Quickstart

Install the single-binary SDK, run your first .vk script, and tour the CLI.

Step-by-Step Tutorial

Hands-on walkthrough of bindings, functions, blocks, structs, and /or error handling.

Language User Guide

Complete guide to prefix words, tight vs spaced tokens, mut loans, generics, and interfaces.

How-To & Newcomer Guide

5 newcomer reading/writing pointers, token/AST inspection, and project recipes.

The Veko Cookbook & Rosetta Stone

8 chapters of copy-ready recipes & Go/Rust/Python/TypeScript translations.

Standard Library Guide

Architectural tour across Veko's 95 pure-.vk standard library modules.

Network, Web & Zero-FFI Databases

HTTPS, HTTP/2, HTTP/3, WebSockets, Zero-FFI SQLite ORM, PostgreSQL, and Redis.

Async I/O & Readiness Reactor

Event-driven epoll, kqueue, and WSAPoll non-blocking servers and streams.

Durable Objects & Saga Workflows

Crash-resilient state machines, replay idempotency, and LIFO compensation.

Native UI, Wayland/X11, TUI & FFI

Cross-platform desktop widgets, terminal dashboards, and VEKO_LIB shared libraries.

Developer Tooling, DAP & Fuzzing

VS Code F5 debugger, HTML line coverage, SplitMix64 fuzzing, formatter, and LSP.

Performance & Cross-Compilation

Cross-compiling standalone binaries for win-x64, win-arm64, linux-x64, linux-arm64, and macos-arm64.

Configuration, Env & CLI Reference

veko.vk manifests, VEKO_HOME / VEKO_MODULES / VEKO_LIB, and every CLI flag.

Compiler Diagnostics Reference

Type, mut-borrow, capability, and .secret firewall diagnostics explained.

Operations & Production Use Cases

Deploying hardened pure-Veko services, packages, and Wasm sandboxes.

Master End-User Handbook

Single-page consolidated end-user reference for offline reading and search.

Programming in Veko — First Edition Cover
Free & Open Flagship Reference • Searchable HTML & EPUB 3.0

Programming in Veko — First Edition (30 Chapters)

The unabridged 30-chapter First Edition reference book with 18 landscape vector architecture plates, ORO & compiler proofs, full 95-module stdlib API reference, and complete showcase walkthroughs — free to read online with instant full-book search or download as EPUB 3.0.

The Veko Cookbook — Free EPUB 3.0 Cover
Free & Open Companion Volume • Searchable HTML & EPUB 3.0

The Veko Cookbook & Rosetta Stone (11 Chapters)

Practical copy-ready .vk recipes and side-by-side Python, TypeScript, Go, and Rust translations — available as a full searchable HTML reader and single-page-cover EPUB 3.0.

Token Gate: vk_doc_... or vk_bin_...

Compiler & Runtime Technical Architecture Documentation

Deep-dive engineering specifications covering the 16-byte Value & SlabHdr layouts, ORO static drop/borrow analysis, 64-bit VKO bytecode VM, Wasm 3.0 lowering, x86_64/ARM64 native code emitters, and interactive SVG component inspectors.

Open Technical Documentation