Skip to content

Commit 2674ecd

Browse files
committed
Spread attributes in markup, {...e}; release 0.3.1
- Parse `{...e}` among an element's attributes (ref + crate). On an HTML element it is Solid's spread; on a component, a function source of Solid's merge between runs of named props: the last part with a field wins, and each field keeps updating. - Checker: a spread on a component is the "*" argument; its failures, holds and O-3 stores go wherever any field goes (R-2, R-f-5). - 07 §4, S-surface-5 (all five runners, crate parity incl. --lower and --project), guide/language.md. - Site: the props example spreads the rest onto the element. - Bump everything to 0.3.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWNkVdujweQpFRfpvoj
1 parent 96faa7f commit 2674ecd

33 files changed

Lines changed: 206 additions & 60 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.3.1
4+
5+
**New**
6+
7+
- Spread attributes in markup, `<button {...rest}>` and `<Inner {...rest} />`, lowered to Solid's spread and `merge`:
8+
later attributes override, and each field keeps updating (07 §4, S-surface-5).
9+
310
## 0.3.0
411

512
`@reactivescript/compiler`, `@reactivescript/runtime`, `@reactivescript/language-server` and the editor extension,

‎compiler/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎compiler/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reactivescript"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2021"
55
description = "ReactiveScript's compiler (spec/11): parse, check, resolve, and lower through Solid's solidjs-compiler"
66
license = "MIT"

‎compiler/npm/darwin-arm64/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactivescript/compiler-darwin-arm64",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"cpu": [
55
"arm64"
66
],

‎compiler/npm/darwin-x64/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactivescript/compiler-darwin-x64",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"cpu": [
55
"x64"
66
],

‎compiler/npm/linux-arm64-gnu/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactivescript/compiler-linux-arm64-gnu",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"cpu": [
55
"arm64"
66
],

‎compiler/npm/linux-x64-gnu/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactivescript/compiler-linux-x64-gnu",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"cpu": [
55
"x64"
66
],

‎compiler/npm/wasm32-wasi/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactivescript/compiler-wasm32-wasi",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"main": "compiler.wasi.cjs",
55
"browser": "compiler.wasi-browser.js",
66
"files": [

‎compiler/npm/win32-x64-msvc/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactivescript/compiler-win32-x64-msvc",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"cpu": [
55
"x64"
66
],

‎compiler/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)