in reply to RFC: more of that almost-book

You mention in the book that PScheme isn't quite the same as standard Scheme. It might be nice to have an appendix detailing the differences.

Update: Side note: I was quite happy to see you including tests. That's fantastic. Any chance this will be on the CPAN at some point?

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^2: RFC: more of that almost-book
by billh (Pilgrim) on Oct 16, 2006 at 14:51 UTC
    Hi,
    Appendix - maybe, but it would end up being pretty long :-)
    CPAN - maybe, but I really don't think of PScheme as a "proper" language, its purpose is purely as a vehicle for discussing programming language concepts. Also, it's not really in the right namespace (Lang::PScheme would be better, but I'm too lazy to change all of that right now.) I'll certainly make tgz's available for each version from my site at some point, but the code is still somewhat in flux: I actually have separate CVS branches for each "version" and merge fixes/changes in one version upwards through each of the subsequent versions (so the diffs in the book remain sensible).
    Tests - glad you approve :-) I recently ran v-0.0.9 through Devel::Cover and got something like 90% coverage without even trying, but that's mostly down to the recursive nature of the code.
    Bill H
    perl -e 'print sub { "Hello @{[shift]}!\n" }->("World")'