CoffeeScript: A New Language With A Pure Ruby Compiler

Courtesy Ruby Inside  Mon, 01/04/2010 - 17:03

coffeescript.png CoffeeScript (GitHub repo ) is a new programming language with a pure Ruby compiler.

Creator Jeremy Ashkenas calls it "JavaScript's less ostentatious kid brother" - mostly because it compiles into JavaScript and shares most of the same constructs, but with a different, tighter syntax.

To get a feel for the language, check out this example code (CoffeeScript on the left, resulting JavaScript on the right):

cofeescriptdemo.png

As a Ruby project, you can get the CoffeeScript...


 

More related items

Sankuru Blog: Adding support for if/while/do while,...
Improving on his last post about creating a bytecode compiler in PHP, the Sankuru blog has a new post in the series looking at extending the basic compiler to add support for if/while and do...

Why We Need More Programming Languages
InfoWorld: "Whenever a new programming language is announced, a certain segment of the developer population always rolls its eyes and groans that we have quite enough to choose from already,...

Google's Dart announced
A while back we learned about Google's thoughts on Javascript. Well, it seems Google's Dart Language is now live. Dart is a new class-based programming language for creating structured web...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com