wisp
 
(Arne Babenhauserheide)
2014-08-17: note that (read port) takes care of leading comments.

note that (read port) takes care of leading comments.

diff --git a/wisp-scheme.w b/wisp-scheme.w
--- a/wisp-scheme.w
+++ b/wisp-scheme.w
@@ -153,6 +153,7 @@ define : wisp-scheme-read-chunk-lines po
                    . #f ; inunderscoreindent
                    . #f ; incomment
                    . currentindent
+                   ; this also takes care of the hashbang and leading comments.
                    append currentsymbols : list : read port
                    . emptylines
 
@@ -181,6 +182,8 @@ define : wisp-scheme-read-string str
 display  
   wisp-scheme-read-string  "  foo ; bar\n  ; nop \n\n; nup\n; nup \n  \n\n\n  foo : moo \"\n\" \n___ . goo . hoo"
 newline 
+display : wisp-scheme-read-file "wisp-scheme.w"
+newline 
 ; This correctly throws an error.
 ; display
 ;   wisp-scheme-read-string  "  foo \n___. goo . hoo"