AtScript: Difference between revisions

Content deleted Content added
m Links to CoffeeScript article.
more specific stubcat
 
(27 intermediate revisions by 18 users not shown)
Line 1:
{{Short description|Proposed JavaScript-based scripting language}}
'''AtScript''' (now defunct) is a [[JavaScript]]-based [[scripting language]] extending [[Microsoft]]'s [[Typescript]]. It was announced by [[Google]] in late October 2014 at the [http://ngeurope.org/ ng-europe conference].
'''AtScript''' was a proposed [[JavaScript]]-based [[scripting language]] extending Microsoft's [[TypeScript]] and [[Source-to-source compiler|transcompiling]] to JavaScript. It was introduced in October 2014 at the ng-Europe conference by the developers of [[Google]]'s [[AngularJS]] web development framework as the language that the upcoming Angular 2.0 would be built with.<ref>{{cite news|title=Angular 2 sera basé sur TypeScript : convergence de AtScript et TypeScript 1.5, c'est une collaboration entre Google et Microsoft|url=http://typescript.developpez.com/actu/82182/Angular-2-sera-base-sur-TypeScript-convergence-de-AtScript-et-TypeScript-1-5-c-est-une-collaboration-entre-Google-et-Microsoft/|access-date=3 May 2016|work=Developpez.com|language=fr-FR}}</ref><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 |access-date=January 28, 2015}}</ref>
 
AtScript was originally intended to run on top of TypeScript, while including some features from [[Dart (programming language)|Dart]]. In October 2014, Google announced that Angular 2.0 would be written in AtScript.<ref>{{cite news|title=AtScript: Google's new superset JavaScript runtime - SD Times|url=http://sdtimes.com/atscript-googles-new-superset-javascript-runtime/|access-date=3 May 2016|work=SD Times|date=27 October 2014|language=en-US}}</ref> In March 2015, Microsoft announced that many of AtScript's features would be implemented in the TypeScript 1.5 release, and that Angular 2.0 would be built on pure TypeScript.<ref>{{cite news|title=Google, Microsoft to combine TypeScript and AtScript in Angular 2 - SD Times|url=http://sdtimes.com/google-microsoft-combine-typescript-atscript-angular-2/|access-date=3 May 2016|work=SD Times|date=5 March 2015|language=en-US}}</ref>
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 name “AtScript” comes from the [[At sign|@ (“at”) symbol]] used for annotations in many languages (Dart,e.g. [[Java) annotation]]s and the[[Python “script”syntax wordand (as insemantics#Decorators|Python JavaScript, TypeScript, [[CoffeeScriptdecorators]]).
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. 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==
Line 14 ⟶ 11:
{{JavaScript}}
 
[[Category:JavaScript programming language family]]
[[Category:Scripting languages]]
 
 
{{prog-lang-stub}}