1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00
guile/module/system
Andy Wingo 0d646345f4 flush whitespace from the repl input buffer *before* evaluation
* module/system/repl/repl.scm (start-repl): Given that the input port of
  the repl is line-buffered, it's likely we have #\newline in the input
  that is strictly extraneous, an in-band indicator to the repl that it
  should begin reading now. So flush out that newline, so that you can
  (read-char) at the repl, and it actually does wait for you to type in
  a char instead of just returning #\newline.

  While it's not an overriding concern, this does fix some brainfuck
  programs that want to input from the user.
2009-06-22 22:57:48 +02:00
..
base add brainfuck->tree-il compiler 2009-06-21 15:06:04 +02:00
repl flush whitespace from the repl input buffer *before* evaluation 2009-06-22 22:57:48 +02:00
vm fix erroneous #:use-syntax clausen 2009-04-22 22:27:50 +02:00
xref.scm Improved handling of callers cache in (system xref). 2009-04-04 11:55:50 -07:00