Tier A: SPRITECOLLIDE, runtime hints, tutorial runOnEdit#17
Merged
cursor[bot] merged 5 commits intomainfrom Mar 30, 2026
Merged
Tier A: SPRITECOLLIDE, runtime hints, tutorial runOnEdit#17cursor[bot] merged 5 commits intomainfrom
cursor[bot] merged 5 commits intomainfrom
Conversation
- Wire SPRITECOLLIDE(slot_a,slot_b) to gfx_sprite_slots_overlap_aabb; fix function_lookup length (13) and eval_factor dispatch for SPRITE* names - Non-GFX builds parse args then error with a clear message - runtime_error_hint for unknown function and type coercion hints - tutorial-embed: optional runOnEdit with debounce; clear timer on destroy - Docs: README, tutorial-embedding, CHANGELOG, to-do Co-authored-by: Chris Garrett <chris@chrisg.com>
Co-authored-by: Chris Garrett <chris@chrisg.com>
- web/tutorial.html: debounced auto-run (550ms) for final playground; short note in copy - docs/tutorial-embedding.md + CHANGELOG: document behavior Co-authored-by: Chris Garrett <chris@chrisg.com>
- basic.c: runtime_error_hint prints Hint on native stderr (parity with WASM) - Hints for missing THEN, bad GOTO/GOSUB targets, ON target lines, IF THEN line - tutorial-embed: Ctrl/Cmd+Enter runs; scrollToError scrolls output on error - docs + CHANGELOG Co-authored-by: Chris Garrett <chris@chrisg.com>
- FOR/NEXT/DIM: hints for scalar, TO, STEP, NEXT pairing, DIM syntax and bounds - get_var_reference: hints for reserved names, subscripts, out of range - tutorial.html: Ctrl/Cmd+Enter note; embedding doc keyboard section - CHANGELOG: consolidate runtime-hints bullet Co-authored-by: Chris Garrett <chris@chrisg.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tier A: runtime hints, tutorial embed UX (Ctrl/Cmd+Enter, scrollToError, runOnEdit on playground),
SPRITECOLLIDE, branch synced withmain.Latest
DIM/FOR/NEXT:Hint:lines for scalar vs array,TO,=,FORstack,NEXTwithoutFOR,DIMsyntax (parentheses, dimensions ≤3, invalid size),Missing ')'inDIM.get_var_reference): hints for reserved names, too many indices in(…), negative index, missing subscript on array, too many subscripts vsDIM, subscript out of range,Expected variable.web/tutorial.html: playground paragraph notes Ctrl+Enter / Cmd+Enter to run.docs/tutorial-embedding.md: keyboard shortcut documented.CHANGELOG: single consolidated Unreleased bullet for runtime hints.Earlier in PR
GOTO/GOSUB/IF/ON), nativeHint:on stderr,SPRITECOLLIDE,runOnEditon playground, mergemain.Testing
make,make basic-gfx, non-interactive.basloop,make wasm-tutorial-testMerge
Merge #17 on GitHub when ready.