File: add-repl-to-roadmap.patch

package info (click to toggle)
pgzero 1.2.post6%2Breally1.2.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,004 kB
  • sloc: python: 4,279; makefile: 162
file content (32 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
commit 319dadee0711649044086f11c1e141d1d8786b7c
Author: Daniel Pope <mauve@mauveweb.co.uk>
Date:   Fri Apr 27 10:38:34 2018 +0100

    Add REPL to the roadmap

diff --git a/doc/roadmap.rst b/doc/roadmap.rst
index 5956534..884d066 100644
--- a/doc/roadmap.rst
+++ b/doc/roadmap.rst
@@ -43,6 +43,21 @@ play any Pygame Zero game, in order to follow the principle of
 .. _Amazon: https://www.amazon.co.uk/s/ref=nb_sb_noss_2?url=search-alias%3Delectronics&field-keywords=usb+snes
 
 
+REPL
+----
+
+Python's REPL is a valuable feature that makes the language much more
+accessible to beginners.
+
+Python programs that present a user interface, however, rarely provide a REPL,
+because the main thread is used to run the event loop for the user interface.
+
+However, Javascript in a web browser demonstrates how this can work. You have
+access to an interactive REPL that allows investigating program state *while
+you interact with the interface*. This is very useful for debugging, and would
+be a powerful addition to Pygame Zero.
+
+
 Surface juggling
 ----------------