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 .
...
This comparison is big! We’re only showing the most recent 250 commits
Commits on Oct 20, 2010
@satyr satyr scope: refactored b0a4b7a
@satyr satyr nodes: refactored to reduce parens e2a6f29
@satyr satyr removed extra parens from compilations with assignments or conditiona…
…l operators
c1dc74f
@satyr satyr removed extra parens from soak compilations c11ca94
@satyr satyr removed extra parens from array/index compilations 7883507
@satyr satyr removed extra parens from `in`/`return` compilations 53fbfc7
Commits on Oct 21, 2010
@satyr satyr made In node invertible 31746ce
Timothy Jones Operators now respect new lines as being spaced. e694b41
Timothy Jones Proper testing, this time. f229f79
@jashkenas tweaks to scope bb08013
@jashkenas indentation 0d4d7e0
@satyr satyr fixed/removed broken/redundant tests cb9683a
@jashkenas putting back arguments. 7596e3a
Timothy Jones Fixing destructor in magicked for. Also making destructors in range l…
…oops syntax errors.
880c5c8
@satyr satyr fixed a bug where `in` malfunctioned in commaed lists 2f7c076
@satyr satyr implemented for-from-to and removed dotted ranges bd10c2f
@satyr satyr refactored loop variable caching 79148d2
Timothy Jones Removing empty parens from the grammar. f43ee40
Commits on Oct 22, 2010
@satyr satyr removed extra parens around simple values 341de42
@jashkenas merging the range-killer to master 0342b0a
@jashkenas normalizing loop declarations towards common JS practice. c92fd79
@satyr satyr lexer: simplified tokenizers' responsibility a9e95fa
@jashkenas Revert "lexer: simplified tokenizers' responsibility"
This reverts commit a9e95fa.
1044223
@satyr satyr reverted "lexer: simplified tokenizers' responsibility" with magic nu…
…mbers removed

This reverts commit 1044223.
3df28a8
@satyr satyr nodes: removed some redundancies and unused methods 32e63cd
@satyr satyr fixed a bug where multiple trailing comments prevented returnification a8da321
@satyr satyr refactored and added a test for a8da321 1130f4f
Commits on Oct 23, 2010
@satyr satyr nodes: introduced a notion of levels that streamlines parenthesizations b82f495
@satyr satyr nodes: refactored and removed the notion of `o.top` in favor of LVL_TOP 2bc2c47
Timothy Jones Spacing multiple operators. 9448a47
Timothy Jones Spacing only + and - and only in a row. e6fb3bc
Timothy Jones Passing the arguments object directly when generating a closure. 7b887f0
@satyr satyr fixed a regression that for-in was failing to cache the source value 0942071
Timothy Jones Revert "Passing the arguments object directly when generating a closu…
…re."

This reverts commit 7b887f0.
3834e7b
Timothy Jones Merge branch 'master' of github.com:jashkenas/coffee-script b60afdb
@jashkenas Making the LEVEL constants a bit more readable. 6058910
@satyr satyr 783: corrected chained comparison precedence 1335aee
@jashkenas Reverting LEVEL object. 2287b06
@jashkenas resolving merge conflict. e96cdbf
Timothy Jones Easing leniency on pure statements. fc332bc
@satyr satyr merged == and != into COMPARE ebdcfb5
@satyr satyr quit using __temp__ as placeholder name for anon class 0c3093f
@satyr satyr added/fixed/tweaked a few tests and merged test_compound_assignment i…
…nto test_assignment
89516e6
@satyr satyr removed an extra garbage b648b39
@satyr satyr grammar: removed a remnant of Slice bfc236f
Commits on Oct 24, 2010
@michaelficarra michaelficarra node 0.3 compliance 4d4e758
Timothy Jones Correcting version regex. 291f377
@satyr satyr 786: implemented dynamic object keys 331036f
Timothy Jones Wrapping only the last line of comprehensions, allowing pure statemen…
…ts anywhere in between.
99deb8c
@satyr satyr dynakeys: can now be braceless 85c8a67
@satyr satyr dynakeys: can now do destructuring assignments a458c4a
Timothy Jones Removing unnecessary parens and removing the sudo recommendation for …
…npm in the readme.
f52ef98
Timothy Jones Implemented rescoping with the do keyword. d096f69
Timothy Jones Altered bound functions with do to just use call(this) rather than bi…
…nding.
9619fa6
@satyr satyr rebuilt parser and rewrote the asserts wrapping loop in Cakefile usin…
…g `do =>`
abef3f5
@jashkenas Merging in dynakeys 95be4a6
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 55bf645
@jashkenas ObjectLiteral -> Obj, ArrayLiteral -> Arr cecae0f
@satyr satyr nodes: `continue while ..` over `while .. then` aed0e87
@jashkenas Removing the mixed-in sys/util module. Switching from 'puts' to conso…
…le.log
26a115a
@satyr satyr removed extra lines from trailing `then` compilations d60aa9a
@jashkenas typo 3a16677
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script e822b2d
@jashkenas Removing duplicate 'UNLESS' ca90af4
@jashkenas Removing -> and => from precendece-having operators. 3a64e6a
@jashkenas Issue #795 -- clean up low precedence levels d6d4669
@jashkenas further reduce predecence levels. b32a758
@jashkenas Switching parenthesized side in comprehensions. 6347849
@jashkenas Expanding __filename and __dirname when running with the coffee comma…
…nd -- Issue #771
0852707
@jashkenas Adding xqjs, CUP, and Congo to the resources section. e007f69
@satyr satyr invalid destructuring assignments like `{0} = x` now causes syntax error c8d994a
@jashkenas removing forgotten print's 02e94cd
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script d1094e1
@satyr satyr optimized `switch` compilation e146b53
@satyr satyr assigning to bizarre things like `[a()] = b` now causes syntax error 98d22f9
@satyr satyr nodes: added Base::unwrapAll ab2050d
@satyr satyr nodes: removed Value.wrap 7bfb2e3
@satyr satyr nodes: reformatted 101a044
Commits on Oct 25, 2010
@jashkenas Removing/Reverting do -> 5b16d47
@jashkenas Removing extraneous semicolon, adding back in final break -- src now …
…lints cleanly.
c2da8c2
@jashkenas Working towards new versions of the examples. 13f6b03
@jashkenas Fixing the REPL. a75368e
@jashkenas Fixing scope.coffee -- we can't use a JS object as a hash that has to…
… contain the word 'hasOwnProperty'
6a9c438
@jashkenas Adding break to default switch clauses to pass lint. 12b217c
@jashkenas Removing breaks from the last switch case, and just disabling the lin…
…t warning instead.
017e3a1
@jashkenas top-level examples now compile and lint cleanly. 343c0fd
@jashkenas All examples now compile and lint cleanly. 99c06b5
Timothy Jones Using a typeof check in scope. 2ddae69
@jashkenas First draft of recompiling examples for 0.9.9 0e5dd3d
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 6faff7c
@jashkenas replacing mistakenly-deleted nodes.coffee 00220a9
@jashkenas Comments are statements also, not just pure statements. 520d6a9
@satyr satyr grammar: improved formatting consistency, using single quotes unless …
…interpolated and wrapping lines that are too long
1e984e7
@satyr satyr removed extra lines from the compilation of trailing `then` with `if`…
…/`switch`
2aa093b
@satyr satyr nodes: @soakNode -> @soak 27cdafb
@satyr satyr rewriter: `a: b: c` is now valid ff82c59
@satyr satyr rewriter: `(a): (b): (c)` is now allowed 863f3f6
@satyr satyr dynakeys: `{(x), y}` now compiles correctly 0d6d221
@satyr satyr refactored operator parsing ad79e14
@satyr satyr tidied up formatting I broke at ad79e14 b2be475
@satyr satyr leading `then` is now valid 426d71c
@satyr satyr aligned up some ifelses using leading `then` b84063b
Commits on Oct 26, 2010
@satyr satyr test: merged "expressions" into "chaining" and "returns" cb56429
@satyr satyr lexer: removed unused UNARY tokens 5a92b33
@satyr satyr removed a redundancy in splatted assignment ecd4722
@satyr satyr implemented default arguments e7cc4e4
@satyr satyr defarg: removed Splat::compileParam in favor of using the normal arra…
…y destructuring against `arguments`
4eeab94
@satyr satyr grammar: refactored Param 96f74f9
@satyr satyr defarg: `(options = {})` where possible 371282f
@satyr satyr made `[a..., b...] = c` throw syntax error e36746d
@satyr satyr optimized splatting assignment 1cb6464
@jashkenas Revert "aligned up some ifelses using leading `then`"
This reverts commit b84063b.
7170536
@michaelficarra michaelficarra good practice for parity checks 0f577e0
@satyr satyr destructuring within arguments is now allowed as in SpiderMonkey 1aba75e
Commits on Oct 28, 2010
@jashkenas Patching Jison (again) to fix 'Unexpected 1' -> 'Unexpected EOF' 6e9cb27
@jashkenas Merge branch 'master' of http://github.com/michaelficarra/coffee-script 42812a8
@jashkenas merging in parity checks. b3a4ce4
@jashkenas Removing one of the Jison patches, no longer needed with 0.1.24 62a1824
@jashkenas Issue #801 -- Empty catch statements immediately preceding outdents. 853d288
@jashkenas CoffeeScript now compiled 'undefined' as 'void 0' 6b4e437
@jashkenas Removing the last Jison hack. (Jison 0.1.25) 6d8126e
Trevor Burnham Accepting --no-wrap, with a warning baef719
Commits on Oct 29, 2010
Trevor Burnham Fixing --eval; see issue 820 776b1b7
Commits on Oct 30, 2010
@jashkenas tweaks to eval-fix 195ca70
Commits on Nov 01, 2010
@satyr satyr fixed a bug that compound assignments were declaring variables 4f4032c
@satyr satyr dynakeys: optimized and fixed a bug in caching 56391df
Commits on Nov 02, 2010
@jashkenas Merge branch 'master' of git://github.com/TrevorBurnham/coffee-script a4be3bc
@jashkenas merging in Trevor's --no-wrap deprecation 67f1e04
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 3ede624
@jashkenas merging satyr/defarg c17efcf
@jashkenas reindenting grammar.coffee to the shared column, as much as possible. 749e056
@jashkenas Optimizing default arguments and existential assignment. 83e6955
@jashkenas Now that ?= is optimized, reverting the expansion. f13e363
@jashkenas Using default arguments in one more spot. 187cda0
@jashkenas reverting ?= optimization, for the repl's sake. ebbe0ba
@jashkenas not-or to is-and ... positive side. b94c15b
@jashkenas satyr commit b2cf91 ... no more @tags 4788f84
@jashkenas More indentation, less one-liners. 6163215
@jashkenas safer splats with __slice where necessary. 6aaa2eb
@jashkenas satyr 1612b04 ... enabled break/continue in comprehensions. 5aa21c3
@jashkenas modified satyr -- made temp vars be declared later. b0e7c3e
@jashkenas modified satyr -- when now closes implicit calls. 987aaa0
@jashkenas tweak to parser.lexer a257f59
@jashkenas BY now closes implicit calls. 605f362
@jashkenas modified satyr: allowed temporary variables to share names with ones …
…on upper scopes
5eb255a
@satyr satyr rewriter: no longer tries to include dynamic keys into braceless objects 0441d4a
@satyr satyr nodes: filled in missing LEVEL_* in In::compile*Test c418bca
Commits on Nov 04, 2010
@jashkenas satyr 4e39e2e -- efficient closures in loops -- pulling them out. 304a120
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 58cac0c
@jashkenas First draft at loop block scoping again ... works for functions that …
…mention 'this'
9fc3f85
@jashkenas fixing unsafe unwrapAll in previous commit. d5f639f
@jashkenas Adding back in the closed-comprehensions tests. a8b36b2
@jashkenas loosening the restrictions on functions that can be lifted out -- mor…
…e tests.
09b243e
Commits on Nov 05, 2010
@jashkenas first draft of safe range comprehensions, upwards and downwards. 76685e6
@jashkenas Fixing jsl.conf to lint cleanly again (don't mind our void 0s) 8d30fea
@jashkenas light refactors + tweaks bb05e07
@jashkenas round 2, light refactors. f6a8d4c
@jashkenas removing unused utilities.js 4eee750
@jashkenas lexer refactors bc8022f
Commits on Nov 06, 2010
@jannehietamaki jannehietamaki Do not pass invalid filename 'stdio' to compileScript when compiling …
…from stdin because it breaks fs.realpathSync at run.

It would be nice to have a test for this but wasn't sure if there is a way to test stdin from cake.
3af34d6
Commits on Nov 09, 2010
@jashkenas fixing coffee -s ... (jannehietamaki) eb3a32e
@jashkenas coco a503190 ... made postfix invertible 919596a
@jashkenas coco dc8945c: less ternaries, more returns-from-ifs. More readable. 9c5eca9
@jashkenas coco b82de20: removed Base::idt e882af9
@febuiles febuiles Remove trailing whitespace from README. 936abc3
@jashkenas combination of satyr's three comment patches ... comments are now sta…
…tements, not expressions...
042af51
@jashkenas coco e8563db: tiny optimizations 14f8604
@jashkenas _result -> _results 9017b1a
@jashkenas coco 607fded: reinforced Op::INVERSIONS d7f1193
@jashkenas coco 98271e6: made 'extends' chainable cb81f86
@jashkenas coco b8039b9: merged @closeOpenCalls and @closeOpenIndexes into @clos…
…eOpenPairs
a151cec
@jashkenas coco b615379: optimized @ensureBalance 188ad03
@satyr satyr fixed a bug where postfix `?` was incorrectly unwrapping its operand 3ae8188
@jashkenas it's attr, not css. 8f8c4b4
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 9c76c3e
@jashkenas Revert "coco b8039b9: merged @closeOpenCalls and @closeOpenIndexes in…
…to @closeOpenPairs"

This reverts commit a151cec.
611174b
@jashkenas coco 03a9ac0: made tab characters consistent. bc0cc34
Commits on Nov 10, 2010
@jashkenas making REGEXP a bit stricter. 71db1fc
@jashkenas Hewing closer to JS' syntactic resynchronization for regexp lexing. 841463d
@jashkenas Adding IDENTIFIER and STRING to NOT_SPACED_REGEX 9a71bb1
Commits on Nov 11, 2010
@jashkenas better slash-w. 3338cd0
@jashkenas coco 8a8cc53: meta-heregex 5ec7e88
@jashkenas switching to UglifyJS for browser version of CoffeeScript. 2c7f6d8
@satyr satyr dynakeys: work again on JScript a2d3311
Commits on Nov 12, 2010
@jashkenas first draft of coco's executable class bodies ... cleanups and tests …
…to follow.
7fda0cd
@jashkenas resolving merge 2111175
@jashkenas a little further with the tests ce4bf4a
@jashkenas a little further with the tests 4d8434d
@jashkenas Added back instance-bound functions to classes ... all tests pass again. 07e66dd
@satyr satyr dynakeys: work again on JScript 9fa973d
@jashkenas first draft of metaprogramming in class defn's. 50c2226
@jashkenas merge c778ef1
@jashkenas removing extended in favor of static method inheritance. d08cb20
Commits on Nov 13, 2010
@jashkenas coco c39edf: braceless objects can now have trailing herecomments 6d3e9df
@jashkenas merging in master 18afd2d
@jasondavies jasondavies Fix spelling 498e812
@jashkenas Merge branch 'master' into executable 3059db8
@jashkenas Putting 'constructor' back. Improving constructor definitions. 354708d
@jashkenas Building with latest version of Jison. f0b73dc
@jashkenas Back to naked constructors. 2aedbc2
@jashkenas adding back '@static: value' syntax for classes cb6793f
@jashkenas waypoint: part way through refactoring Class f1972ff
@jashkenas further refactors to Class 9a5546c
@jashkenas done refactoring Class for now... 6f47364
@jashkenas coco 7222551: crushed __bind 5de73f6
@jashkenas removing an unused rule in Root. 7c7eccf
@jashkenas coco 2419207: coffee#840: fixed post-for precedence 144b66c
@jashkenas coco 02ee77c: nodes: fixed parenthesization in Op::compileNode c7cd72c
Commits on Nov 14, 2010
@jashkenas moving up constructor definitions. 32a9c2c
@jashkenas making levels start at one. c98fa81
@jashkenas coco 19474b4: nodes: removed Base::collectChildren 09aa9e2
@jashkenas coco 63d607f: made deep destructuring compile nicer 15bdcf7
@jashkenas constructor: prefix is back for classes. punto. be17b82
@jashkenas fixing Lexer#ASSIGNED a1aaa44
@jashkenas coco 31ad9f0: nodes: made Op::invert more accurate f31798b
@jashkenas coco: cc71308 (partial) break continue debugger -> STATEMENT eb959b3
Commits on Nov 16, 2010
@jashkenas coco c6cf38a: lexer: refactored @balancedString ee6f24b
@jashkenas coco fd028a0: closes #13; leading comments/literals are now placed be…
…fore variable declarations
0c11267
@andrewschaaf andrewschaaf "sudo npm" -> "npm". npm calls "sudo npm"ing "HOLY COW NOT RECOMMENDE…
…D!!"
77cf992
Commits on Nov 17, 2010
@satyr satyr rewrote "cake bench" to see more consistent results 32bd1df
@satyr satyr rewrote "cake bench" to time per parsing stage 1a9a48c
Commits on Nov 18, 2010
@satyr satyr "cake bench" now shows total time spent bcbf9f7
Commits on Nov 20, 2010
@jashkenas rebuilding source docs with new version of Docco. 98a3621
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script a2760c6
@jashkenas Merge branch 'master' of https://github.com/andrewschaaf/coffee-script 9f708ad
@jashkenas first draft of range literals back... 31f4214
@jashkenas CoffeeScript lints cleanly again. 83c41c6
@jashkenas Using pluckDirectCalls again 12134d2
@jashkenas removing an accidental double-method 41c6364
@jashkenas making empty loops compile newlineless 0e388fd
@jashkenas All tests passing again. 9111c2e
@jashkenas Slice and Splice tests are back on master. 1f12642
Commits on Nov 21, 2010
@jashkenas Issue #843. If a for-body ends in a pure-statement, no need to try an…
…d return results.
c8a2a78
@jashkenas reordering __extends. Issue #848 d3ae352
@jashkenas Coco ecd6aa4: Accessor -> Access 93cf3bd
@jashkenas Coco f10291f: parens can now take a sequence of expressions: a = (b; c) 2f49816
@jashkenas slight reformats to cake bench 835244f
@jashkenas Coco ce2d08a: removed _argN temporaries for readability/consistency 0e4d589
@jashkenas Coco 16dcb4a: parenthesized expressions can now be indented 4ef9470
@jashkenas Coco 9a917bb: nodes: removed NUMBER 338e6d7
@jashkenas Coco 5622aef: grammar: POST_IF now has the same precedence as FOR/WHI…
…LE, making work as expected
aa262ec
@jashkenas Revert "Coco 5622aef: grammar: POST_IF now has the same precedence as…
… FOR/WHILE, making work as expected"

This reverts commit aa262ec.
710290a
@jashkenas Updating examples for 0.9.5 8fcd67e
@jashkenas preparing documentation for 0.9.5 28d5db3
@jashkenas tweaking coffeescript.org styles fcda00c
@jashkenas adding Lucida Sans Unicode back in. ac9d36e
Commits on Nov 22, 2010
@jashkenas continuing to document the homepage for 0.9.5 ... removing an optimiz…
…ation for local variables within loops.
1778177
@jashkenas removing some extra parens. 5dfd36a
@jashkenas Switching default arguments to use an if instead of an and, more docu…
…mentation.
fc64fa4
@jashkenas CoffeeScript 0.9.5 e5deb2b