david135 / mosh-scheme

Automatically exported from code.google.com/p/mosh-scheme
Other
0 stars 0 forks source link

minor lexer problem #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run:

(import (rnrs))

'("ciao". 1)

What is the expected output? What do you see instead?
It should correctly read the input.  It fails with:

 Condition components:
 1. &lexical 
 2. &i/o-read
 3. &who            who: "read"
 4. &message        message: "syntax error near [\"ciao\". 1)\n\n;;; end of
file\n;;Lo] at <transcoded-textual-input-port <binary-input-port
/home/marco/var/tmp/proof.sps>>:8. "
error     error in raise: returned from non-continuable exception

What version of the product are you using? On what operating system?
Mosh R6RS scheme interpreter, version 0.2.5 (revision master 
mosh-0.2.5-4-g7e4bbd8dirty).  i686-pc-linux-gnu.

Please provide any additional information below.
Mosh is the only R6RS implementation that refuses to lex the string
immediately followed by a dot.  It is just annoying, but still...

Original issue reported on code.google.com by mrc....@gmail.com on 31 May 2010 at 4:04

GoogleCodeExporter commented 9 years ago
Hi.

Fixed.
I'm not sure the change set is correct.
Please let me know if you find bad behaviour.

http://github.com/higepon/mosh/commit/08c2b31f7e2d7d3bead0cfd1452e2d5d047ed40c

Original comment by hige...@gmail.com on 1 Jun 2010 at 12:39

GoogleCodeExporter commented 9 years ago
Looks fine with the latest checkout.  Mosh R6RS scheme interpreter, version 
0.2.5
(revision master  mosh-0.2.5-10-g48b23a7dirty).

Original comment by mrc....@gmail.com on 1 Jun 2010 at 7:23

GoogleCodeExporter commented 9 years ago
Thank you for your check.

Original comment by hige...@gmail.com on 1 Jun 2010 at 11:33