Hacker News new | ask | show | jobs
by cypherpunks 5536 days ago
What's right, though, is you can implement an interpreter in a weekend. That makes it usable in a lot of places. Once you add exceptions, that goes away. File encodings and character sets are nice, but short-sited. R5RS was eternal. No one predicted the move to Unicode 35 years ago when Scheme was created, and that lack of definition let it make the transition fine.

I'm all for recommendations on things like those, so if you chose to implement them, there's a standard way, but I'm not in favor of making those part of the standard.

2 comments

Implementing an interpreter for a language in a weekend is a less common need than writing a program for the language. If you want to write an interpreter that does no more than R5RS in a weekend, R5RS is perfect for you. But surely you can see the need for a standard beyond that.
Once you add exceptions, that goes away.

Not really. Exceptions are easy to build on top of continuations, which are already part of R5RS.