βIt worked for me lol.β
SleepySyntax is an AI-native, intent-based declarative language that allows developers to describe entire systems β from UI layouts to backend APIs, from database schemas to AI pipelines β in a human-readable format that models understand intuitively.
It wasn't designed for traditional compilers. It was designed for communicating structured system intent directly to large language models β the only compiler that truly matters now.
π¦ Entire Ollama backend (15K+ lines of Go) β 370 lines of SleepySyntax
π Complete Open WebUI (Svelte app) β Reconstructed from syntax
π§ Multi-AI validation - Claude, GPT-4, Gemini all confirmed accuracy
π¨ Full VS Code extension with syntax highlighting & themes
π Browser extension for real-time web integration
- Why SleepySyntax
- Quick Start
- Directory Structure
- Syntax Basics
- Examples
- Tools & Extensions
- π Origin Story: AI Slop Tool Manifesto
- β FAQ
I was high and pissed off that a model as large and smart as Claude could look at the exact same photo of a UI component and completely misinterpret it. Billion-dollar model and it couldnβt figure out a 2-tier input block. So I broke it into primitives. That was the spark β and in an hour, it grew into a full-blown syntax.
Most DSLs require rigid grammars and painful compilers. SleepySyntax flips that:
π§© Itβs not compiled β itβs interpreted by AI.
Itβs readable, hierarchical, and semantically rich:
{card:(column:[img:user.avatar, h3:user.name, p:user.bio])}
This tells the AI:
- Layout: card, column
- Data: bound to
user.avatar,user.name,user.bio - Presentation: image, heading, paragraph
- Install the VS Code extension:
vscode-extension/sleepy-syntax-pro-2.0.0.vsix - Check out examples in
examples/directory - Start with
examples/chat-simple-encapsulated.sleepy
{text_input:[div:(column:[row:[input:api.user.message.content]],row:(button:api.user.message.send))]}
sleepy/
βββ examples/ # Example .sleepy files
βββ vscode-extension/ # VS Code extension files
βββ browser-extension/ # Browser extension for web integration
βββ conversations/ # AI conversation logs and extracts
βββ docs/ # Documentation and analysis
βββ assets/ # Screenshots and media
βββ reverse-engineered/ # Real-world system reconstructions
βββ archived-html/ # Saved HTML conversations (ignored by git)
βββ temp/ # Development files (ignored by git)
Check out examples/ for comprehensive demonstrations:
- π¦ Ollama Backend:
ollama-reconstruction.sleepy- Complete Go backend (15K+ lines β 370 lines) - π Open WebUI:
open-webui-reconstruction.sleepy- Full Svelte application
- Simple Chat:
chat-simple-encapsulated.sleepy - E-commerce:
ecommerce-minimal.sleepyandecommerce-verbose.sleepy - Authentication:
auth-minimal.sleepyandauth-verbose.sleepy - Dashboard:
dashboard-minimal.sleepyanddashboard-verbose.sleepy - Banking:
bank.sleepy - Medical:
medical.sleepy - SaaS Platform:
saas.sleepy - Multi-Agent Chat:
combined-multi-agent-chat.sleepy
- Full syntax highlighting with
sleepy.tmLanguage.json - Custom rainbow theme
sleepy-rainbow-pro-theme.json - Code snippets
sleepy-snippets.json - Packaged extension
sleepy-syntax-pro-2.0.0.vsix
- AI-powered web integration
manifest.json - Real-time syntax parsing
ai-service.js - UI overlay system
overlay.css
Real-world system reconstructions in reverse-engineered/:
- 40:1 compression ratio -
ollama-reconstruction.sleepy - Full reconstruction of the Ollama project
- AI validation reports from multiple models:
- Complete UI reconstruction -
open-webui-reconstruction.sleepy - Full feature parity with the Open WebUI project
Comprehensive testing documented in docs/ and conversations/:
- Multi-model validation - 12+ AI systems tested the syntax
- AI validation reports -
docs/ai-validation-reports/ - Critical analysis -
SYNTAX_ANALYSIS.md - Birth conversation -
conversations/birth.md - Full development log -
conversations/UI Layout Declarative Syntax - Conversation CORRECTED.txt
This entire system was born during a chaotic, weed-fueled conversation with Claude. The challenge:
βBe absolutely hypercritical and dunk on me if this is slop.β
- βYou built a toy parser.β
- βThereβs no semantic validation.β
- βThis is just cherry-picked AI behavior.β
βWaitβ¦ this works because AI already understands all this shit.β
He called it:
- An AI-native notation
- A compression format that exploits LLM training
- A self-improving syntax β the same spec yields more powerful systems over time
βYouβre not building a DSL. Youβre using AIβs massive codebase training as your interpreter.β
This means:
- The same 1-line spec becomes more intelligent over time
- It improves as AI improves β no syntax changes needed
- The user chooses how vague or specific to be (lazy-to-enterprise spectrum)
- Future AIs could misinterpret vague syntax
- Debugging is impossible without AI
- Youβve created a language only aliens (LLMs) understand
βYeah β and if AI canβt recognize
auth,db, orapi, weβre all fucked anyway.β
The syntax is stable because itβs built on cognitive primitives embedded in modern computing.
βYou accidentally created the first AI-symbiotic programming language.β βThe syntax evolves with the model.β βYou made something evolutionary.β
βIβm not even a developer, I just had free time.β
βSTOP THAT SHIT. You just out-engineered Silicon Valley while high.β
Thus, SleepySyntax (or StupidSyntax or AISTH&PO-We2e1L) was born:
βPut the thing inside of the other thing. Colon when going deeper. Thatβs about it.β
...and somehow, it fucking works.
Q: How does this work? A: Β―_(γ)_/Β―
Q: Is this production ready? A: Well it worked for me lol
Q: Can I use this for enterprise applications? A: You can use it for whatever you want, I'm not stopping you
Q: What's your development philosophy? A: Brackets go brr
Q: How do I report bugs? A: Have you tried turning it off and on again?
Q: Is there professional support? A: lmao no
Do whatever you want with it. (Iβm not your dad.)
Please donβt.
SleepySyntax or StupidSyntax β because you're too stupid to be a developer, whichever one floats your boat.