AtScript: Difference between revisions

Content deleted Content added
No edit summary
The previous version was inaccurate, rough and vague. Lots of specific details and clarifications made.
Line 1:
'''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 [http://ngeurope.org/ ng-europe conference].
'''AtScript''' is a language created to help developers read [[JavaScript]]. AtScript was announced in late October 2014 and similar to Microsoft's TypeScript, Google has created AtScript to improve JavaScript by providing a much easier way to manage it. AtScript is designed to work alongside TypeScript. AtScript is influenced by TypeScript but TypeScript lacks runtime introspection and metadata annotations. <ref>{{cite web|last1=Anderson|first1=Tim|title= Improving JavaScript: Google throws AtScript into the mix |url=http://www.theregister.co.uk/2014/11/04/improving_javascript_google_throws_atscript_into_the_mix/|website=http://www.theregister.co.uk/|publisher=The Register|accessdate=30 December 2014|ref=TheReg}}</ref> Enhancements include: Type annotations, Field annotations, Metadata annotations and Type Introspection with annotation support. SDTimes has designated AtScript as Google's new superset JavaScript runtime. <ref>{{cite web|last1=Marvin|first1=Rob|title=AtScript, Google's new superset JavaScript runtime|url=http://sdtimes.com/atscript-googles-new-superset-javascript-runtime/|website=http://sdtimes.com/|publisher=Software Development Times|accessdate=30 December 2014|ref=sdtimes}}</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 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, AtStcipt 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).
 
==References==
{{reflist}}