To install, first make sure you have a working copy of the latest stable version of
Catch speed dating
Just for kicks, a little bit of the compiler is currently implemented in this fashion: See it as a document, raw, and properly highlighted in a text editor.
I'm fairly excited about this direction for the language, and am looking forward to writing (and more importantly, reading) more programs in this style.
More information about Literate Coffee Script, including an example program, are available in this blog post.
Overview Installation Usage Literate Coffee Script Language Reference Literals: Functions, Objects and Arrays Lexical Scoping and Variable Safety If, Else, Unless, and Conditional Assignment Splats...
Loops and Comprehensions Array Slicing and Splicing Everything is an Expression Operators and Aliases Classes, Inheritance, and Super Destructuring Assignment Bound and Generator Functions Embedded Java Script Switch and Try/Catch Chained Comparisons String Interpolation, Block Strings, and Block Comments Block Regular Expressions Cake, and Cakefiles Source Maps "text/coffeescript" Script Tags Books, Screencasts, Examples and Resources Change Log Grammar Rules — src/grammar Lexing Tokens — src/lexer The Rewriter — src/rewriter The Syntax Tree — src/nodes Lexical Scope — src/scope Helpers & Utility Functions — src/helpers The Coffee Script Module — src/coffee-script Cake & Cakefiles — src/cake "coffee" Command-Line Utility — src/command Option Parsing — src/optparse Interactive REPL — src/repl Source Maps — src/sourcemap Coffee Script is a little language that compiles into Java Script.
Underneath that awkward Java-esque patina, Java Script has always had a gorgeous heart.
Coffee Script is an attempt to expose the good parts of Java Script in a simple way.
The golden rule of Coffee Script is: "It's just Java Script".
The code compiles one-to-one into the equivalent JS, and there is no interpretation at runtime.