π¦₯ W++WASM β The Future of the Web?
A chaotic, Python-style scripting language for .NET⦠now running directly in the browser via WebAssembly.
Built with vibes, powered by sloths, and definitely not Visual Basic.
β‘ What is W++?
W++ is a high-level scripting language designed for learning, hacking, and meme-driven development.
Think: Python-like syntax, C#-powered backend, chaos-infused philosophy.
With W++WASM, we take it further:
No HTML. No CSS. No JS.
Just raw WebAssembly powered by W++ code.
π Why W++WASM?
- β Full rendering logic in WASM
- β Built-in GC (mark & sweep in progress)
- β
Powered by
wasm_encoderand Rust - β UI driven from JSON layout files (soon W++ DSL directly!)
- β No HTML/CSS/DOM required
This is not a framework.
This is a rebellion.
π¦ Folder Structure
WPLUSPLUSVM/ βββ parser/ # W++ core parser (C#) βββ wpp_gc_runtime/ # Rust-based mark & sweep GC (WIP) βββ wpp-wasm-runtime/ # WASM UI renderer β βββ index.html # Minimal HTML wrapper β βββ runtime.js # JS glue β βββ ui.wasm # Output from Rust βββ out.box.json # Layout definition βββ ui.wpp # Future W++-defined UI
π οΈ Getting Started
1. Build the WASM UI
cd wpp-wasm-runtime
cargo run2. Run the demo
Serve index.html using any local server
π§ How It Works
You define your UI in out.box.json (for now)
The wpp-wasm-runtime compiles a Rust backend using wasm_encoder
Each box is drawn using imported JS canvas calls (drawRect)
We simulate object allocation with gc_alloc while preparing for real GC integration
Accessibility & semantics to be layered via .map files (see roadmap)
π Roadmap
JSON layout rendering - done
Basic wasm-only rendering pipeline - done
Simulated memory allocation - done
Full GC (mark & sweep) - in progress
Semantic .map file generation - in progress
W++-powered UI DSL - soon
Accessibility tooling - soon
Full replacement of HTML, CSS, JS (π) - the dream
π€ FAQ
Q: Is this practical? A: No, itβs W++.
Q: Will this dethrone HTML? A: Eventuallyβ’.
Q: Why? A: Because we can.
β€οΈ Special Thanks
Everyone who starred the project (yes, all 3 of you)
Anyone brave enough to run a UI without the DOM
π License
MIT. Use it, break it, fork it, port it to your fridge.