From 450d0ec529569fb6b4c84eeb743a91e57813b005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Vogel?= Date: Mon, 26 Oct 2026 00:51:37 +0100 Subject: [PATCH] Cleanup: the example profiles without reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the course decided: ▶ Ausführen already starts afresh and clears the console, and ■ Stoppen ends a hung program, so its profiles drop `reset`. The README's profile examples and examples/profiles.md follow (erkunden, rezept and pruefung without it; erkunden's description names the IDE link). The macro's default without features= still shows every part. Co-Authored-By: Claude Opus 5.5 --- README.md | 6 +++--- examples/profiles.md | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c1bdd4e..cd09b63 100644 --- a/README.md +++ b/README.md @@ -967,9 +967,9 @@ A course builds its own profiles from these options as macros in its header, passing `@0` on so a block can add more options (a mode or library URLs): ```text -@Code.erkunden: @GLPython.eval(features=run,repl,visualize,reset,ide @0) -@Code.rezept: @GLPython.eval(features=run,repl,visualize,tests,reset,ide @0) -@Code.pruefung: @GLPython.eval(features=run,reset @0) +@Code.erkunden: @GLPython.eval(features=run,repl,visualize,ide @0) +@Code.rezept: @GLPython.eval(features=run,repl,visualize,tests,ide @0) +@Code.pruefung: @GLPython.eval(features=run @0) @Code.demo: @GLPython.visual(large @0) ``` diff --git a/examples/profiles.md b/examples/profiles.md index da93708..c1e4baf 100644 --- a/examples/profiles.md +++ b/examples/profiles.md @@ -8,11 +8,11 @@ comment: Test page for the glpython macro's features= / large options: one import: https://raw.githubusercontent.com/glpython-edu/glpython-liascript/main/README.md -@Code.erkunden: @GLPython.eval(features=run,repl,visualize,reset,ide @0) +@Code.erkunden: @GLPython.eval(features=run,repl,visualize,ide @0) -@Code.rezept: @GLPython.eval(features=run,repl,visualize,tests,reset,ide @0) +@Code.rezept: @GLPython.eval(features=run,repl,visualize,tests,ide @0) -@Code.pruefung: @GLPython.eval(features=run,reset @0) +@Code.pruefung: @GLPython.eval(features=run @0) @Code.voll: @GLPython.eval(@0) @@ -26,15 +26,15 @@ Jede Folie zeigt ein Profil des Kurses. Die Profile sind Makros des Kurses, die | Profil | Optionen | |----------|------------------------------------------------| -| erkunden | `features=run,repl,visualize,reset,ide` | -| rezept | `features=run,repl,visualize,tests,reset,ide` | -| pruefung | `features=run,reset` | +| erkunden | `features=run,repl,visualize,ide` | +| rezept | `features=run,repl,visualize,tests,ide` | +| pruefung | `features=run` | | voll | (alles) | | demo | `@GLPython.visual(large)` | ## erkunden -Ausführen, REPL, Visualisieren, Zurücksetzen - keine Tests, kein Export. +Ausführen, REPL, Visualisieren, IDE-Link - keine Tests, kein Export. ```python def quadrat(x): @@ -62,7 +62,7 @@ def quadrat(x): ## pruefung -Nur Ausführen und Zurücksetzen - wie in einer Prüfung. +Nur Ausführen - wie in einer Prüfung. ```python def quadrat(x):