Draft R6RS available

Via Mitch Wand's R6RS announcements mailing list:

I am extremely pleased to announce that a draft version of R6RS is now available at www.r6rs.org. A copy will also be posted on schemers.org.

The charter provides for a six-month public comment period. Therefore the editors, in consultation with the steering committee, have provided a mechanism for comment and discussion. Details are also at www.r6rs.org.

The comment period is now open and will continue until March 15, 2007.

The steering committee thanks the editors for their intensive work on the draft R6RS, and looks forward to the public comment period.

Enjoy!

For the Steering Committee,
--Mitch Wand

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Great news!

Great news!

diff -u?

Anybody know what has changed from R4 to R5 and now R5 to R6?

Ps: One of my favourite Things To Do is drop the C++ standard on someones desk. Just the Language definition not the library.

Then drop the Scheme language definition.

The difference in size is so Huge it's comical.

The bigger the better,

The bigger the better, right? ;-)

I'm glad to see the wink ;-) there...

Or I would be seriously worried about you... :-)

I was kidding, of course,

I was kidding, of course, but after writing this I began to wonder whether this attitude, so prevalent in our (?) culture, may not be one reason why "big" languages, with "big" libraries, are often considered better than "small" languages, even prior to any experience. A related aspect is the "vox populi, vox dei" sentiment, which leads to the assumption that a large language community (undoubtedly a good thing), is evidence enough that one language is superior to another.

Cultural criticism is beyond the scope of LtU, but since it makes no sense to assume technical attitudes are completely independent of cultural norms, I wonder if these factors don't play an important role in what seem to be technical arguments about language design.

Not sure it is wrong

One of the biggest issues with Scheme (and we do use it at our company) is the fact that although the basic language is the same, each implementation decides to take a different (and usually incompatible) stab at the same problems (such as namespace control, classes, modules, threads). Having code portable across implementations is quite a challenge, and thus limits the usability of the language.

As an example, MzScheme defines a nice model for event handling that brings a lot of issues to a common framework. But try moving that code over the Gambit-C to try and get the speed, and most of that needs to be rewritten or reimplemented.

Contrast this to Java, which because of the "big specification/implementation", has only a few implementations, and thus most 3rd party libraries are targetting the same platform, which allows for greater "reuse" by developers, and the ability to share code/comments/techniques to a much greater extent.

If Scheme (or any other "small language") were to develop a more common enforced library structure (and the SRFIs don't seem to be it), maybe there would be greater leverage, and a "small language" would appear to be large enough to support large projects, and garner a big enough community.

Changes

Major differences in R5RS from R4RS:

  • Syntax-rules
  • Multiple values
  • dynamic-wind
  • (if '() #t #f) => #t
  • eval

For differences in R6RS, see the status report from June 2006 linked from here: http://schemers.org/Documents/Standards/Charter/.

Syntax-case

Of course it's syntax-case that is added, while syntax-rules is being redefined in terms of syntax-case.

R*5*RS

My comment about syntax-rules was about what was added in the Fifth report. In R6RS, syntax-case is added. However, the report does not define syntax-rules in terms of syntax-case, although a sample implementation that does that is provided.

Standard Sizes

Of course, they might retaliate with Common Lisp's 1300 page draft standard..

Phonebooks

I believe the canonical version of that comment is done with Scheme and Common Lisp, where one could (allegedly; I haven't tried) fit the former's entire spec into the space taken by the index of the latter's.

This might no longer be true with R6RS, which seems a bit... big, relatively speaking.

Still, it's heartening to see that, as far as formal comments go, suggested simplifications are on par with defect reports and enhancement requests.

section 7

can anyone comment on the motivation behind section 7 (scripting)?
it seems very environmentally dependent and very much in contratiction
with the classical scheme values.

Pragmatism

Without section 7, it is impossible to write a script that will run in any RnRS-compliant implementation.

Sorry

Sorry! Back to lurking...