-
Currently `foo bar .baz()` compiles to `foo(bar.baz());`
This seems unlogical, since the same result can be gained with cleaner code by writing `foo bar.baz()`.
So should't it rather compile to `f…
-
So it's time to answer some questions about single-quoted literals. I've recently decided that there's no reason for a special `Quoted` type, and that single quotes should just be a different way to w…
-
Organising code inside of OH-MY-ZSH is becoming unnecessarily complex. For a while, there has been the _/custom_ directory to dump files that override or append to the functionality of _/lib_, _/plugi…
-
Hi,
I came across the Saltarelle compiler through the [SharpDevelop forums](http://community.sharpdevelop.net/forums/p/15826/41412.aspx), when looking for info about NRefactory. I was writing my own …
-
```
> coffee -bpe "incrX = -> x++"
var incrX;
incrX = function() {
return x++;
};
```
Surely there ought to be a `var x` in there somewhere? Likewise with `x += 1`.
-
Done.
The %post section has been reviewed and cleaned up.
ghost updated
12 years ago
-
The code
```
func = (x, y) ->
for x in y
x
break if condition
```
compiles as if it were a list comprehension—except that `_results` is never modified:
```
var func;
func = function(x,…
-
Jeremy has just added satyr's implementation of `do` to master in response to [issue 959](https://github.com/jashkenas/coffee-script/issues#issue/959). The `do` syntax was originally discussed at [iss…
-
I want to do a simple summing function like this:
add = (a,b) -> a + b
[1,2,3].reduce(add)
But I would really like to write: `[1,2,3].reduce(+)`
I think this can be done for built in bina…
-
I can't find the recently-closed issue on the subject of ranges, but I was under the impression that
```
for i from 0 to 10
```
was going to be a new syntactic sugar on top of the existing
```
for …