Jeremy Ashkenas
|
5b2ab36246
|
CoffeeScript 0.3.1, quick patch for 'instanceof'
0.3.1
|
2010-01-27 08:01:18 -05:00 |
|
Jeremy Ashkenas
|
2f3a94678f
|
fixing instanceof, with a quick test
|
2010-01-27 07:55:40 -05:00 |
|
Jeremy Ashkenas
|
ca0a65ab95
|
updating documentation for 0.3
0.3.0
|
2010-01-26 23:23:59 -05:00 |
|
Jeremy Ashkenas
|
3524d618d8
|
adding unary plus, new version of Underscore, still passes tests. Rebuilt Narwhal
|
2010-01-26 22:14:18 -05:00 |
|
Jeremy Ashkenas
|
386d3dd307
|
complete implicit functions, I think these are done.
|
2010-01-26 21:15:56 -05:00 |
|
Jeremy Ashkenas
|
e998a81b63
|
removing block literals in favor of implicit calls
|
2010-01-26 21:05:26 -05:00 |
|
Jeremy Ashkenas
|
aa93d3c387
|
first draft of whitespace-sensitive method calls and indexes.
|
2010-01-26 20:59:52 -05:00 |
|
Jeremy Ashkenas
|
ab4a4a5580
|
make nested implicit indentation just a little bit smarter about outdents and stack levels
|
2010-01-26 14:49:33 -05:00 |
|
Jeremy Ashkenas
|
3775f682de
|
updated textmate highlighter for new function literal syntax
|
2010-01-26 10:54:49 -05:00 |
|
Jeremy Ashkenas
|
a9f016e292
|
trying out new arrows for function literals -> is a function, => is a bound function
|
2010-01-26 10:52:05 -05:00 |
|
Jeremy Ashkenas
|
55df898112
|
adding bound functions to the list of implicit call activator tokens
|
2010-01-26 10:41:28 -05:00 |
|
Jeremy Ashkenas
|
fb7fd53bdf
|
enabling passed functions to fire implicit method calls
|
2010-01-26 02:27:19 -05:00 |
|
Jeremy Ashkenas
|
29e4043f26
|
tests passing with smarter block syntax with optional parens
|
2010-01-26 02:15:08 -05:00 |
|
Jeremy Ashkenas
|
460b3f6d8e
|
first draft of mandatory parentheses around function definition param lists -- all tests pass
|
2010-01-26 00:40:58 -05:00 |
|
Jeremy Ashkenas
|
63b44a2b03
|
odd and even were backwards
|
2010-01-25 22:44:36 -05:00 |
|
Jeremy Ashkenas
|
8efcaf6eec
|
moved CoffeeScript.tmbundle to extras and rewrote the installation instructions in plain text
|
2010-01-25 22:22:39 -05:00 |
|
Jeremy Ashkenas
|
a732e578ea
|
Merge branch 'master' of git://github.com/olsonjeffery/coffee-script
|
2010-01-25 22:03:12 -05:00 |
|
Jeremy Ashkenas
|
d6e206b420
|
adding line number info to unclosed parens, objects, arrays, and indents
|
2010-01-25 21:07:18 -05:00 |
|
Jeremy Ashkenas
|
91e703052c
|
fixing chained single-line if-elses with a smarter rewriter.
|
2010-01-25 20:52:33 -05:00 |
|
Jeffery Olson
|
f393b1c897
|
adding vim syntax file in a new "extras" folder
- also added a VIM-SYNTAX-HOWTO.md readme file
|
2010-01-25 07:48:06 -08:00 |
|
Jeremy Ashkenas
|
2875de5e73
|
changed the docs for optional parens
|
2010-01-25 00:14:00 -05:00 |
|
Jeremy Ashkenas
|
8d63d269b8
|
making all postfix forms close out implicit calls, as in Ruby
|
2010-01-24 23:56:27 -05:00 |
|
Jeremy Ashkenas
|
a5d39efdd2
|
converted the tests to use optional parentheses -- lot's of little subtleties to work out
|
2010-01-24 23:40:45 -05:00 |
|
Jeremy Ashkenas
|
70e3a6ef2f
|
first draft of optional parentheses, with a couple tests ... more to follow
|
2010-01-24 22:32:06 -05:00 |
|
Jeremy Ashkenas
|
4b267b401a
|
another poignant example
|
2010-01-24 20:04:28 -05:00 |
|
Jeremy Ashkenas
|
e6f010b983
|
adding more examples to the computer_science folder, and fiddling with operator precedence
|
2010-01-24 18:59:29 -05:00 |
|
Jeremy Ashkenas
|
af53a04932
|
added test for lexical scope sharing through generated closure wrappers, something uncommonly used, but that was a regression
|
2010-01-24 13:39:27 -05:00 |
|
Jeremy Ashkenas
|
817e8deb27
|
adding soaked method calls, with caching
|
2010-01-24 12:52:15 -05:00 |
|
Jeremy Ashkenas
|
d728c3d669
|
added existence chains with '?.' -- soaks up attempts to access undefined properties, returning 'undefined'
|
2010-01-23 23:30:55 -05:00 |
|
Jeremy Ashkenas
|
9160500e84
|
removing 'this' rewriting in favor of correctly calling generated closures
|
2010-01-23 21:11:27 -05:00 |
|
Jeremy Ashkenas
|
c3ce2ea9b1
|
added automatic safety closure wrapper for functions declared within for loops.
|
2010-01-23 17:53:07 -05:00 |
|
Jeremy Ashkenas
|
5f94186b40
|
adding the compiled parser back into the repo (after all that) so that it can be used as the source for the narwhal package
|
2010-01-23 12:44:36 -05:00 |
|
Jeremy Ashkenas
|
791d874058
|
fixing comments as the last line of a block
|
2010-01-20 20:36:31 -05:00 |
|
Jeremy Ashkenas
|
a8ae37a428
|
fixing bug with multiple linebreaks in heredocs
|
2010-01-19 09:49:23 -05:00 |
|
Jeremy Ashkenas
|
b9c09bfa4e
|
doc updates -- widened the code segments for the sake of the JavaScript
|
2010-01-17 18:33:31 -05:00 |
|
Jeremy Ashkenas
|
63c9b5c2f0
|
CoffeeScript 0.2.6 is on the books
0.2.6
|
2010-01-17 18:12:59 -05:00 |
|
Jeremy Ashkenas
|
80fbe02fda
|
ignoring the top-down parser that doesn't work
|
2010-01-17 17:41:38 -05:00 |
|
Jeremy Ashkenas
|
e514a39dd2
|
added binary search example -- chapter 6 of beautiful code
|
2010-01-17 16:18:24 -05:00 |
|
Jeremy Ashkenas
|
4a32c58221
|
added bentley's chapter from beautiful code to the examples/tests -- quicksort runtime analysis
|
2010-01-17 15:58:44 -05:00 |
|
Jeremy Ashkenas
|
4609ad78c2
|
added the first chapter of beautiful code as a coffeescript example
|
2010-01-17 15:36:46 -05:00 |
|
Jeremy Ashkenas
|
2d90a751f7
|
edits for clarity
|
2010-01-17 14:55:06 -05:00 |
|
Jeremy Ashkenas
|
8647b54a61
|
rename compile_double_reference to compile_reference
|
2010-01-17 14:26:00 -05:00 |
|
Jeremy Ashkenas
|
8e1f3c0eca
|
generating multiple calls to the same function should use compile_double_reference to ensure a single evaluation of the call itself.
|
2010-01-17 14:23:41 -05:00 |
|
Jeremy Ashkenas
|
c4d0903e6a
|
fixing assignment-in-condition
|
2010-01-17 10:40:59 -05:00 |
|
Jeremy Ashkenas
|
e72ef1a61a
|
reverting change
|
2010-01-17 10:28:04 -05:00 |
|
Jeremy Ashkenas
|
d7d9cb8d28
|
only let returns stop an expression from being closure-ified -- breaks and continues may be valid
|
2010-01-17 10:21:24 -05:00 |
|
Jeremy Ashkenas
|
f6c8e81ea6
|
the existential operator can now be used infix as well
|
2010-01-16 23:03:54 -05:00 |
|
Jeremy Ashkenas
|
52539ae7d2
|
abbreviating the existential operator
|
2010-01-16 22:26:34 -05:00 |
|
Jeremy Ashkenas
|
95b362499f
|
added the conditional existence operator
|
2010-01-16 22:17:55 -05:00 |
|
Jeremy Ashkenas
|
0bc4da2b51
|
ensure that functions are only called once, when chaining comparators
|
2010-01-16 22:04:08 -05:00 |
|