Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
/discussPublic archive
This repository was archived by the owner on Feb 19, 2018. It is now read-only.

CS2 Discussion: Project: Progress as of December 2016 #56

Closed
@GeoffreyBooth

Description

@GeoffreyBooth

We’re getting close. Since thelast update, as of 2016-12-01 the following has been merged into thejashkenas/coffeescript2 branch:

And as of November, we had accomplished:


We’re closer than ever onclasses.jashkenas/coffeescript#4354, by@connec, implements CoffeeScript classes compiled into ES classes, preserving just about all backward compatibility and outputting via theclass keyword, allowing CS classes to extend ES classes. All tests pass.

The PR is a hybrid, though, between the old 1.x output and idiomatic ES output. Classes to be extended are passed in via a wrapper andsuperClass;super is implemented via statements likea.__super__ = superClass.prototype, etc.@connec’s current plan is to finish reorganizing the code in the current PR, then use a separate PR for cleaning upsuper. Assistance with this effort is welcome. Once the current classes PR and follow-onsuper PR are merged in, we can release the first alpha of CoffeeScript 2.0.0. We shouldn’t release 2.0.0-alpha1 any sooner, though, in case the current approaches to classes need reworking that might break backward compatibility more than the current PR does (for example, ifsuper ultimately can’t be used as is without changes).

Aside from that, we’ve crossed off most of the items on ourfeatures list. The only other item remaining isoutputting ES2015 destructuring syntax, which should be along the lines of the already-completedES2015 computed properties. Anyone up for this one?

Any day nowCoffeeScript 1.12.0 will be released, which will bring tagged template literals,for…from and the triple-backtick operator to the 1.x branch. Let’s follow it up with 2.0.0-alpha1!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp