Jeremy Ashkenas
|
fbcdc12a9c
|
adding empty return statements -- they return null
|
2010-01-06 21:21:42 -05:00 |
|
Matt Lyon
|
41bb6edcd2
|
next time: don't copy the .tmDelta over the .tmLanguage
|
2010-01-06 00:11:20 -08:00 |
|
Matt Lyon
|
22d3238b2a
|
if we escape the close-brackets, it won't think single-line objects need folding
|
2010-01-06 00:03:11 -08:00 |
|
Matt Lyon
|
3124869e1d
|
add folding for multi-line object literals
|
2010-01-05 22:44:44 -08:00 |
|
Jeremy Ashkenas
|
de49465dc6
|
comments
|
2010-01-06 01:27:58 -05:00 |
|
Jeremy Ashkenas
|
4fc40e4841
|
adding the 'in' operator
|
2010-01-05 23:29:43 -05:00 |
|
Jeremy Ashkenas
|
0275e7775f
|
fixing weepy's comment scenario
|
2010-01-05 23:15:32 -05:00 |
|
Jeremy Ashkenas
|
001e42b85c
|
fixing range literals by making them values, not expressions, and adding tests
|
2010-01-05 22:49:51 -05:00 |
|
Jeremy Ashkenas
|
46f1977ea1
|
adding ranges as expressions, they get expanded into the equivalent array
|
2010-01-05 22:17:09 -05:00 |
|
Jeremy Ashkenas
|
c2bb93b5f8
|
ellipsis is the new splat
|
2010-01-05 21:40:36 -05:00 |
|
Jeremy Ashkenas
|
1040e52246
|
CoffeeScript 0.2.1
|
2010-01-05 09:30:48 -05:00 |
|
Jeremy Ashkenas
|
d555685030
|
docs for arguments conversion
|
2010-01-05 09:29:10 -05:00 |
|
Jeremy Ashkenas
|
5fe419b1ce
|
automatic conversion of arguments into arrays
|
2010-01-05 09:10:45 -05:00 |
|
Jeremy Ashkenas
|
1ebc4d5f21
|
alright, done fiddling. CoffeeScript 0.2.0
|
2010-01-05 00:45:04 -05:00 |
|
Jeremy Ashkenas
|
6658250c8e
|
more docs
|
2010-01-05 00:34:18 -05:00 |
|
Jeremy Ashkenas
|
724d4c9660
|
tweaking docs
|
2010-01-05 00:19:22 -05:00 |
|
Jeremy Ashkenas
|
0cf7801f36
|
more docs for 0.2 -- blocks and splats
|
2010-01-04 23:26:27 -05:00 |
|
Jeremy Ashkenas
|
ae603749be
|
adding the complete underscore.coffee example to the docs
|
2010-01-04 22:51:02 -05:00 |
|
Jeremy Ashkenas
|
6e63a18f86
|
first pass at 0.2.0 docs
|
2010-01-04 22:19:45 -05:00 |
|
Jeremy Ashkenas
|
3e24cef69f
|
minor doc updates -- let's try pulling in the underscore test suite
|
2010-01-04 19:15:24 -05:00 |
|
Jeremy Ashkenas
|
2c1033f5da
|
removed the whole messy notions of looking downwards for returns or children -- ForNodes now peek at top-level status, and if they're being asked to return a value from the outside
|
2010-01-04 18:57:10 -05:00 |
|
Jeremy Ashkenas
|
da9e38808c
|
nicer scope inspects
|
2010-01-04 09:43:50 -05:00 |
|
Jeremy Ashkenas
|
5efaff506c
|
more underscore
|
2010-01-04 01:43:45 -05:00 |
|
Jeremy Ashkenas
|
94bc7c1f92
|
putting in a special check for returns within array comprehensions -- not very nice
|
2010-01-04 01:06:31 -05:00 |
|
Jeremy Ashkenas
|
f75d98e447
|
pretty amazing -- fully functional draft of underscore.js 0.5.2, all in CoffeeScript
|
2010-01-04 00:28:52 -05:00 |
|
Jeremy Ashkenas
|
69283fcadd
|
fixing a nasty little bug with not dup'ing a string in Scope.rb, causing later functions to start their free_variables where previous functions left off, because they shared their ancestor's @temp_variable string
|
2010-01-04 00:16:38 -05:00 |
|
Jeremy Ashkenas
|
672dd70bdb
|
more underscore examples raised a slight bug with a lexing ambiguity between leading whens (in switches), and trailing whens (in comprehensions) -- made two different tokens to distinguish them
|
2010-01-03 22:25:38 -05:00 |
|
Jeremy Ashkenas
|
32cd15f038
|
mo' expression examples
|
2010-01-03 19:08:41 -05:00 |
|
Jeremy Ashkenas
|
ecdb47107b
|
--
|
2010-01-03 19:00:08 -05:00 |
|
Jeremy Ashkenas
|
cb1815885c
|
adding a statement-as-expression test, and returning null from while loops, if asked
|
2010-01-03 18:58:34 -05:00 |
|
Jeremy Ashkenas
|
d53d85d03e
|
updating fixtures -- all tests now pass -- back to master
|
2010-01-03 18:49:00 -05:00 |
|
Jeremy Ashkenas
|
8e6486a1d7
|
logic error in Expressions was causing over-compilation by a factor of the depth of the tree
|
2010-01-03 18:47:23 -05:00 |
|
Jeremy Ashkenas
|
97f16c0e9c
|
fixing comment-within-objecta-and-array-literal printing for the new expression regime.
|
2010-01-03 18:35:03 -05:00 |
|
Jeremy Ashkenas
|
bd2597c6b8
|
change lexical scoping example to use var names that haven't been already defined
|
2010-01-03 18:27:26 -05:00 |
|
Jeremy Ashkenas
|
56015bd23f
|
subtle call order bug was preventing variable declarations
|
2010-01-03 18:22:10 -05:00 |
|
Jeremy Ashkenas
|
3724778989
|
lowering the precedence of if/else/while
|
2010-01-03 18:11:53 -05:00 |
|
Jeremy Ashkenas
|
bb0dfa5cd4
|
removing the silly newlines from comments
|
2010-01-03 18:07:03 -05:00 |
|
Jeremy Ashkenas
|
6160fe3c17
|
beautiful -- all examples, tests, and docs are now compiling without JSLint warnings
|
2010-01-03 16:32:59 -05:00 |
|
Jeremy Ashkenas
|
099944e0aa
|
All execution tests are now passing with statements everywhere
|
2010-01-03 15:59:33 -05:00 |
|
Jeremy Ashkenas
|
4814d5baa5
|
more progress -- you can wrap parentheses around statements now
|
2010-01-03 15:13:59 -05:00 |
|
Jeremy Ashkenas
|
78c4957ba8
|
first rough rough rough draft of kamatsu's closure suggestion -- test.coffee runs, but probably nothing else
|
2010-01-03 13:59:17 -05:00 |
|
Jeremy Ashkenas
|
de4eddcad4
|
bumping version numbers to 0.2.0 in anticipation of release soon-ish
|
2010-01-03 11:01:50 -05:00 |
|
Jeremy Ashkenas
|
ba3c5298f7
|
adding a block test and using PARAM_SPLAT to remove the last shift/reduce conflict
|
2010-01-03 10:46:37 -05:00 |
|
Jeremy Ashkenas
|
21a0cc83ae
|
Adding kamatsu's proposed block literal syntax
|
2010-01-03 10:19:39 -05:00 |
|
Jeremy Ashkenas
|
7eff8786bc
|
todo
|
2010-01-02 01:00:03 -05:00 |
|
Jeremy Ashkenas
|
7ee5be674d
|
adding splice literals, with tests
|
2010-01-02 00:20:24 -05:00 |
|
Jeremy Ashkenas
|
38520bfece
|
rebuilding narwhal uncovered a bug with named functions
|
2010-01-01 22:00:34 -05:00 |
|
Jeremy Ashkenas
|
c3d0e50e8f
|
fixing the food/eat array comprehension in the docs to not pretend like there's a made-up method on String.prototype
|
2010-01-01 17:16:34 -05:00 |
|
Jeremy Ashkenas
|
34add7d7bf
|
adding consistent highlighting to variable assignment, whether functions or values
|
2010-01-01 17:11:48 -05:00 |
|
Jeremy Ashkenas
|
75d9e23df4
|
better existence test, with tests
|
2010-01-01 12:41:55 -05:00 |
|