diff options
author | Andy Wingo <wingo@pobox.com> | 2011-03-03 23:51:20 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-03-03 23:51:20 +0100 |
commit | 65fa60ca7a7bbfd712371f7b2471efe7b056839c (patch) | |
tree | 614364ffd4bc3720fec4128485404b7a10dfa05a /module/system/repl/command.scm | |
parent | 859e58ae8a77c0c725a5027d1bb3809e9772076e (diff) | |
download | guile-65fa60ca7a7bbfd712371f7b2471efe7b056839c.tar.gz |
repl.scm understands comments
* module/system/repl/repl.scm (read-comment, read-scheme-line-comment)
(read-scheme-datum-comment): New helpers.
(meta-reader): Take a language instead of a reader. If we have a
nonwhitespace char, first check to see that it's a comment, and if so,
read it off and loop.
(prompting-meta-read): Call meta-reader with the lang.
Diffstat (limited to 'module/system/repl/command.scm')
0 files changed, 0 insertions, 0 deletions