Jump to content

AtScript

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Imre.gabesz (talk | contribs) at 16:20, 28 January 2015 (ref fix). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

AtScript is a JavaScript based scripting language extending Microsoft's Typescript. AtScript is created by Google, it was announced 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 currently a draft.[2] It states that plain JavaScript code (ES5 or ES6) is valid AtScript code. AtScript 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, AtStcipt 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).

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.