🐾 Pup9191 LanguageOfficial VS Code extension for Pup9191 — A modern Zero-CSS Declarative UI Programming Language that lets you build beautiful web interfaces with pure declarative syntax. No CSS required. No JavaScript boilerplate. Just clean, readable code that compiles to production-ready HTML. ✨ Quick Features
📦 InstallationFrom VS Code Marketplace
From VSIX
From Open VSX🚀 Getting StartedZero-Config Run (Recommended)
With
|
| Prefix | Component |
|---|---|
pup-btn |
Pup9191Button |
pup-card |
Pup9191Card |
pup-text |
Pup9191Text |
pup-input |
Pup9191Input |
pup-container |
Pup9191Container |
pup-box |
Pup9191Box |
pup-stack |
Pup9191Stack |
pup-image |
Pup9191Image |
pup-icon |
Pup9191Icon |
pup-spacer |
Pup9191Spacer |
pup-divider |
Pup9191Divider |
pup-router |
Pup9191Router |
pup-route |
Pup9191Route |
pup-navlink |
Pup9191NavLink |
pup-foreach |
Foreach Loop |
pup-while |
While Loop |
pup-animate |
Animation Block |
pup-click |
Click Event |
Snippet autocomplete — replace with actual screenshot
▶ Run Button
Native VS Code Run button integration. Click ▶ Run in the editor title bar to compile and launch any .pup9191 file instantly.
Run button in editor title bar — replace with actual screenshot
🐛 Debug Adapter
Full Debug Adapter Protocol (DAP) implementation:
- Live Debug Console — stdout, stderr, and compiler output streamed in real time
- Exited/Terminated Events — Proper lifecycle management
- Zero-Config Launch — Works without any
launch.json - Inline Adapter — Extension-host-local, no TCP server required
🐾 Pup9191 Run: app.pup9191
Compiler: C:\...\pup.exe
File: C:\...\app.pup9191
[1/4] Reading app.pup9191...
[2/4] Tokenizing...
[3/4] Parsing AST...
[4/4] Generating HTML & internal CSS...
✅ Pup9191 program launched successfully.
Debug Console output — replace with actual screenshot
🔴 Diagnostics
Compiler errors and warnings are parsed and displayed in VS Code's Problems panel with precise file, line, and column information. Errors appear inline in the editor with squiggly underlines.
Problems panel with error diagnostics — replace with actual screenshot
🗂️ File Icons
Custom file icon theme that displays the Pup9191 logo for all .pup9191 files in the Explorer sidebar and editor tabs. Enable via File > Preferences > File Icon Theme > Pup9191 File Icons.
File Explorer with custom icons — replace with actual screenshot
💻 Terminal
Use the Pup9191 compiler directly from the terminal:
# Compile and launch live preview
pup run app.pup9191
# Compile to dist/index.html
pup build app.pup9191
# Display compiler version
pup version
Terminal output — replace with actual screenshot
📝 Example Code
Pup9191 {
let title = "Welcome to Pup9191 V2"
let count = 0
Pup9191Container {
padding 40
Pup9191Card {
padding 24
round 12
shadow
animate bounce
duration 0.8s
Pup9191Text title {
color #2563eb
size 32
bold
}
Pup9191Spacer { height 16 }
Pup9191Button "Increment Counter" {
background #2563eb
color white
padding 12
round 8
Pup9191Click {
add count = 1
}
}
}
}
}
🎯 Why Pup9191?
| Problem | Pup9191 Solution |
|---|---|
| ❌ CSS complexity | ✅ Zero-CSS — all styling is declarative |
| ❌ Boilerplate code | ✅ Clean, readable syntax |
| ❌ Framework lock-in | ✅ Compiles to pure HTML |
| ❌ Slow prototyping | ✅ Instant Run button |
| ❌ Debugging friction | ✅ Full Debug Adapter support |
| ❌ Steep learning curve | ✅ Intuitive, beginner-friendly |
📚 Documentation
Visit the official website for:
- Language reference
- Component API documentation
- Tutorials and guides
- Example projects
- Compiler installation
🗺️ Roadmap
- [x] Syntax highlighting & snippets
- [x] Run button & Debug Adapter
- [x] Diagnostics & Problems panel
- [x] File icon theme
- [ ] Language Server Protocol (LSP)
- [ ] IntelliSense & autocomplete
- [ ] In-editor preview
- [ ] Pup9191 V3 debugger (breakpoints, step-through, variable inspection)
🤝 Support
- Website: https://pup9191.github.io/Pup9191web/
- GitHub: https://github.com/Pup9191/Pup9191
- Issues: https://github.com/Pup9191/Pup9191/issues
- Marketplace: VS Code Marketplace
📄 License
This extension is licensed under the MIT License.