Commit Graph

  • 10442239f1 Revert "lexer: simplified tokenizers' responsibility" Jeremy Ashkenas 2010-10-22 08:13:40 -04:00
  • a9e95fa43b lexer: simplified tokenizers' responsibility satyr 2010-10-22 14:48:26 +09:00
  • c92fd79f35 normalizing loop declarations towards common JS practice. Jeremy Ashkenas 2010-10-21 21:51:06 -04:00
  • 0342b0a89f merging the range-killer to master Jeremy Ashkenas 2010-10-21 21:27:45 -04:00
  • 341de42692 removed extra parens around simple values satyr 2010-10-22 08:50:36 +09:00
  • f43ee4075d Removing empty parens from the grammar. Timothy Jones 2010-10-22 11:29:03 +13:00
  • 79148d2940 refactored loop variable caching satyr 2010-10-13 20:29:22 +09:00
  • bd10c2f828 implemented for-from-to and removed dotted ranges satyr 2010-10-13 13:53:56 +09:00
  • 2f7c076a50 fixed a bug where in malfunctioned in commaed lists satyr 2010-10-21 22:13:39 +09:00
  • 880c5c8083 Fixing destructor in magicked for. Also making destructors in range loops syntax errors. Timothy Jones 2010-10-22 00:34:51 +13:00
  • 7596e3a157 putting back arguments. Jeremy Ashkenas 2010-10-21 00:07:21 -04:00
  • cb9683a7fd fixed/removed broken/redundant tests satyr 2010-10-21 12:45:50 +09:00
  • 0d4d7e0880 indentation Jeremy Ashkenas 2010-10-20 23:16:46 -04:00
  • bb080130b9 tweaks to scope Jeremy Ashkenas 2010-10-20 23:09:06 -04:00
  • f229f791a9 Proper testing, this time. Timothy Jones 2010-10-21 14:37:58 +13:00
  • e694b41a94 Operators now respect new lines as being spaced. Timothy Jones 2010-10-21 14:27:25 +13:00
  • 31746ce692 made In node invertible satyr 2010-10-21 09:16:17 +09:00
  • 53fbfc7d15 removed extra parens from in/return compilations satyr 2010-10-21 07:19:08 +09:00
  • 78835073db removed extra parens from array/index compilations satyr 2010-10-21 06:00:52 +09:00
  • c11ca94870 removed extra parens from soak compilations satyr 2010-10-21 04:51:11 +09:00
  • c1dc74fc8b removed extra parens from compilations with assignments or conditional operators satyr 2010-10-21 02:29:06 +09:00
  • e2a6f292a2 nodes: refactored to reduce parens satyr 2010-10-20 19:53:41 +09:00
  • b0a4b7ab85 scope: refactored satyr 2010-10-20 17:13:43 +09:00
  • 8d6b909b93 Removing the utterly pointless splice in scope for the much more reasonable assignment. Timothy Jones 2010-10-20 19:51:53 +13:00
  • 303be86291 resolving merge conflict. Jeremy Ashkenas 2010-10-19 23:31:19 -04:00
  • 113d7ce98f let's try to merge these indexOf patches. Jeremy Ashkenas 2010-10-19 23:27:15 -04:00
  • 2c84f3ed1f removed helpers.{indexOf,include} in favor of in operator satyr 2010-10-20 11:04:38 +09:00
  • c1d24944dc inArray -> indexOf ... Jeremy Ashkenas 2010-10-19 23:06:51 -04:00
  • 35b6a70724 going back to the Closure Compiler. Jeremy Ashkenas 2010-10-19 21:59:13 -04:00
  • 54d9b283fa Merge branch 'master' of http://github.com/stephank/coffee-script Jeremy Ashkenas 2010-10-19 21:52:39 -04:00
  • 90a13bd791 compound assignments are now represented as Assign nodes (rather than Op) and have the same precedence as = satyr 2010-10-20 09:42:12 +09:00
  • 15cfe8ebf1 Restoring garbage collection. Timothy Jones 2010-10-20 12:58:59 +13:00
  • 8c4a48d9d0 Adjusting refactor to better emulate map. Timothy Jones 2010-10-20 12:51:34 +13:00
  • 8fff6e9baf Refactoring scope to use an array instead of an object, to make the IE bugfix significantly tidier. Timothy Jones 2010-10-20 12:36:50 +13:00
  • 7342058e64 Comment fix. Timothy Jones 2010-10-20 12:05:34 +13:00
  • 083fc61dfb Fixing IE DontEnum bug in Scope. Ignoring everywhere else. Timothy Jones 2010-10-20 12:02:38 +13:00
  • 502d444ebd Reversing evaluation order of __inArray to reflect the ordering of the in operator. Timothy Jones 2010-10-20 09:52:11 +13:00
  • c3582d4058 One character fix, for the sake of consistency. Timothy Jones 2010-10-20 08:57:23 +13:00
  • 37d9204ad9 Tidying inArray utility. Timothy Jones 2010-10-20 08:47:34 +13:00
  • a3500e807a Avoids unnecessary temporary in comprehensions with pure statements in them. Timothy Jones 2010-10-20 07:57:40 +13:00
  • 1442262376 Merge branch 'master' of http://github.com/TrevorBurnham/coffee-script into trevor Timothy Jones 2010-10-20 07:43:07 +13:00
  • 33ac70aec3 Whitespace fix for unstepPart (thanks, Tesco) Trevor Burnham 2010-10-19 14:24:38 -04:00
  • 5005cb606f Fixing inconsistencies for index variables Trevor Burnham 2010-10-19 14:09:16 -04:00
  • c458346593 In compileScripts, run base through path.join. Stéphan Kochen 2010-10-19 18:36:27 +02:00
  • c64e8d4b53 Added the __inArray helper to clean up code and speed up searches. Timothy Jones 2010-10-20 05:34:03 +13:00
  • e5dfa19ec9 Report errors when writing files in coffee. Stéphan Kochen 2010-10-19 18:30:29 +02:00
  • 0e395569ee Fixing #761. p -1 now translates to p(-1), not p - 1. Same with +. Timothy Jones 2010-10-20 04:52:07 +13:00
  • 262d796356 Merge branch 'master' of github.com:jashkenas/coffee-script Timothy Jones 2010-10-20 04:11:25 +13:00
  • cf5a086263 Removing accidental superfluous temp variables. Timothy Jones 2010-10-20 04:07:10 +13:00
  • d14ba6ac53 Fixed comprehension magic's scoping. Timothy Jones 2010-10-20 03:59:01 +13:00
  • 7b1902183c Just catch alls for inner scoping now. Timothy Jones 2010-10-20 03:53:38 +13:00
  • cb6be74851 Fixing for magic scoping issues. Small steps at a time. Timothy Jones 2010-10-20 02:51:52 +13:00
  • 9e03c66529 Merge branch 'master' of git://github.com/Tesco/coffee-script Jeremy Ashkenas 2010-10-19 09:13:41 -04:00
  • f6b190bb5a Merge branch 'master' of github.com:jashkenas/coffee-script Jeremy Ashkenas 2010-10-19 09:13:21 -04:00
  • 3f89fea65a fixing resig link Jeremy Ashkenas 2010-10-19 09:13:09 -04:00
  • c8b9c5a54e Fixing #774. Strict equality operator, which wasn't supported in the grammar anyway, is removed from the lexer. Timothy Jones 2010-10-19 20:56:55 +13:00
  • fd268a0479 Fixed #763. SimpleAssignables are now the only possible recepients of ++, -- and compound assignments. Timothy Jones 2010-10-19 20:48:39 +13:00
  • 648d6432eb Fixing #700. Block comment for constructor now appears above the constructor declaration. Timothy Jones 2010-10-19 20:39:58 +13:00
  • df46fb8c68 Fixing #600. JS statements that must be expressions but contain pure statements cause syntax errors. Timothy Jones 2010-10-19 20:02:21 +13:00
  • d9cd75c426 Fixing #773. Statements cannot be wrapped in parens (as in JS). Timothy Jones 2010-10-19 19:32:23 +13:00
  • 87560d943c lexer: made REGEX more efficient satyr 2010-10-18 07:43:29 +09:00
  • 8d0a0e8ab1 nodes: Value.unfoldSoak -> If.unfoldSoak satyr 2010-10-17 13:53:02 +09:00
  • 55794d9534 nodes: soaking Call now converts to If using the same logic as soaking Accessor satyr 2010-10-17 13:19:51 +09:00
  • 84dcd6fe2f Merge branch 'master' of github.com:jashkenas/coffee-script Jeremy Ashkenas 2010-10-14 17:17:42 -04:00
  • 88cc1ee35d 765: -b/--bare <- --no-wrap satyr 2010-10-14 04:09:56 +09:00
  • 6e89ad3401 test case for #768 Michael Ficarra 2010-10-13 12:12:24 -04:00
  • 1ea38d2f93 fixing #768, preserving execution order of in arguments when compiled to an or. Michael Ficarra 2010-10-13 12:10:36 -04:00
  • 1d4d7e96fa quit using sp?licing ranges satyr 2010-10-13 05:47:45 +09:00
  • 67eb966a75 stripped a line from __extends satyr 2010-10-13 04:57:11 +09:00
  • ceef24834c spelling tweak to index.html Daniel J. Pritchett 2010-10-12 14:54:02 -05:00
  • cb2a7f0820 simplified splatting new compilation satyr 2010-10-12 21:48:25 +09:00
  • 8f29574b16 764: made boolean/number/regex indexable satyr 2010-10-12 19:30:10 +09:00
  • c0ec479e60 browser: exposed require for debugging satyr 2010-10-12 17:10:39 +09:00
  • 54101a1c9b lexer: reorganized JS_KEYWORDS satyr 2010-10-12 16:23:28 +09:00
  • 43613498db Merge branch '542' satyr 2010-10-12 11:29:33 +09:00
  • ac841ca4e9 nodes: object literals are now parenthesized based on @tags.front (which indicates if the node leads an expression statement), fixing #542 satyr 2010-10-12 11:25:54 +09:00
  • 95d86758ee test.html: string_interpolation -> strings satyr 2010-10-12 10:34:31 +09:00
  • ed79715841 stripped out strings/regexes from test_literals; test_string_interpolation is now test_string satyr 2010-10-12 09:35:59 +09:00
  • b01d7db409 merged test_blocks into test_functions satyr 2010-10-12 08:54:36 +09:00
  • e5fe145f80 destructuring assignment no longer uses a temporary variable for simple LHS satyr 2010-10-11 09:17:31 +09:00
  • 2642fde0f8 merging in the browser test suite. Jeremy Ashkenas 2010-10-11 18:22:01 -04:00
  • f682bf642f followup to #717; made new => actually work satyr 2010-10-12 04:00:57 +09:00
  • 5ed69a5a58 added test.html that runs most of test/*.coffee in browsers satyr 2010-10-12 02:04:51 +09:00
  • a4b6b2464c merging in sstephenson's test:browser Jeremy Ashkenas 2010-10-11 16:55:17 -04:00
  • 4f89245570 NEXT_ELLPSIS.test Jeremy Ashkenas 2010-10-11 16:34:16 -04:00
  • 5236bb279d Remove the window hack in test:browser. Sam Stephenson 2010-10-11 12:27:05 -05:00
  • 967fec2ae5 Merge branch 'master' into newline-splat Sam Stephenson 2010-10-11 12:12:13 -05:00
  • d7052d09ff tweaking compileWithDeclarations Jeremy Ashkenas 2010-10-11 12:27:57 -04:00
  • acc06d772a Back four commits ... Fixing named function expressions -> function declarations for IE. (grumble grumble) Jeremy Ashkenas 2010-10-11 12:13:01 -04:00
  • f360fba47f Add test:browser task for running the test suite against the merged browser script. Sam Stephenson 2010-10-11 09:42:13 -05:00
  • de0b93381c switching to YUI compressor for the time being... ticket #575 Jeremy Ashkenas 2010-10-11 08:40:15 -04:00
  • 42d39d59dd rebuilding browser.js Jeremy Ashkenas 2010-10-11 08:13:59 -04:00
  • bfed78a996 rebuilding lexer Jeremy Ashkenas 2010-10-11 08:06:27 -04:00
  • 9c55bd59a1 fixed a bug where while condition was compiling as statement satyr 2010-10-11 20:29:08 +09:00
  • e89d7a7756 lexer: fixed a regression where assignmentError wasn't fired satyr 2010-10-11 19:10:30 +09:00
  • 41cd0c272b grouped TRUE/FALSE/NULL into BOOL satyr 2010-10-11 17:05:50 +09:00
  • 6506f6d99e grammar: removed extra arrays satyr 2010-10-11 16:06:29 +09:00
  • fffa01933d fixed misdentation in a?.b = c satyr 2010-10-11 12:31:54 +09:00
  • acafb1b53a nodes: no longer uses helpers.indexOf satyr 2010-10-11 09:40:41 +09:00
  • c437f0b14b made until less parenful as well satyr 2010-10-11 07:29:38 +09:00