CoffeeScript!

run: cubes The command-line version of `coffee` is available as a Node.js http://nodejs.org
utility. The core compiler v1/browser-compiler/coffee-script.js however, does not depend on Node, and can be run in any JavaScript environment, or in the browser (see Try CoffeeScript. To install, first make sure you have a working copy of the latest stable version of Node.js http://nodejs.org/.
You can then install CoffeeScript globally with npm http://npmjs.org:
> npm install global coffee-script When you need CoffeeScript as a dependency of a project, within that project’s folder you can install it locally: > npm install save coffee-script Once installed, you should have access to the `coffee` command, which can execute scripts, compile `.coffee` files into `.js`, and pr

CoffeeScript alternatives

  • Typescript

  • Now acquired by MICROSOFT. TypeScript is a language for application-scale JavaScript development. It is a typed superset of JavaScript that compiles to plain JavaScript in any browser, any host, any OS and it is Open Source.

    tags: compilers interpreter javascript-development object-oriented-language open-source
  • Kotlin

  • Statically typed programming language targeting the JVM and JavaScript 100% interoperable with Java™

    tags: compilers developer-tools development interpreter object-oriented-language
  • LiveScript

  • LiveScript is a language which compiles down to JavaScript. It is a fork of Coco which is in turn derived from CoffeeScript. Like those two it has a relatively straightforward mapping to JavaScript. LiveScript is Coco but much more compatible with CoffeeScript, more functional, and more feature rich. LiveScript aims for increased expressiveness and code beauty.

    tags: javascript
  • Kaffeine JS

  • Kaffeine is a set of extensions to the Javascript syntax that attempt to make it nicer to use. It compiles directly into javascript that is very similar, readable and line for line equivalent to the input (you can beautify if you like).

    tags: javascript
  • Wyvern

  • Wyvern is a new programming language designed to help developers be highly productive when writing high-assurance applications. The first major innovation in Wyvern is type-specific languages, a feature that allows programmers to create literals of a given type (e.g. a SQLQuery type) in a language appropriate to that type (e.g. SQL). We are currently working on the Wyvern object model and on providing architects with more architectural control.

    tags: compilers developer-tools development ide interpreter
  • Script#

  • Script# brings the power and productivity of C# and .NET tools to Ajax development by compiling C# source code into regular JavaScript.

    tags: javascript js-transcompiled programming-language web-development
  • RapydScript

  • RapydScript is a pre-compiler for JavaScript, similar to CoffeeScript, but with cleaner, more readable syntax. The syntax is very similar to Python, but allows JavaScript as well. It's not another Python-in-a-browser clone, it's actually JavaScript with more Pythonic syntax.

    tags: compilers developer-tools development interpreter javascript-development
  • Objective-J

  • Objective-J is a programming language developed as part of the Cappuccino web development framework. Its syntax is nearly identical to the Objective-C syntax and it shares with JavaScript the same relationship that Objective-C has with the C programming language: that of being a strict, but small, superset; adding traditional inheritance and Smalltalk/Objective-C style dynamic dispatch. Pure JavaScript, being a prototype-based language, already has a notion of object orientation and inheritance, but Objective-J adds the use of class-based programming to JavaScript.Programs written in Objective-J need to be preprocessed before being run by a web browser's JavaScript virtual machine. This step can occur in the web browser at runtime or by a compiler which translates Objective-J programs into pure JavaScript code. The Objective-J compiler is written in JavaScript; consequently, deploying Objective-J programs does not require a web browser plug-in. Objective-J can be compiled and run on NodeJS.ApplicationsThe first widely known use of Objective-J was in the Cappuccino-based web application 280 Slides, which was developed by 280 North itself. Even though Objective-J can be used (and has been designed) independently from the Cappuccino framework, Objective-J has primarily been invented to support web development in Cappuccino. »

    tags: javascript object-oriented-language programming-language