Repository navigation
«Baum»: no box hint; the → chain export copies the whole statement (checked) - #58
Merged
Merged
Conversation
…tement In the tree mode the box stands in the call's place, which shows by itself that the call stays a box, so the box's note («… hat lokale Variablen – …») goes there; «Ersetzung» keeps it. The → chain export already copied the whole statement at any of its steps: test:tree now checks it (first, middle and last step), and the README says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Two of three small items. The third, the switch label, is in the IDE: glpython-edu.github.io#45.
1. No box hint in «Baum»
In the tree mode the box stands in place of the call node, so the tree shows by itself that the call stays a box. The note («
notenschnitthat lokale Variablen – der Aufruf wird als Kasten gezeigt.») is gone there, with no replacement.3. «→-Kette kopieren»: it already copies the whole statement
I checked it before changing anything. The button copies the whole chain of the statement the scrubber is on, from its first step to its value, at whichever of its steps the scrubber is. So nothing changes in the code.
y = quadrat(2 + 1) + 1, thenprint(y), in all three modes, copied at every step:quadrat(2 + 1) + 1 → quadrat(3) + 1 → (3 * 3) + 1 → 9 + 1 → 10;print(y)givesprint(y) → print(10).test:tree: a new check, for a short-form call, a call with local variables and a box call. The chain from the first, a middle and the last step of the statement equals the chain from the end.If you saw a shorter chain, the program would help me find the case. A statement that fails ends with Python's error line, which could look like a cut chain.
Checks
test:console:.frame-hintat all.test:tree: the chain check.Going live
Merging ships to the embed; a tag then the IDE bump (with the label change in the IDE PR).
Manual test
notenschnitt([4, 5, 4.5]) + 1withfeatures=visualize,tree:🤖 Generated with Claude Code