Miško Hevery presents AtScript at ngEurope
The announcement came at the ng-europe Angular conference in Paris at the end of October 2014.
The second feature is Introspection, which lets you query the annotations at runtime.
The quick summary therefore is “AtScript = ES6 + Types + Annotations + Introspections”.
Is AtScript necessary, given that TypeScript does some of this already? Hevery says that AtScript is influenced by TypeScript (as well as Dart) but that TypeScript lacks runtime introspection and metadata annotations. However, you can use AtScript with TypeScript, so the two projects are not altogether in opposition. This could get messy though, since features like metadata have already been proposed for the next version of TypeScript.
Angular 2.0, the next version, is being rewritten from scratch in AtScript. This means it is an ES6 project.
“We're building AngularJS in ES6 now so you’ll have a framework that’s ready to take full advantage of ES6 as browsers add support,” says the team, though it will of course compile to ES5 code.
For more information on AtScript, see Hevery's keynote here. ®