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 Aug 05, 2010
@jashkenas compile empty coffee files to js anyway. b1f7d5e
@brodyberg brodyberg Fix typo 6555659
@brodyberg brodyberg Fix typo 133aa7b
Commits on Aug 07, 2010
@jashkenas first step towards requiring #{ ... } interpolation -- removing naked…
… interps from the compiler.
9df3e6a
@jashkenas Forbidding #interp-style interpolation ... Issue #581 cc10641
@jashkenas Issue #587 ... Removing the Attempted Removal of Erroneous Double Par…
…ens.
0ada5a7
@StanAngeloff StanAngeloff Add command-line compiler hooks. To invoke, pass a file after -r and …
…listen for any of these events: 'compile', 'success' and 'exception'. Example:

    coffee -e -r ./snarl 'Hello!'

Contents of 'snarl.coffee' in the working directory:

    http = require 'http'
    CoffeeScript.on 'exception', (err) ->
      client  = http.createClient 9889, 'localhost'
      request = client.request 'GET', '/?d={"action":1,"applicationName":"CoffeeScript","title":' + JSON.stringify(err.message) + ',"description":' + JSON.stringify(err.stack) + ',"priority":3}'
      request.end()
      err.handled = yes

To examine arguments available for each event (for debugging and getting started), use `puts JSON.stringify arguments`.

See http://nodejs.org/api.html#modules-309 and NODE_PATH for more details on how -r looks for files.
b1b78dc
Commits on Aug 08, 2010
@jashkenas Merge branch 'master' of http://github.com/brodyberg/coffee-script 4da982b
@jashkenas Merge branch 'hooks' of git://github.com/StanAngeloff/coffee-script f950e28
@jashkenas Merging in Stan's patch for a --require flag that allows you to hook …
…into CoffeeScript compiler events for on 'compile', 'success', and 'failure' ... a better way to extend the language or do growlnotify stuff. Issue #590
1c90345
@jashkenas Fixing Issue #589. Compound assignment to an operation should have lo…
…wer precedence.
b902377
@jashkenas Adding CoffeeScript as a globally-available object, when invoked from…
… the coffee command-line, only.
08506f1
@jashkenas Use fs.realpathSync instead of something hacky. a749d43
@jashkenas Fixing closures-generated-within-comprehensions to preserve block loc…
…al scope for range comprehensions
d286b33
@jashkenas First step of the general rewriter refactor. Added a generic 'detectE…
…nd' function which is expression-pair sensitive. Use it to reimplement closeOpenCallsAndIndexes
18d6fd7
@jashkenas prefer the include() helper to 'in', except for array literals. 3eda5a2
Commits on Aug 09, 2010
@jashkenas adding options argument to cake documentation. 0231f8d
Commits on Aug 11, 2010
@jashkenas New implementation of Rewriter#addImplicitBraces -- uses detectEnd.. d0b918e
@jashkenas New implementation of Rewriter#addImplicitParentheses, using Rewriter…
…#detectEnd
45b5bae
@jashkenas New implementation of Rewriter#addImplicitIndentation, using Rewriter…
…#detectEnd
87fd05a
@jashkenas Fixes Issue #542. Ensure that top-level objects are parenthesized. It…
…'s not valid code, but we might as well not SyntaxError out.
c2ec40e
@jashkenas adding a top-level object literal test for Issue #542 cb52be6
@jashkenas refactor to simplify scanTokens method in Rewriter. 60a4138
@jashkenas Fixes Issue #573. Herecomments inside of class literals. 5bdf78d
@jashkenas adding herecomment in class definition test. 7142131
@jashkenas fixing Issue #545 ... whitespace-only heredocs. 1249377
@jashkenas adding other implicit indentation/call/object test. 642e7fa
@jashkenas CoffeeScript 0.9.1 is on the books. 6c99797