Generated: November 7, 2025
Analysis Type: Comprehensive type dependency analysis including WebIDL primitives, strings, generics, and spec types
Total Specifications Analyzed: 333 WebIDL files (20 WHATWG, 313 W3C/other)
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>DOM Benchmark Results</title> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script> | |
| <style> | |
| * { |
| INFO 2025-09-30T18:03:44 +42ms service=default version=0.13.5 args=["run","hello","--print-logs","--model","opencode/claude-sonnet-4-5"] opencode | |
| INFO 2025-09-30T18:03:44 +0ms service=project directory=/Users/bcardarella/projects/zig/zigdom fromDirectory | |
| INFO 2025-09-30T18:03:44 +4ms service=config path=/Users/bcardarella/.config/opencode/config.json loading | |
| INFO 2025-09-30T18:03:44 +0ms service=config path=/Users/bcardarella/.config/opencode/opencode.json loading | |
| INFO 2025-09-30T18:03:44 +2ms service=config path=/Users/bcardarella/.config/opencode/opencode.jsonc loading | |
| INFO 2025-09-30T18:03:44 +1ms service=plugin [email protected] loading plugin | |
| INFO 2025-09-30T18:03:44 +1ms service=plugin [email protected] loading plugin | |
| INFO 2025-09-30T18:03:44 +8ms service=bus type=* subscribing | |
| INFO 2025-09-30T18:03:44 +0ms service=bus type=session.updated subscribing | |
| INFO 2025-09-30T18:03:44 +0ms service=bus type=message.updated subscribing |
Version 1.0
Status: Definitive Specification
Date: 2025-09-05
This specification defines the View Markup Language (VML), a declarative SGML-based markup language for describing SwiftUI user interface hierarchies. VML provides a static, server-renderable representation of SwiftUI views that can be transmitted over HTTP and interpreted by compliant clients.
- Element Mapping: SwiftUI view types map 1:1 to VML elements with exact name preservation
- Attribute Mapping: SwiftUI initializer parameters become VML element attributes
- Modifier Mapping: SwiftUI view modifiers become comma-separated values in the
styleattribute - Static Content Only: VML represents static UI structure - remove all dynamic bindings, closures, and runtime logic
- Template System: ViewBuilder closures convert to template/slot patterns using
templateattributes
Version 1.0
Status: Definitive Specification
Date: 2025-09-05
This specification defines the View Markup Language (VML), a declarative SGML-based markup language for describing SwiftUI user interface hierarchies. VML provides a static, server-renderable representation of SwiftUI views that can be transmitted over HTTP and interpreted by compliant clients.
VML (View Markup Language) is a declarative markup for describing SwiftUI-compatible UI hierarchies. It encodes structure, attributes, and modifiers (via a style string). VML does not encode closures, actions, or control flow; the client runtime handles events and data flow outside of this spec.
This document supersedes earlier drafts and incorporates all refinements, including Templates, attr(...) with CSS‑aligned type(<…>) hints, strict formatting, serialization rules, and an EBNF grammar. It also contains an exhaustive SwiftUI → VML conversion cookbook with before/after examples.
- ALWAYS use
.foregroundStyle()instead of deprecated.foregroundColor() - ALWAYS use
.clipShape(.rect(cornerRadius: X))instead ofRoundedRectanglefor simple rounded corners - NEVER use views inside background modifiers - use nested modifiers or enums only
- NEVER use localStorage or sessionStorage in SwiftUI artifacts (not supported)
- NEVER invent APIs that don't exist - verify all modifiers exist in SwiftUI
| v0.1.0 | |
| v0.1.1 | |
| v0.10.0 | |
| v0.11.0 | |
| v0.11.1 | |
| v0.12.0 | |
| v0.12.1 | |
| v0.13.0 | |
| v0.13.1 | |
| v0.13.2 |