Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Commits on Jan 14, 2010
@jashkenas slightly shorter generated code for ==> 001cc29
@jashkenas adding coffee-haml-filter to the resources section 8dc5da9
Commits on Jan 16, 2010
@jashkenas never try to push a statement_only 701cdb4
@jashkenas added children macro to Node, using it so that all nodes now have a '…
…children' method -- used for safe references to 'this' within closure wrappers
1cd7fa8
@jashkenas expression closure wrappers are now safer -- they won't be generated …
…if there's a statement_only inside
8957fee
@jashkenas arguments no longer is just a find-and-replace -- it'll fix the argum…
…ents variable at the top of scope if you use it in a function body
9eff443
@jashkenas fixes for syntax highlighting assignments and regexes 6c782b7
@jashkenas purely empty functions at the top level should be wrapped in parens, …
…so as not to cause a JS syntax error
62e946b
@jashkenas simplification of function and prototype naming -- last_assign, immed…
…iate_assign, and proto_assign are gone, in favor of 'name' and 'proto' properties on CodeNodes
c6c0c7d
@jashkenas added Python's chainable comparisons, like: 10 > 5 > 1 9cb0564
@jashkenas removing redundant unary check 9679fc0
Commits on Jan 17, 2010
@jashkenas ensure that functions are only called once, when chaining comparators 0bc4da2
@jashkenas added the conditional existence operator 95b3624
@jashkenas abbreviating the existential operator 52539ae
@jashkenas the existential operator can now be used infix as well f6c8e81
@jashkenas only let returns stop an expression from being closure-ified -- break…
…s and continues may be valid
d7d9cb8
@jashkenas reverting change e72ef1a
@jashkenas fixing assignment-in-condition c4d0903
@jashkenas generating multiple calls to the same function should use compile_dou…
…ble_reference to ensure a single evaluation of the call itself.
8e1f3c0
@jashkenas rename compile_double_reference to compile_reference 8647b54
@jashkenas edits for clarity 2d90a75
@jashkenas added the first chapter of beautiful code as a coffeescript example 4609ad7
@jashkenas added bentley's chapter from beautiful code to the examples/tests -- …
…quicksort runtime analysis
4a32c58
@jashkenas added binary search example -- chapter 6 of beautiful code e514a39
@jashkenas ignoring the top-down parser that doesn't work 80fbe02
@jashkenas CoffeeScript 0.2.6 is on the books 63c9b5c