Repository navigation
Web: System.out.print (ohne neue Zeile) in VisuStruct - #187
Merged
Merged
Conversation
…und Code-Export Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ugz28VgrhMh5mzyH1SGQdq
…stem.out.print in derselben Zeile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ugz28VgrhMh5mzyH1SGQdq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ugz28VgrhMh5mzyH1SGQdq
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.
Requested by Holger · project thread
Problem
System.out.print(intAllgemeinFach[i] + ": ")brach die Simulation mit „Nicht unterstützte Anweisung“ ab. NurSystem.out.println(bzw.output:) war bekannt.Änderungen
simulation.ts):System.out.print(…)gibt ohne neue Zeile aus, die nächste Ausgabe schreibt in derselben Zeile weiter (neues FeldoutputLineOpen).System.out.println(…)direkt im Kasten geht jetzt auch.codeGenerator.ts): Java bleibtSystem.out.print(…);, JavaScriptprocess.stdout.write(String(…));, Pythonprint(…, end="").codePanel.ts): der Worker kenntprocess.stdout.writeund setzt Teilzeilen richtig zusammen.Überschneidung mit #166
Keine inhaltliche: #166 ändert, wie ein ganzes Array ausgegeben wird (
[I@…). Hier geht es umprintohne Zeilenumbruch; ein Array-Fach (a[i]) gibt weiter den Wert aus. Beide ändernsimulation.tsan anderen Stellen und bauenwebsite/appneu, daher muss der zweite PR nach dem Mergen nurnpm run build:siteneu laufen lassen.Tests
npm test: 447 Tests grün (neuer Test mit der Schleife aus der Meldung),tscsauber,website/appneu gebaut.Generated by Claude Code