Skip to content

Compile views to a program the development evaluator can run - #737

Merged
ctate merged 1 commit into
mainfrom
ctate/compile-views-program-246078
Oct 18, 2026
Merged

ctate merged 1 commit into
mainfrom
ctate/compile-views-program-246078

Conversation

@ctate

@ctate ctate commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator
  • The view compiler now builds a typed statement tree and prints the release TypeScript from it. Release output is byte-identical: every example view, every view the compiler tests compile, and every diagnostic.
  • A development evaluator runs that same program against the committed model and calls the same portable view builders, through a bridge generated from the app's contract. It is not staged into any build yet.
  • A differential test evaluates both forms for every example app over model, video and virtual-window states and requires identical view records. It also checks that programs compiled for a different build are refused and the last good program is kept.

- The view compiler builds a typed statement tree and prints the release TypeScript from it; release output is unchanged.
- A development evaluator runs the same program against the committed model and calls the same portable view builders, with a bridge generated from the app's contract.
- A differential test checks that both produce identical view records for every example app, and that programs for a different build are refused.
@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
native-sdk Ready Ready Preview, v0 Oct 18, 2026 3:36pm UTC
native-sdk-schema Ready Ready Preview, v0 Oct 18, 2026 3:36pm UTC

@ctate
ctate merged commit e0c8f01 into main Oct 18, 2026
36 checks passed

This branch was successfully deployed

2 active deployments
Preview – native-sdk — 84797f01 Deployed Oct 18, 2026 by vercel[bot]
Preview – native-sdk-schema — 84797f01 Deployed Oct 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant