Very nice. I like CoffeeScript's Python-like syntax extensions, like list
comprehensions (which probably were part of some pre-Harmony JS standards
draft anyway), and the functional pattern matching on assignment
("destructuring").I think integrating CS code in a qooxdoo app *in the browser* (at run time) wouldn't easily work. But integrating it at compile time shouldn't be too hard. The easiest way of course, which you could use right away, would be to define a generator job to simply invoke the CS command line compiler through a shell exit, and then run this job ahead of the standard generator jobs, like source, build, api..., as a pre-processing. If you wanted a deeper integration you would need to write a CoffeeScript frontend for the qooxdoo compiler that would produce a qooxdoo AST, as most other actions (e.g. dependency analysis) rely on this AST. T. > CoffeeScript 1.0 was released today, one year after the first release. > > http://jashkenas.github.com/coffee-script/ > > For those who don't know CoffeeScript, it's a language made out of the > good > part of Javascript that compiles directly into javascript (everything > compiles one-to-one to the equivalent javascript you would write) but with > a > much better syntax. Click the above link and see the examples. > > There's two ways to compile CoffeeScript to javascript: either through the > command line option that relies on node.js or using the core compiler > entirely written in javascript in a browser or somewhere else that can > execute javascript. > > It's been pretty popular for a while but now that it reached 1.0 and > is committed to backward compatibility, I'd love to see some CoffeeScript > goodness in qooxdoo. > > I'd love if I could simply write .coffee files and they would be > transformed > into javascript by the toolchain. Being able to do the source version in > coffeescript and have it translated on the fly in the browser would be > great > too. > > The qooxdoo team always said that the toolchain was an asset and not a > liability and this would be yet another opportunity to prove it. > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl_______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
