This project contains example files of the various language extensions that are being considered for inclusion in the next editions of the ECMA Language Specification. The purpose of examples is to test the utility, writability, and readability of proposed features. There is no guarentee that any of these will actually be incorporated into the language.

Testing Class Definition Patterns

These examples exercise various patterns for defining class-like abstractions. They use a JavaScript implementation of the Smalltalk-80 collection class hierarchy as an example of a rich class library that someone might want to implement using JavaScript.

The basic idea of these experiments is to explore using patterns of compositional operators instead of a built-in class declaration syntactic structure.

The experiments are: