Google helps translate JavaScript to its Dart alternative

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

By , InfoWorld |  Software, Google, Google Dart

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.

Originally published on InfoWorld |  Click here to read the original story.
Join us:






Answers - Powered by ITworld

ITworld Answers helps you solve problems and share expertise. Ask a question or take a crack at answering the new questions below.

Ask a Question