Google helps translate JavaScript to its Dart alternative

The company's JavaScript to Dart Synonym application maps common idioms

Promoting its own alternative language to JavaScript, Google is working to bridge JavaScript to Google Dart, with the release Monday of a mapping application that the company is calling its JavaScript to Dart Synonym app.

The application is intended to map common JavaScript idioms to Dart. "It took approximately 2,000 years for the original Rosetta Stone to be discovered, which helped translate the Egyptian hieroglyphs. We couldn't wait that long to bridge the Dart and JavaScript worlds, so today we are releasing the JavaScript to Dart Synonym app," said Aaron Wheeler, Google senior user experience prototype, and Marcin Wichary, Google senior user experience designer, in the official Google Code Blog.

[ JavaScript founder Brendan Eich last week expressed his doubts that Dart would be natively supported in browsers. | For more on software, development, subscribe to InfoWorld's Developer World newsletter. ]

Google Dart was unveiled last year as a language for "structured Web programming." The company has argued that Dart would address so-called scalablity limitations of JavaScript.

With the synonym application, the Google developers translated variables, arrays, functions, classes, DOM manipulation, and other elements and recorded corresponding Dart versions of each idiom. "We hope our app that maps between JavaScript and Dart eases your introduction to Dart and gives you a sense of where the project is going. We know the team is eager to hear your feedback. Don't hesitate to join the conversation or file a new issue for either Dart or the Synonym app. And remember, Dart isn't set in stone, so your feedback counts," Wheeler and Wichary said.

This article, "Google helps translate JavaScript to its Dart alternative," was originally published at Follow the latest developments in business technology news and get a digest of the key stories each day in the InfoWorld Daily newsletter. For the latest developments in business technology news, follow on Twitter.


Copyright © 2012 IDG Communications, Inc.

How to choose a low-code development platform