AtScript: Difference between revisions

Content deleted Content added
m ref fix
No edit summary
Line 3:
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 currently 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. AtScript 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, AtStciptAtScript 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).