Open Companion Edition · Veko v1.0.0
The Veko Cookbook
Practical Recipes, Rosetta Stone Translations & Idiomatic Patterns for Go, Rust, Python & Systems Programmers
By Travis Kay
How to Use This Cookbook
The Veko Cookbook is a fast, practical companion to Programming in Veko, designed to get engineers fluent in idiomatic Veko within their first 200 lines of code. Every chapter pairs copy-ready .vk recipes with mental-model notes and side-by-side translations from Go, Rust, Zig, Python, and TypeScript.
- Part I (Chapters 1–3): Rosetta Stone translations, Day-1 vs. Day-14 readability/writability trade-offs, zero-flag
veko.vkworkspaces,.secrethygiene, slash refinements,/orrecovery, and in-placemutbyte slabs. - Part II (Chapters 4–6): Polymorphic
io/Streamtesting, ReDoS-proof Thompson NFA regex, Zstandard & archives, native TLS 1.3 + HTTP/2 + QUIC HTTP/3 web services, and the Zero-FFI SQLite 3 homoiconic ORM. - Part III (Chapters 7–8): Shared-nothing
spawn/chanworker pools, crash-safe Durable Sagas, custom homoiconic[ ... ]mini-DSLs, signedVKP1packages, and fuel-bounded WebAssembly plugins. - Part IV (Chapter 9 & Appendix A): The 5-Pointer Newcomer Mental Model,
veko inspect --tokens/--astworkflows, and the complete CLI & operator-precedence cheatsheet.
Colophon & Open Distribution
Copyright © 2026 Travis Kay. Openly published in Web HTML & EPUB 3.0 editions on veko-lang.org (freely redistributable unmodified).
Compiled and XML-validated in 100% pure Veko via veko book --cookbook.
Official Platform, 95-Module Stdlib Docs & Open Reference Book: veko-lang.org
Complete Interactive Table of Contents
Part I · Mental Model & Rosetta Stone
Side-by-side Go, Rust, Python, and TypeScript translations plus Day-1 vs Day-14 fluency scores
Scaffolding zero-flag veko.vk workspaces, declarative subcommands, TOML config, and .secret hygiene
User-declarable /refinements, contextual /or [e -> ...] recovery, LIFO defer, and in-place mut byte slabs
Part II · Files, Codecs, Web & Zero-FFI SQLite
Polymorphic io/Stream testing, ReDoS-proof Thompson NFA regex, Zstandard compression, and ZIP/TAR archives
Concurrent HTTP batching, XSS-safe homoiconic HTML5 views, constant-memory streaming, and multi-worker TLS 1.3 + HTTP/2 + WAN QUIC HTTP/3 servers
Crash-safe 4096-byte SQLite 3 schemas, B-tree indexes, homoiconic JOINs, TLS PgPool ($1 prepared queries), and RESP3 RedisPool
Part III · Concurrency, Dialects, UI & Wasm
Shared-nothing spawn/chan worker pools, timeouts, and crash-safe replayable Saga workflows with worker leases & DLQs
Custom quote/compose policy dialects, signed VKP1 packages, 33-widget Studio UIs, and fuel-bounded Wasm
Part IV · Onboarding, Inspection & Quick Reference
Reading prefix commands, mastering [tight] vs [spaced] tokens with veko inspect, and avoiding C/Go/Rust traps
Quick lookup table for veko commands, veko.vk fields, Pratt operator precedence, and builtin word arities