Skip to content

feat: delimit native JSX literals - #254

Merged
ejgallego merged 1 commit into
mainfrom
feat/jsx-literal-syntax
Oct 9, 2026
Merged

ejgallego merged 1 commit into
mainfrom
feat/jsx-literal-syntax

Conversation

@ejgallego

Copy link
Copy Markdown
Collaborator

This PR adopts the jsx%{...} notation suggested in #197, keeping JSX elements separate from Lean terms and do-block statements.

  • Expose JSX literals and js_field% on import, remove the Jsx scope requirement, and migrate callers and documentation.
  • Preserve the pinned Lean 4.35 toolchain and native props/child semantics; defer upstream HTML parser integration until Lean 4.36.

Co-authored-by: Wojciech Nawrocki [email protected]

Adopt the jsx%{...} notation suggested in PR197 on the pinned Lean 4.35 toolchain. Keep the current parser and native props/child lowering, migrate callers and documentation, and check nested literals and ordinary Lean grammar.

Co-authored-by: Wojciech Nawrocki <[email protected]>
@ejgallego
ejgallego marked this pull request as ready for review October 9, 2026 17:14
@ejgallego
ejgallego merged commit df0bdff into main Oct 9, 2026
4 checks passed
@ejgallego
ejgallego deleted the feat/jsx-literal-syntax branch October 9, 2026 17:36
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