[PR #261] [CLOSED] Svelte Reconciler (#107) #401

Closed
opened 2026-03-02 23:46:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opentui/pull/261
Author: @slowsage
Created: 11/4/2025
Status: Closed

Base: mainHead: svelte


📝 Commits (1)

📊 Changes

28 files changed (+3501 additions, -60 deletions)

View changed files

📝 bun.lock (+96 -58)
📝 package.json (+4 -2)
packages/svelte/.gitignore (+34 -0)
packages/svelte/README.md (+82 -0)
packages/svelte/analysis/DOMCALLERS.md (+103 -0)
packages/svelte/analysis/DOM_LIMITATIONS.md (+705 -0)
packages/svelte/analysis/RDOM.md (+276 -0)
packages/svelte/analysis/WHOLE.md (+171 -0)
packages/svelte/analysis/dom-cover.md (+419 -0)
packages/svelte/analysis/svelte-dom-cover.py (+451 -0)
packages/svelte/bunfig.toml (+1 -0)
packages/svelte/examples/child.js (+21 -0)
packages/svelte/examples/child.svelte (+7 -0)
packages/svelte/examples/counter.svelte (+12 -0)
packages/svelte/examples/hello-svelte.js (+53 -0)
packages/svelte/examples/hello-svelte.svelte (+17 -0)
packages/svelte/examples/hello.svelte (+4 -0)
packages/svelte/index.test.ts (+35 -0)
packages/svelte/index.ts (+70 -0)
packages/svelte/package.json (+44 -0)

...and 8 more files

📄 Description

Note: Please feel free to close if no longer relevant.

Preliminary Draft for #107.

The analysis folder has a python script to figure out minimal code approaches to cover the DOM api that svelte compiles into. This analysis led me to try the DOM approach first. May need to switch to AST-level integration if I run into issues.

To test (after bun run build in repo root: bun start examples/hello-svelte.svelte.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opentui/pull/261 **Author:** [@slowsage](https://github.com/slowsage) **Created:** 11/4/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `svelte` --- ### 📝 Commits (1) - [`ddbb310`](https://github.com/anomalyco/opentui/commit/ddbb3101382db1741b6d3dc000cd1eadaa009936) hello-svelte ### 📊 Changes **28 files changed** (+3501 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `bun.lock` (+96 -58) 📝 `package.json` (+4 -2) ➕ `packages/svelte/.gitignore` (+34 -0) ➕ `packages/svelte/README.md` (+82 -0) ➕ `packages/svelte/analysis/DOMCALLERS.md` (+103 -0) ➕ `packages/svelte/analysis/DOM_LIMITATIONS.md` (+705 -0) ➕ `packages/svelte/analysis/RDOM.md` (+276 -0) ➕ `packages/svelte/analysis/WHOLE.md` (+171 -0) ➕ `packages/svelte/analysis/dom-cover.md` (+419 -0) ➕ `packages/svelte/analysis/svelte-dom-cover.py` (+451 -0) ➕ `packages/svelte/bunfig.toml` (+1 -0) ➕ `packages/svelte/examples/child.js` (+21 -0) ➕ `packages/svelte/examples/child.svelte` (+7 -0) ➕ `packages/svelte/examples/counter.svelte` (+12 -0) ➕ `packages/svelte/examples/hello-svelte.js` (+53 -0) ➕ `packages/svelte/examples/hello-svelte.svelte` (+17 -0) ➕ `packages/svelte/examples/hello.svelte` (+4 -0) ➕ `packages/svelte/index.test.ts` (+35 -0) ➕ `packages/svelte/index.ts` (+70 -0) ➕ `packages/svelte/package.json` (+44 -0) _...and 8 more files_ </details> ### 📄 Description Note: Please feel free to close if no longer relevant. Preliminary Draft for #107. The analysis folder has a python script to figure out minimal code approaches to cover the DOM api that svelte compiles into. This analysis led me to try the DOM approach first. May need to switch to AST-level integration if I run into issues. To test (after `bun run build` in repo root: `bun start examples/hello-svelte.svelte`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:46:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#401
No description provided.