Scheme R5RS spec, illustrated?

1 view
Skip to first unread message

Josh Myer

unread,
Jan 4, 2010, 1:13:48 AM1/4/10
to signal...@googlegroups.com
Does anyone know of a version of the Scheme R5RS reference that's got examples of the code in it?

I'm working my way through "Write Yourself A Scheme In 48 Hours" and the lack of example snippets is making me doubt my reading of the spec.
--
Josh Myer 650.248.3796
jo...@joshisanerd.com

Josh Myer

unread,
Jan 4, 2010, 1:19:59 AM1/4/10
to signal...@googlegroups.com
On Sun, Jan 3, 2010 at 10:13 PM, Josh Myer <jo...@joshisanerd.com> wrote:
Does anyone know of a version of the Scheme R5RS reference that's got examples of the code in it?

 
To be a bit more clear: the spec has lots of stuff like
(string->number "100") ===> 100

which is exactly what I'm after.  But it's rather incomplete.  The leaf-ish nodes of the grammar aren't illustrated, which makes me worry that I'm misinterpreting the BNF of how to parse numbers.  Things like hex numbers, complex numbers, etc aren't given, so I don't know what "test cases" to throw at it, and worry that I'm missing important gotchas (not being much of a schemer myself).

Thanks!
Reply all
Reply to author
Forward
0 new messages