Nectar Documentation
Nectar is a compiled-to-WebAssembly language for the next era of web development. One language, one binary, zero dependencies. Pick a section to get started.
Start Here
- Getting Started — Install Nectar, scaffold a project, run your first app.
- Language Reference — Full syntax, types, ownership, components, stores, every keyword.
- Examples — Worked examples for every keyword and stdlib module.
Platform
- Providers — How keywords, stdlib, and concrete service integrations (Moov, Stripe, Plaid, Alipay, Mapbox) compose.
- Render Modes — DOM, Canvas, and Hybrid rendering modes.
Toolchain
- Toolchain — CLI commands, formatter, linter, LSP.
- Runtime API — JS syscall layer, command buffer, WASM imports.
AI
- AI Integration — Agents, tools, prompts, streaming.
Internals
- Architecture — Compiler pipeline, runtime, WASM bridge.
- Whitepaper — Design rationale and the case for compiled WASM-first frontends.