Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
526efe2
Add the Sand language, language server, and Zed support
ThatOneToast Nov 8, 2026
6e42ec4
Close language gaps with the Rust entry point
ThatOneToast Nov 11, 2026
b22d889
Add recursion, counting loops, break, and general while conditions to…
ThatOneToast Nov 12, 2026
47d96eb
Read and write entity properties through Player and loop handles
ThatOneToast Nov 12, 2026
ab04bc0
Add casts between every value type and make emit a statement
ThatOneToast Nov 12, 2026
7a16e0c
Highlight and parse loop, break, emit, and counting for in the tree-s…
ThatOneToast Nov 13, 2026
7206fc3
Document loops, recursion, casts, and properties; ratchet the API sur…
ThatOneToast Nov 14, 2026
4c3ccbc
Add exhaustive match, safe range iterators, and language formatting
ThatOneToast Nov 14, 2026
92d1c85
Track remaining language expansion and harden editor/runtime probes
ThatOneToast Nov 14, 2026
80702bf
Keep bundled Zed highlighting aligned with match and mutable parameters
ThatOneToast Nov 14, 2026
667aeea
Improve runtime language values and target-aware validation
ThatOneToast Nov 15, 2026
8f16563
Add struct values and inherent State methods
ThatOneToast Nov 16, 2026
a5eb7f8
Add borrowed receivers and retained entity attribution
ThatOneToast Nov 16, 2026
ef6209a
Add fixed arrays and collection iteration to Sand language
ThatOneToast Nov 16, 2026
3b155e2
Add owned runtime text and typed storage values
ThatOneToast Nov 17, 2026
9955ec3
Add growable typed vectors and snapshot iteration
ThatOneToast Nov 17, 2026
395cef7
Add value matches and owned destructuring patterns
ThatOneToast Nov 17, 2026
9955265
Add generic functions records and impl methods
ThatOneToast Nov 17, 2026
7523849
Add bundled maps and sets with owned typed values
ThatOneToast Nov 24, 2026
c6af7f1
Add static trait contracts and generic bounds
ThatOneToast Nov 24, 2026
4fefbab
Run Sand-authored tests and emit portable source maps
ThatOneToast Nov 24, 2026
8c06fb8
Add typed function values and owned move closures
ThatOneToast Nov 24, 2026
3113c84
Retain related entities through typed relationship capture
ThatOneToast Nov 24, 2026
925d895
Map emitted commands back to Sand source locations
ThatOneToast Nov 24, 2026
409d082
Add typed mounting and dismounting for retained vehicles
ThatOneToast Nov 24, 2026
72515df
Suspend Sand functions with owned runtime continuations
ThatOneToast Nov 24, 2026
5a6fed8
Add dimension-scoped calls and typed block cloning
ThatOneToast Nov 24, 2026
9e9a32a
Check biome predicates against target-version catalogs
ThatOneToast Nov 24, 2026
6afa0c0
Add checked block entity data operations
ThatOneToast Nov 24, 2026
64d0381
Expose typed equipment operations in Sand
ThatOneToast Nov 24, 2026
3b0125e
Filter entities by State scores and typed NBT
ThatOneToast Nov 24, 2026
d96784c
Allow computed durations in owned waits
ThatOneToast Nov 24, 2026
7ef14f2
Validate typed query data and cover escaped storage values
ThatOneToast Nov 24, 2026
8313c93
Author conditional loot pools in Sand
ThatOneToast Nov 24, 2026
dd40b90
Share verified enchantment identifiers across Rust and Sand
ThatOneToast Nov 24, 2026
900c70c
Bundle typed durations and storable positions
ThatOneToast Nov 24, 2026
d24f594
Author native damage types through the shared component model
ThatOneToast Nov 24, 2026
f5af980
Write and copy typed block entity data
ThatOneToast Nov 24, 2026
22630ce
Read and set native entity velocity
ThatOneToast Nov 24, 2026
8fcad16
Share named world predicates across functions and loot pools
ThatOneToast Nov 24, 2026
5d96396
Allow guarded statement and value matches
ThatOneToast Nov 24, 2026
d5bd3e7
Add smithing trim recipes with explicit armor patterns
ThatOneToast Nov 24, 2026
eaa2f81
Add client-localized text with ordered substitutions
ThatOneToast Nov 24, 2026
8cb3883
Bind and destructure owned values in match arms
ThatOneToast Nov 24, 2026
4abf230
Evaluate scoped blocks as expressions with tail values
ThatOneToast Nov 24, 2026
47bdf94
Compose native tooltips and click actions in chat
ThatOneToast Nov 24, 2026
c3909d8
Author written books with rich pages and native navigation
ThatOneToast Nov 24, 2026
c8abaf6
Evaluate particle options from runtime values
ThatOneToast Nov 24, 2026
d919067
Author named native advancements in Sand
ThatOneToast Nov 24, 2026
78c93ab
Read player advancement and criterion progress
ThatOneToast Nov 24, 2026
67927c5
Show and clear native notice dialogs
ThatOneToast Nov 24, 2026
79910ae
Declare flat dimensions and resume waits in their chunks
ThatOneToast Nov 24, 2026
deea4f6
Author custom biomes with native climate and colors
ThatOneToast Nov 24, 2026
c55dce0
Import and place native structure templates in Sand
ThatOneToast Nov 24, 2026
2380a06
Handle native advancement completion as the player
ThatOneToast Nov 24, 2026
e5af3e2
Read inventory quantities and checked entity NBT paths
ThatOneToast Nov 24, 2026
d51eb01
Accept computed counts for item removal
ThatOneToast Nov 24, 2026
878f51a
Expose checked player inventory transfers to Sand
ThatOneToast Nov 24, 2026
eca7691
Preserve generated identities for owner-position actions
ThatOneToast Nov 24, 2026
2981906
Author private State-driven HUDs in Sand
ThatOneToast Nov 24, 2026
3a25803
Resolve the HUD progress operand in the API catalog
ThatOneToast Nov 24, 2026
fa22de0
Update biome fixtures and restore advanced API discovery
ThatOneToast Nov 24, 2026
6acbeb6
Author paginated native menus in Sand
ThatOneToast Nov 24, 2026
6525584
Add guarded conversations to native Sand menus
ThatOneToast Nov 24, 2026
c05b93d
Author natural biome spawn tables and density costs in Sand
ThatOneToast Nov 24, 2026
9d69a51
Suspend Sand functions inside conditional branches
ThatOneToast Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
144 changes: 144 additions & 0 deletions .github/workflows/vanilla-reload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ on:
- "scripts/mc_validation/local_rcon_server.py"
- "scripts/mc_validation/rcon_client.py"
- "sand-cli/**"
- "sand-lang/**"
- "sand-version/**"
- "sand-build/src/vanilla_catalog.rs"
- "scripts/validate_language.py"
- "scripts/validate_language_values.py"
- "sand-core/src/**"
- "sand-macros/src/**"
- "sand/src/**"
Expand Down Expand Up @@ -179,6 +184,131 @@ jobs:
--jar "$SAND_SERVER_JAR" \
--output "target/vanilla-reload/${{ matrix.version }}"

- name: Validate language arithmetic and runtime operands
if: matrix.version == '26.2'
run: |
cargo build -p sand-cli
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--output "target/vanilla-reload/${{ matrix.version }}/language-control-flow"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/assignments.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-assignments"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/structs.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-structs"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/borrows.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-borrows"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/collections.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-collections"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/text.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-text"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/sequences.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-vectors"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/patterns.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-patterns"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/match_guards.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-match-guards"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/match_bindings.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-match-bindings"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/block_expressions.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-block-expressions"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/generics.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-generics"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/traits.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-traits"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/callables.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-callables"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/relations.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-relations"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/world_ops.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-world-ops"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--wait-for-result --load-dimension language_probe:workshop \
--fixture sand-lang/tests/fixtures/flat_dimensions.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-flat-dimensions"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--load-dimension language_probe:grove \
--fixture sand-lang/tests/fixtures/custom_biomes.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-custom-biomes"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/structure_templates.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-structure-templates"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/equipment.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-equipment"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/entity_filters.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-entity-filters"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--wait-for-result --fixture sand-lang/tests/fixtures/loot_pools.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-loot-pools"
source="target/vanilla-reload/${{ matrix.version }}/language-time-spatial-source"
mkdir -p "$source"
cp sand-lang/tests/fixtures/time_spatial.sand "$source/pack.sand"
target/debug/sand lang add time "$source"
target/debug/sand lang add spatial "$source"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture "$source/pack.sand" \
--output "target/vanilla-reload/${{ matrix.version }}/language-time-spatial"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/damage_types.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-damage-types"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--wait-for-result --fixture sand-lang/tests/fixtures/entity_motion.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-entity-motion"
python3 scripts/validate_language.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--fixture sand-lang/tests/fixtures/world_predicates.sand \
--output "target/vanilla-reload/${{ matrix.version }}/language-world-predicates"
mkdir -p "target/vanilla-reload/${{ matrix.version }}/language-authored-tests"
target/debug/sand lang test sand-lang/tests/fixtures/authored_tests.sand \
--accept-eula --jar "$SAND_SERVER_JAR" 2>&1 \
| tee "target/vanilla-reload/${{ matrix.version }}/language-authored-tests/results.log"
python3 scripts/validate_language_collections.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--output "target/vanilla-reload/${{ matrix.version }}/language-collections-library"
python3 scripts/validate_language_values.py \
--binary target/debug/sand --jar "$SAND_SERVER_JAR" \
--output "target/vanilla-reload/${{ matrix.version }}/language-values"

- name: Validate 26.3 compute execution
if: matrix.version == '26.3'
run: |
Expand Down Expand Up @@ -429,6 +559,20 @@ jobs:
retention-days: 14
path: |
target/vanilla-reload/${{ matrix.version }}/latest.log
target/vanilla-reload/${{ matrix.version }}/language-control-flow
target/vanilla-reload/${{ matrix.version }}/language-values
target/vanilla-reload/${{ matrix.version }}/language-assignments
target/vanilla-reload/${{ matrix.version }}/language-structs
target/vanilla-reload/${{ matrix.version }}/language-borrows
target/vanilla-reload/${{ matrix.version }}/language-collections
target/vanilla-reload/${{ matrix.version }}/language-text
target/vanilla-reload/${{ matrix.version }}/language-vectors
target/vanilla-reload/${{ matrix.version }}/language-collections-library
target/vanilla-reload/${{ matrix.version }}/language-traits
target/vanilla-reload/${{ matrix.version }}/language-callables
target/vanilla-reload/${{ matrix.version }}/language-relations
target/vanilla-reload/${{ matrix.version }}/language-world-ops
target/vanilla-reload/${{ matrix.version }}/language-authored-tests
target/vanilla-reload/${{ matrix.version }}/world-gameplay
target/vanilla-reload/${{ matrix.version }}/runtime-report
target/vanilla-reload/${{ matrix.version }}/compute
Expand Down
104 changes: 97 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading