Commit Graph

  • 8e3922b6c6 allowing comments in the middle of switch statements Jeremy Ashkenas 2010-01-09 13:25:44 -05:00
  • 2319affa61 allowing chained calls broken up over multiple lines with periods at the front (jQuery-style) Jeremy Ashkenas 2010-01-09 12:12:38 -05:00
  • 7befbddae2 adding test for body-less while, using null as the body so JSLint doesn't get in a tizzy Jeremy Ashkenas 2010-01-09 11:58:50 -05:00
  • ae58e2ec6c adding body-less while expressions Jeremy Ashkenas 2010-01-09 11:51:32 -05:00
  • 4c3f00cf77 fixing calling super from constructors Jeremy Ashkenas 2010-01-08 10:54:44 -05:00
  • 8b3926fb0c making extends equivalent to the Google Closure version Jeremy Ashkenas 2010-01-08 09:35:02 -05:00
  • d416c184db separating out the --no-wrap and the --globals arguments, which shouldn't be jammed together Jeremy Ashkenas 2010-01-07 21:10:25 -05:00
  • 30dca132bd more node cleaning, using idt() instead of TAB Jeremy Ashkenas 2010-01-07 20:57:23 -05:00
  • 69908be85c cleaned up nodes.rb indentation code with an idt method Jeremy Ashkenas 2010-01-07 20:55:30 -05:00
  • c70b6f39b1 weepy's new speedy comprehensions Jeremy Ashkenas 2010-01-07 20:27:26 -05:00
  • fab98a2219 mentioning the racc gem in the readme Jeremy Ashkenas 2010-01-07 09:43:44 -05:00
  • 18c3e79a50 adding automatic 'return this' for constructors: functions that start with a Capital Letter Jeremy Ashkenas 2010-01-06 23:47:36 -05:00
  • 9ed8020b84 added the constructor fix for capitalized functions Jeremy Ashkenas 2010-01-06 23:34:56 -05:00
  • cf7079a379 fixing the lexer to handle strings that end with a backslash character Jeremy Ashkenas 2010-01-06 23:15:13 -05:00
  • 3e33b4a618 adding a warning about parser.rb to the readme Jeremy Ashkenas 2010-01-06 22:57:21 -05:00
  • a5c1922200 printing a warning when the parser goes missing Jeremy Ashkenas 2010-01-06 22:41:09 -05:00
  • c49f2d8097 ignoring the generated parser.rb Jeremy Ashkenas 2010-01-06 22:38:03 -05:00
  • eb9b18376e removing the parser.rb from revision control -- it's taking up too much space -- you'll have to generate it yourself with rake build:parser Jeremy Ashkenas 2010-01-06 22:37:25 -05:00
  • fbcdc12a9c adding empty return statements -- they return null Jeremy Ashkenas 2010-01-06 21:21:42 -05:00
  • 41bb6edcd2 next time: don't copy the .tmDelta over the .tmLanguage Matt Lyon 2010-01-06 00:11:20 -08:00
  • 22d3238b2a if we escape the close-brackets, it won't think single-line objects need folding Matt Lyon 2010-01-06 00:03:11 -08:00
  • 3124869e1d add folding for multi-line object literals Matt Lyon 2010-01-05 22:44:44 -08:00
  • de49465dc6 comments Jeremy Ashkenas 2010-01-06 01:27:58 -05:00
  • 4fc40e4841 adding the 'in' operator Jeremy Ashkenas 2010-01-05 23:29:43 -05:00
  • 0275e7775f fixing weepy's comment scenario Jeremy Ashkenas 2010-01-05 23:15:32 -05:00
  • 001e42b85c fixing range literals by making them values, not expressions, and adding tests Jeremy Ashkenas 2010-01-05 22:49:51 -05:00
  • 46f1977ea1 adding ranges as expressions, they get expanded into the equivalent array Jeremy Ashkenas 2010-01-05 22:17:09 -05:00
  • c2bb93b5f8 ellipsis is the new splat Jeremy Ashkenas 2010-01-05 21:40:36 -05:00
  • f1e024b5c8 CoffeeScript 0.2.1 0.2.1 Jeremy Ashkenas 2010-01-05 09:30:48 -05:00
  • 1040e52246 CoffeeScript 0.2.1 Jeremy Ashkenas 2010-01-05 09:30:48 -05:00
  • 4895e6ddc9 docs for arguments conversion Jeremy Ashkenas 2010-01-05 09:29:10 -05:00
  • d555685030 docs for arguments conversion Jeremy Ashkenas 2010-01-05 09:29:10 -05:00
  • 3d43c41a67 automatic conversion of arguments into arrays Jeremy Ashkenas 2010-01-05 09:10:45 -05:00
  • 5fe419b1ce automatic conversion of arguments into arrays Jeremy Ashkenas 2010-01-05 09:10:45 -05:00
  • 0e645cce41 alright, done fiddling. CoffeeScript 0.2.0 0.2.0 Jeremy Ashkenas 2010-01-05 00:45:04 -05:00
  • 1ebc4d5f21 alright, done fiddling. CoffeeScript 0.2.0 Jeremy Ashkenas 2010-01-05 00:45:04 -05:00
  • 4f564dec60 more docs Jeremy Ashkenas 2010-01-05 00:34:18 -05:00
  • 6658250c8e more docs Jeremy Ashkenas 2010-01-05 00:34:18 -05:00
  • 20144abe25 tweaking docs Jeremy Ashkenas 2010-01-05 00:19:22 -05:00
  • 724d4c9660 tweaking docs Jeremy Ashkenas 2010-01-05 00:19:22 -05:00
  • a8631dcbaf more docs for 0.2 -- blocks and splats Jeremy Ashkenas 2010-01-04 23:26:27 -05:00
  • 0cf7801f36 more docs for 0.2 -- blocks and splats Jeremy Ashkenas 2010-01-04 23:26:27 -05:00
  • f5cd6578b8 adding the complete underscore.coffee example to the docs Jeremy Ashkenas 2010-01-04 22:51:02 -05:00
  • ae603749be adding the complete underscore.coffee example to the docs Jeremy Ashkenas 2010-01-04 22:51:02 -05:00
  • f1af50ee33 first pass at 0.2.0 docs Jeremy Ashkenas 2010-01-04 22:19:45 -05:00
  • 6e63a18f86 first pass at 0.2.0 docs Jeremy Ashkenas 2010-01-04 22:19:45 -05:00
  • ad5e69d303 minor doc updates -- let's try pulling in the underscore test suite Jeremy Ashkenas 2010-01-04 19:15:24 -05:00
  • 3e24cef69f minor doc updates -- let's try pulling in the underscore test suite Jeremy Ashkenas 2010-01-04 19:15:24 -05:00
  • 7d800b5e5b 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 Jeremy Ashkenas 2010-01-04 18:57:10 -05:00
  • 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 Jeremy Ashkenas 2010-01-04 18:57:10 -05:00
  • f150011d9d nicer scope inspects Jeremy Ashkenas 2010-01-04 09:43:50 -05:00
  • da9e38808c nicer scope inspects Jeremy Ashkenas 2010-01-04 09:43:50 -05:00
  • a09f807ce0 more underscore Jeremy Ashkenas 2010-01-04 01:43:45 -05:00
  • 5efaff506c more underscore Jeremy Ashkenas 2010-01-04 01:43:45 -05:00
  • 6082b9dc36 putting in a special check for returns within array comprehensions -- not very nice Jeremy Ashkenas 2010-01-04 01:06:31 -05:00
  • 94bc7c1f92 putting in a special check for returns within array comprehensions -- not very nice Jeremy Ashkenas 2010-01-04 01:06:31 -05:00
  • 326904826d pretty amazing -- fully functional draft of underscore.js 0.5.2, all in CoffeeScript Jeremy Ashkenas 2010-01-04 00:28:52 -05:00
  • f75d98e447 pretty amazing -- fully functional draft of underscore.js 0.5.2, all in CoffeeScript Jeremy Ashkenas 2010-01-04 00:28:52 -05:00
  • 3f30712ca1 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 Jeremy Ashkenas 2010-01-04 00:16:38 -05:00
  • 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 Jeremy Ashkenas 2010-01-04 00:16:38 -05:00
  • e9b72ee955 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 Jeremy Ashkenas 2010-01-03 22:25:38 -05:00
  • 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 Jeremy Ashkenas 2010-01-03 22:25:38 -05:00
  • 7be3b8edac mo' expression examples Jeremy Ashkenas 2010-01-03 19:08:41 -05:00
  • 32cd15f038 mo' expression examples Jeremy Ashkenas 2010-01-03 19:08:41 -05:00
  • 3daac200e5 -- Jeremy Ashkenas 2010-01-03 19:00:08 -05:00
  • ecdb47107b -- Jeremy Ashkenas 2010-01-03 19:00:08 -05:00
  • f77877d7eb adding a statement-as-expression test, and returning null from while loops, if asked Jeremy Ashkenas 2010-01-03 18:58:34 -05:00
  • cb1815885c adding a statement-as-expression test, and returning null from while loops, if asked Jeremy Ashkenas 2010-01-03 18:58:34 -05:00
  • 536bdd2107 updating fixtures -- all tests now pass -- back to master Jeremy Ashkenas 2010-01-03 18:49:00 -05:00
  • d53d85d03e updating fixtures -- all tests now pass -- back to master Jeremy Ashkenas 2010-01-03 18:49:00 -05:00
  • 0093455d29 logic error in Expressions was causing over-compilation by a factor of the depth of the tree Jeremy Ashkenas 2010-01-03 18:47:23 -05:00
  • 8e6486a1d7 logic error in Expressions was causing over-compilation by a factor of the depth of the tree Jeremy Ashkenas 2010-01-03 18:47:23 -05:00
  • 67d34ec40b fixing comment-within-objecta-and-array-literal printing for the new expression regime. Jeremy Ashkenas 2010-01-03 18:35:03 -05:00
  • 97f16c0e9c fixing comment-within-objecta-and-array-literal printing for the new expression regime. Jeremy Ashkenas 2010-01-03 18:35:03 -05:00
  • d8603dbff2 change lexical scoping example to use var names that haven't been already defined Jeremy Ashkenas 2010-01-03 18:27:26 -05:00
  • bd2597c6b8 change lexical scoping example to use var names that haven't been already defined Jeremy Ashkenas 2010-01-03 18:27:26 -05:00
  • 6b6cb3ab12 subtle call order bug was preventing variable declarations Jeremy Ashkenas 2010-01-03 18:22:10 -05:00
  • 56015bd23f subtle call order bug was preventing variable declarations Jeremy Ashkenas 2010-01-03 18:22:10 -05:00
  • 10f53bac15 lowering the precedence of if/else/while Jeremy Ashkenas 2010-01-03 18:11:53 -05:00
  • 3724778989 lowering the precedence of if/else/while Jeremy Ashkenas 2010-01-03 18:11:53 -05:00
  • 15f12423c3 removing the silly newlines from comments Jeremy Ashkenas 2010-01-03 18:07:03 -05:00
  • bb0dfa5cd4 removing the silly newlines from comments Jeremy Ashkenas 2010-01-03 18:07:03 -05:00
  • 885dbaf7e4 beautiful -- all examples, tests, and docs are now compiling without JSLint warnings Jeremy Ashkenas 2010-01-03 16:32:59 -05:00
  • 6160fe3c17 beautiful -- all examples, tests, and docs are now compiling without JSLint warnings Jeremy Ashkenas 2010-01-03 16:32:59 -05:00
  • 0d0df09c6d All execution tests are now passing with statements everywhere Jeremy Ashkenas 2010-01-03 15:59:33 -05:00
  • 099944e0aa All execution tests are now passing with statements everywhere Jeremy Ashkenas 2010-01-03 15:59:33 -05:00
  • 7df7ff26c8 more progress -- you can wrap parentheses around statements now Jeremy Ashkenas 2010-01-03 15:13:59 -05:00
  • 4814d5baa5 more progress -- you can wrap parentheses around statements now Jeremy Ashkenas 2010-01-03 15:13:59 -05:00
  • 841258b360 first rough rough rough draft of kamatsu's closure suggestion -- test.coffee runs, but probably nothing else Jeremy Ashkenas 2010-01-03 13:59:17 -05:00
  • 78c4957ba8 first rough rough rough draft of kamatsu's closure suggestion -- test.coffee runs, but probably nothing else Jeremy Ashkenas 2010-01-03 13:59:17 -05:00
  • f715393b06 bumping version numbers to 0.2.0 in anticipation of release soon-ish Jeremy Ashkenas 2010-01-03 11:01:50 -05:00
  • de4eddcad4 bumping version numbers to 0.2.0 in anticipation of release soon-ish Jeremy Ashkenas 2010-01-03 11:01:50 -05:00
  • abfe3c35f8 adding a block test and using PARAM_SPLAT to remove the last shift/reduce conflict Jeremy Ashkenas 2010-01-03 10:46:37 -05:00
  • ba3c5298f7 adding a block test and using PARAM_SPLAT to remove the last shift/reduce conflict Jeremy Ashkenas 2010-01-03 10:46:37 -05:00
  • 8517455746 Adding kamatsu's proposed block literal syntax Jeremy Ashkenas 2010-01-03 10:19:39 -05:00
  • 21a0cc83ae Adding kamatsu's proposed block literal syntax Jeremy Ashkenas 2010-01-03 10:19:39 -05:00
  • 0e86fa534e todo Jeremy Ashkenas 2010-01-02 01:00:03 -05:00
  • 7eff8786bc todo Jeremy Ashkenas 2010-01-02 01:00:03 -05:00
  • 1dbf257df7 adding splice literals, with tests Jeremy Ashkenas 2010-01-02 00:20:24 -05:00
  • 7ee5be674d adding splice literals, with tests Jeremy Ashkenas 2010-01-02 00:20:24 -05:00