AtScript: Difference between revisions

Content deleted Content added
Clarifies that AtScript is a source-to-source compiled language.
Refactors the article to put the important news in the lede and remove no longer relevant content.
Line 1:
'''AtScript''' (now defunct) is a [[JavaScript]]-based [[scripting language]] extending [[Microsoft]]'s [[Typescript]] and [[Source-to-source compiler|transcompiling]] to JavaScript. It was announced by [[Google]]introduced in late October 2014 at the [http://ngeurope.org/ ng-europe conference] by the developers of [[Google]]'s [[AngularJS]] web development framework as the language that the upcoming [[AngularJS]] 2.0 would be built with.<ref>{{cite web|url=https://www.youtube.com/watch?v=lGdnh8QSPPk |title=Miško Hevery - Keynote on AtScript at ng-europe 2014 |publisher=YouTube |date=October 28, 2014 |accessdate=January 28, 2015}}</ref> In March 2015, Microsoft announced that many of AtScript's features would be implemented in the Typscript 1.5 release, and that Angular 2.0 would be built on pure Typescript.<ref>{{cite web|url=http://blogs.msdn.com/b/typescript/archive/2015/03/05/angular-2-0-built-on-typescript.aspx |title=Angular 2: Built on TypeScript| publisher=Microsoft |date=March 5, 2015|accessdate=December 18, 2015}}</ref> Development of AtScript and the AtScript specification will not continue.
 
The name “AtScript” comes from the @ (“at”) symbol used for annotations in many languages (Dart, Java) and the “script” word (as in JavaScript, TypeScript, [[CoffeeScript]])..
AtScript was created by Google's [[AngularJS]] team as the language of the upcoming AngularJS 2.0 web development framework.<ref>{{cite web|url=https://www.youtube.com/watch?v=lGdnh8QSPPk |title=Miško Hevery - Keynote on AtScript at ng-europe 2014 |publisher=YouTube |date=October 28, 2014 |accessdate=January 28, 2015}}</ref>
 
The public language specification is a [[Draft document|draft]].<ref>{{cite web|url=https://docs.google.com/document/d/11YUzC-1d0V1-Q3V0fQ7KSit97HnZoKVygDxpWzEYW0U/edit |title=AtScript Primer |publisher=Google Docs |accessdate=January 28, 2015}}</ref> It states that plain JavaScript code ([[ECMAScript|ES5 or ES6]]) is valid AtScript code, as it is a [[superset]] of Microsoft's TypeScript, which is in turn a superset of JavaScript. AtScript builds on ECMAScript 6 with types (through TypeScript), and extends it by [[Java annotation|annotations]] (type annotations, field annotations, metadata annotations) and type introspection. To sum up, AtScript is ECMAScript 6 with types, annotations and introspection.<ref>{{cite web|url=http://www.theregister.co.uk/2014/11/04/improving_javascript_google_throws_atscript_into_the_mix/ |title=Improving JavaScript: Google throws AtScript into the mix |date=Nov 4, 2014 |accessdate=January 28, 2015}}</ref>
 
The name “AtScript” comes from the @ (“at”) symbol used for annotations in many languages (Dart, Java) and the “script” word (as in JavaScript, TypeScript, [[CoffeeScript]]).
 
In March 2015, the Angular team and Typescript blog announced that AtScript development was abandoned and that features of AtScript would be implemented in TypeScript.<ref>{{cite web|url=https://www.youtube.com/watch?v=ihAeffWJEIc |title=State of 1 x - Pawel Kozlowski & Lucas Galfaso |publisher=YouTube |accessdate=March 5, 2015}}</ref><ref>{{cite web|url=http://blogs.msdn.com/b/typescript/archive/2015/03/05/angular-2-0-built-on-typescript.aspx |title=Angular 2: Built on TypeScript |publisher=Microsoft Corporation |accessdate=March 5, 2015}}</ref>
 
==References==