SuzanneSoy / repltest

REPLtest: Copy-paste your REPL interactions, and have them run as tests
http://docs.racket-lang.org/repltest/
Other
2 stars 0 forks source link

Comments aren't handled in the REPL section (or just before) #1

Open SuzanneSoy opened 8 years ago

SuzanneSoy commented 8 years ago
#lang repltest racket
(define x 1)
;; This comment breaks stuff
> x
;; This comment breaks stuff too:
1
SuzanneSoy commented 8 years ago

We should skip over comments and whitespace alike, before reading an expression or checking for the presence of the prompt. Does read allow to do this?