Show HN: Polyglot Web Assembler done using AI (github.com)

🤖 AI Summary
Arshu Assembler is a polyglot, declarative framework for building apps—announced as a multi-language reimplementation of an existing assembler created with heavy AI assistance. The Phase 2 repository (Static Assembler) provides complete static assembly implementations and demos across C#, Go, Node.js, PHP, Rust and JavaScript, and is part of a larger roadmap that includes a multi-language proxy (Phase 1), planned dynamic server-side assembly (Phase 3) and a full-stack framework (Phase 4). The project aims to accelerate app development and improve software supply chains by codifying reusable assembly abstractions inspired by Mustache, React and HTMX. Technically, Arshu uses a component-oriented architecture with explicit composition rules: direct composition, numbered slotted composition, and AppView-context composition; data composition supports JSON key merging and iterative JSON array rendering. It implements hierarchical and cross-cutting data merging, partial rendering (optimized UI leaf updates akin to a virtual DOM), HTMX-like markup/event binding, and uniform API connectivity (Ajax, WebSocket, WebRTC, WebTransport). The repo is organized per language (Assembler, AssemblerTest, AssemblerWeb) and includes generated docs and SVG rule diagrams produced by Gemini Code Assist. Important caveat: the multi-language ports were generated from a C# prompt and validated at a high level by the author, but may not follow idiomatic patterns or be fully optimized—suitable for experimentation, testing, and collaboration toward a more polished polyglot framework.
Loading comments...
loading comments...