feat(native-el-ui): full el-html vessel rewrite — no raw HTML strings #15
Reference in New Issue
Block a user
Delete Branch "feat/native-el-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rewrites the entire marketing site to emit all HTML through the el-html vessel API. No raw HTML heredoc strings remain in any component.
What changed
importof el-html vessel with directextern fndeclarations; pre-compileddist/elhtml_impl.cprovides implementations as a c_sourceBuild
Builds clean locally. Binary starts and serves on :3001.
Remaining
src/styles.el(page shell — head, body open/close) still uses raw heredocs. Converting it toel_html_doc()is a separate architectural change to how pages are assembled.Parser now supports {#if cond}...{#else}...{/if} blocks as HtmlIf AST nodes. Style and script elements collect content as raw text, bypassing El expression parsing entirely — eliminating O(n²) CSS parse time on large style blocks.