Examples of online dating impersonation
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.You can use any existing Java Script library seamlessly from Coffee Script (and vice-versa).
You can then install Coffee Script globally with npm: If you'd prefer to install the latest master version of Coffee Script, you can clone the Coffee Script source repository from Git Hub, or download the source directly.
To install the latest master Coffee Script compiler with npm: extension, you can write it as a Markdown document — a document that also happens to be executable Coffee Script code.
The compiler will treat any indented blocks (Markdown's way of indicating source code) as code, and ignore the rest as comments.
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.
Search for examples of online dating impersonation:
More information about Literate Coffee Script, including an example program, are available in this blog post.