Skip to content

field / boundary grammar + heat demo (#163) - #203

Merged
godofecht merged 1 commit into
mainfrom
feat/field-boundary-grammar
Aug 5, 2026
Merged

godofecht merged 1 commit into
mainfrom
feat/field-boundary-grammar

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • New `field_dsl` expander: `field T : f64[N] on Line`, `T evolves as laplacian(T)`, `boundary T { left=… right=… }`
  • Lowers to `T_field_step` → `heat_euler_step_1d`
  • `heat_diffusion.flow` uses the north-star surface; wired through module resolver + LSP

Test plan

  • `pytest tests/unit/test_field_dsl.py`
  • Transpile + run `examples/evolution/heat_diffusion.flow` (OK: field T / boundary / T_field_step)

Closes #163

Made with Cursor

Stage-1 expander recognizes field T on Line, laplacian evolves, and
Dirichlet boundary blocks; heat_diffusion uses T_field_step (#163).

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht merged commit 0cd9df4 into main Aug 5, 2026
14 checks passed
@godofecht
godofecht deleted the feat/field-boundary-grammar branch August 5, 2026 18:41
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.

[roadmap] Field / laplacian PDE surface

1 participant