Babylscript

Babylscript Can Now Be Compiled to Regular JavaScript

2012-8-3

The Babylscript project has now released a tool that can compile multilingual JavaScript code into regular JavaScript. With this compiler, programmers can now write their JavaScript code in French, Chinese, Spanish, or any one of 14 different languages and run this multilingual JavaScript code in web browsers like regular English JavaScript code. The compiler can be invoked right from the Babylscript website or it can be downloaded as a Java program that can be integrated into an existing programmer toolchain. By letting programmers use non-English JavaScript code in real-world applications, the compiler helps bring JavaScript to a much larger population of programmers. Although the JavaScript programming language is one of the most widely available and most powerful programming languages, it is only available in English. The new Babylscript compiler makes it easier for the 94% of the world's population who aren't native English speakers to learn and use JavaScript.

Currently, all mainstream programming languages are available in English only. In non-English speaking countries, this imposes a barrier preventing people from learning to program. Non-English children need to learn English before they can learn to program. And office workers need to learn English before they can hack web pages and write macros. Babylscript is a variant of the JavaScript language that lets people write JavaScript code using a mix of different languages. Programmers can write their code in Portuguese, make use of a Hindi library, and then export their code as a library for Japanese users.

Babylscript is an open source project implemented as a modification of the Mozilla Rhino JavaScript engine for Java. It supports 14 languages: Arabic, Bengali, Chinese, English, French, German, Hindi, Japanese, Korean, Portuguese, Romanian, Russian, Spanish, and Turkish. But the project is always looking for more help in creating new translations and improving the existing ones. The Babylscript project is currently being developed at the University of Waterloo in Canada. For more information about Babylscript and to try out the language, please visit http://www.babylscript.com