Jump to content

AtScript

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Wllm (talk | contribs) at 07:00, 19 December 2015 (Fixes tiny grammatical error). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

AtScript (now defunct) is a JavaScript-based scripting language extending Microsoft's Typescript. It was announced by Google in late October 2014 at the ng-europe conference.

AtScript was created by Google's AngularJS team as the language of the upcoming AngularJS 2.0 web development framework.[1]

The public language specification is a draft.[2] It states that plain JavaScript code (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 annotations (type annotations, field annotations, metadata annotations) and type introspection. To sum up, AtScript is ECMAScript 6 with types, annotations and introspection.[3]

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.[4][5]

References

  1. ^ "Miško Hevery - Keynote on AtScript at ng-europe 2014". YouTube. October 28, 2014. Retrieved January 28, 2015.
  2. ^ "AtScript Primer". Google Docs. Retrieved January 28, 2015.
  3. ^ "Improving JavaScript: Google throws AtScript into the mix". Nov 4, 2014. Retrieved January 28, 2015.
  4. ^ "State of 1 x - Pawel Kozlowski & Lucas Galfaso". YouTube. Retrieved March 5, 2015.
  5. ^ "Angular 2: Built on TypeScript". Microsoft Corporation. Retrieved March 5, 2015.