LiveScript 1.1.0 released!

29 Oct 2012 - George Zahariev

LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.

For more information, check out the LiveScript site.


LiveScript 1.1.0 adds new features, fixes bugs, and as a whole has greatly improved compatibility with CoffeeScript, particularly with the class system.


As typing out livescript in the terminal can be a hassle, an alias, lsc has been added.


require! removes the boilerplate of requiring modules. Some examples:

require! lib

require! [fs, path]

require! $: jQuery

require! {
  _: underscore
var lib, fs, path, $, module, _;
lib = require('lib');

fs = require('fs');
path = require('path');

$ = require('jQuery');

module = require('module');
_ = require('underscore');
lib = require('./path/to/lib.js');

More on require!


Cascades can now be one liners, allowing powerful and expressive object manipulation:

[2 7 1 8]..push 3 ..shift!..sort! #=> [1,3,7,8]
var x$;
x$ = [2, 7, 1, 8];

For more changes view the changelog.

For more information on LiveScript, check out the LiveScript site.

For more on LiveScript and, .

comments powered by Disqus