NAIDE
One readable language, built to ship
Node.js, Python, Bun, TypeScript, Go, Java, Rust, C++, C, C#, Kotlin, Swift, Dart, PHP, Ruby
15 Code Generation Targets
Generate code for Node.js, Python, Bun, TypeScript, Go, Java, Rust, C++, C, C#, Kotlin, Swift, Dart, PHP, and Ruby. Hosted CI compiles and runs a representative program for all 15 targets; feature and framework coverage still varies by target.
AI-Native
Convenient ai.ask, ai.json, ai.stream, embeddings, RAG, and prompt-template syntax. Provider access still needs network connectivity and credentials.
Practical Built-in Toolkit
Readable control flow, optional type annotations, server and data-model syntax, editor support, diagnostics, and code generation in one language.
App-Building Syntax
NAIDE syntax covers servers, bots (Discord/Slack/Telegram/LINE), CLI apps, pages, email, GraphQL, desktop, mobile, and cron. Generated runtime support and dependencies vary by target.
One Consistent Syntax
One readable syntax for people and AI alike. Write less boilerplate without learning a second symbolic language.
Useful by Default
NAIDE uses one consistent syntax in source files, examples, editor tools, and generated projects.
MCP Server
Built-in naide-mcp stdio server using the stateless MCP 2026-07-28 protocol, with per-request metadata and server discovery.
Experimental Native JIT
Opt-in Windows x64 machine-code tiers accelerate selected guarded hot paths. In a reproducible nine-workload benchmark, both native tiers beat V8 on all nine fixtures; collection and Set results remain close to parity and are not general application-performance guarantees. See benchmark details.
Modern Syntax Sugar
Pipe operator (|>), optional chaining (?.), null coalescing (??), spread, auto type inference, destructuring, and more.
A Full API in 15 Lines
app.naideschema User:
id auto
name str required
email str required email
db "data/"
server app port 3000:
cors "*"
crud "/api/users" User
auth JWT_SECRET:
protect "/api/*"
public "/api/auth/*"
post "/api/ask" (req, res):
str answer = await ai.ask(req.body.prompt)
ret {answer}
What you get✔ REST API with CRUD + pagination
✔ JWT authentication
✔ CORS enabled
✔ Schema validation
✔ Persistent JSON database
✔ AI/LLM endpoint
✔ Auto-generated from ~15 lines
✔ Zero external dependencies
Run it:
$ naide --compile app.naide
Build to JavaScript:
$ naide build
Compact, without a second dialect
| Source | Whitespace units | Characters | Lines |
|---|---|---|---|
| JavaScript | 330 | 2590 | 78 |
| NAIDE | 66 | 517 | 19 |
These are rough whitespace-separated source-size counts, not model-token measurements. NAIDE uses one readable syntax rather than maintaining a separate compressed dialect.
Learn More
- Getting Started — install, create a project, run your first app
- Syntax Reference — variables, functions, control flow, classes, pipes, destructuring
- Server & API — routes, auth, CRUD, WebSockets, SSE
- Bots — Discord, Slack, Telegram, LINE chatbots
- AI / LLM — prompts, streaming, embeddings, RAG
- Database — JSON storage, SQLite, PostgreSQL
- Testing — test blocks, assertions, mock/spy
- CLI Reference — all 15 compilation targets, flags, MCP server
- NaideVM — measured runtime, startup, and memory comparisons
- Playground — try NAIDE in your browser