-
- Downloads
Improve REPL detecting when input needs to continue.
Full CPython compatibility with this requires actually parsing the input so far collected, and if it fails parsing due to lack of tokens, then continue collecting input. It's not worth doing it this way. Not having compatibility at this level does not hurt the goals of Micro Python.
Showing
- py/repl.c 43 additions, 20 deletionspy/repl.c
- py/repl.h 1 addition, 1 deletionpy/repl.h
- stm/pyexec.c 6 additions, 9 deletionsstm/pyexec.c
- stmhal/pyexec.c 6 additions, 9 deletionsstmhal/pyexec.c
- teensy/main.c 6 additions, 9 deletionsteensy/main.c
- unix/main.c 8 additions, 10 deletionsunix/main.c
- windows/main.c 8 additions, 10 deletionswindows/main.c
Please register or sign in to comment