-
Missing whitespace between alphanumeric characters and quotes leads to a error "unbound variable".
Example to reproduce:
(define a 5)
(eval '(list "abc" a"xyz"))
Note the missing space between a and "xyz".
Tested against CVS HEAD (scheme.c at revision 1.35).
r5rs definition is strange here ("Tokens which require implicit termination (identifiers, numbers, characters, and dot) may...
2009-09-24 23:32:15 UTC by eyestep
-
tehom committed patchset 42 of module tinyscheme to the TinyScheme CVS repository, changing 3 files.
2009-09-01 22:07:26 UTC by tehom
-
tehom committed patchset 41 of module tinyscheme to the TinyScheme CVS repository, changing 1 files.
2009-09-01 21:25:27 UTC by tehom
-
The exception system, as designed, does not allow to re-raise an exception, as far as I can tell. This means that in case cleanup code is needed, the error message is lost. This is the best that can be done with the current code:
(catch (begin (do-some-cleanup) (throw "An error occurred but we don't know what"))
(do-some-processing))
2009-08-20 17:08:25 UTC by nobody
-
kcozens committed patchset 40 of module tinyscheme to the TinyScheme CVS repository, changing 1 files.
2009-08-18 05:03:19 UTC by kcozens
-
kcozens committed patchset 39 of module tinyscheme to the TinyScheme CVS repository, changing 1 files.
2009-08-18 04:44:07 UTC by kcozens
-
I should have looked at the example more closely. The problem is a result of a typo in the SRFI document. The first line should have read (define p (open-input-string "(a . (b . (c . ()))) 34")).
This report can be closed as not a bug.
2009-08-06 14:30:31 UTC by kcozens
-
The above was submitted by myself (Kevin Cozens). I was using a different machine and forgot I hadn't logged in yet.
2009-08-04 18:03:39 UTC by kcozens
-
One of the examples on reading from input strings shown in the SRFI-6 document located at http://srfi.schemers.org/srfi-6/srfi-6.html does not work in the current CVS version of TinyScheme. The example along with the expected output is:
(define p
(open-input-string "(a . (b . c . ())) 34")) --> p
(input-port? p) --> #t
(read p)
2009-08-04 17:57:36 UTC by nobody
-
The "reverse" builtin should use TST_LIST, not TST_PAIR; otherwise, it fails on the (permitted) case of (reverse '()).
2009-07-24 13:59:40 UTC by surazal