Commit Graph

  • b18d7fb550 removing the last traces of half-assignments. Issue #541. Jeremy Ashkenas 2010-07-29 21:23:49 -04:00
  • 980a663c19 ported and regenerated examples. Jeremy Ashkenas 2010-07-29 00:51:35 -04:00
  • 65c107fc5d finished porting over the examples. Jeremy Ashkenas 2010-07-29 00:17:48 -04:00
  • da6ea27454 most of the examples converted to symbology. Jeremy Ashkenas 2010-07-29 00:03:42 -04:00
  • 58a5d93214 adding a test for Issue #550. Jeremy Ashkenas 2010-07-28 20:43:39 -04:00
  • 5b848fbc47 Merge branch 'master' of git://github.com/Tesco/coffee-script Jeremy Ashkenas 2010-07-28 20:39:25 -04:00
  • 8522a11bcb getting the whole codebase passing jslint again. Jeremy Ashkenas 2010-07-28 20:38:16 -04:00
  • d944f81163 Prevented parameter contents from causing unexpected returns in the body. Timothy Jones 2010-07-29 12:35:59 +12:00
  • c67e7fbcea moving nodes.coffee over to use Tesco's new auto-setter style. Jeremy Ashkenas 2010-07-28 19:34:02 -04:00
  • a80d8d55c4 merging tesco's branch for issue #535 Jeremy Ashkenas 2010-07-28 07:34:28 -04:00
  • 9026069f79 Support for @-prefixed splats. Timothy Jones 2010-07-28 18:17:50 +12:00
  • c9421cbfcd Implement @-prefixed parameters. Timothy Jones 2010-07-28 17:54:36 +12:00
  • 5399b989c0 Removing now unnecessary braces from the grammar. Still compiles to identical JS. Jeremy Ashkenas 2010-07-28 00:35:57 -04:00
  • 9d1fd38b69 removing extraneous tempvar declarations from range generation by re-ordering... Jeremy Ashkenas 2010-07-27 23:39:28 -04:00
  • a4156b71fa fixing broken range literal expansions. Jeremy Ashkenas 2010-07-27 23:06:11 -04:00
  • fa4871574a one more range literal expansion test Jeremy Ashkenas 2010-07-27 23:02:26 -04:00
  • a59df2cf74 merged in evilpie's fix for faster small range comprehensions Jeremy Ashkenas 2010-07-27 23:00:26 -04:00
  • 051a863ff5 adding slightly optimized syntax for range comprehensions that could care less about the index variable. Issue #547 Jeremy Ashkenas 2010-07-27 22:38:38 -04:00
  • 8d544ce80b Adding anonymous class support (gets a temporary variable for a name.) Issue #548 Jeremy Ashkenas 2010-07-27 22:05:55 -04:00
  • cc7b0f2e8f Allowing classes to be better decorated with implicit calls. Issue #548 Jeremy Ashkenas 2010-07-27 07:03:44 -04:00
  • b4ef4a9e28 make the compiler use 'obj = or default' for default values. Jeremy Ashkenas 2010-07-26 23:58:06 -04:00
  • 9be1453886 bringing back half assignments, but just for 'a = or b' and 'a = and b' Jeremy Ashkenas 2010-07-26 23:53:03 -04:00
  • 89cd25ab15 finished moving over string and regex interpolation to use '#' instead of '$', Issue #544 Jeremy Ashkenas 2010-07-26 23:31:55 -04:00
  • d624310be1 waypoint commit with both # and $ performing interpolation. Issue #544 Jeremy Ashkenas 2010-07-26 23:08:09 -04:00
  • 9c8a22832c merging in symbology Jeremy Ashkenas 2010-07-26 22:08:09 -04:00
  • 55a0e1d2ff making inline implicit objects more flexible ... can be used with trailing blocks. Jeremy Ashkenas 2010-07-26 21:39:43 -04:00
  • e638de5c7c a couple more implicit objects in the source. Jeremy Ashkenas 2010-07-26 20:54:07 -04:00
  • 0aa36899a8 fixing test for {} + {} Jeremy Ashkenas 2010-07-26 07:40:18 -04:00
  • ac2f814eb4 fixing issue 542. Parse error with leading object literal as part of operation. Jeremy Ashkenas 2010-07-25 20:59:28 -07:00
  • 27e5c42023 fixing some implicit object parses for issue #541 Jeremy Ashkenas 2010-07-25 17:46:08 -07:00
  • 6b0418a74a merging master changes into symbology Jeremy Ashkenas 2010-07-25 00:15:12 -07:00
  • a0b2b78962 adding nice support for fancy implicit hashes Jeremy Ashkenas 2010-07-24 23:52:02 -07:00
  • d1ffffab04 Using an experimental version of new optional-brace object literals. Jeremy Ashkenas 2010-07-24 23:42:37 -07:00
  • f9dff6ffc4 added and= and or= to the language. Jeremy Ashkenas 2010-07-24 22:36:50 -07:00
  • 88847df70b tests are now passing on symbology Jeremy Ashkenas 2010-07-24 22:23:37 -07:00
  • 492ee57b8f finished basic port to equality of the compiler Jeremy Ashkenas 2010-07-24 21:36:21 -07:00
  • 5c85bf22bb converted nodes.coffee. a big step Jeremy Ashkenas 2010-07-24 18:21:25 -07:00
  • 527af3b69f simplfy generated code for static ranges Tom 2010-07-25 00:49:15 +02:00
  • 6b6beb588c optimizing the output of compiled splat arguments. Jeremy Ashkenas 2010-07-24 12:40:36 -07:00
  • dc1288d319 slightly optimizing return values of AssignNodes. Issue #539 Jeremy Ashkenas 2010-07-24 12:27:11 -07:00
  • 87226b6f44 fixing bound functions with an __bind helper. Jeremy Ashkenas 2010-07-24 12:12:26 -07:00
  • 3b6f020f8a Making the spacing of symbols on function declaration consistent. No-space when single-line. Spaced when block. (StanAngeloff) Jeremy Ashkenas 2010-07-24 08:31:43 -07:00
  • 93d77e2354 _this to __this, for consistency. (StanAngeloff) Jeremy Ashkenas 2010-07-24 08:11:42 -07:00
  • 85ed376748 adding correct semicolons to bound functions Jeremy Ashkenas 2010-07-24 00:45:00 -07:00
  • bfc7704ca1 first bit of equals for symbology ... barely started on lexer.coffee Jeremy Ashkenas 2010-07-24 00:31:04 -07:00
  • e41abe2d83 Changing implementation of bound functions to mirror sethaurus' suggestion for cleaner output. Issue #530. Tests pass. Jeremy Ashkenas 2010-07-23 22:34:56 -07:00
  • de9fb7777b fixing If/else-to-ternary with instanceof as an unparenthesized condition. JS operator precedence. Jeremy Ashkenas 2010-07-23 20:44:56 -07:00
  • 24a5adc898 updating package.json to work better with NPM. Issue #522 Jeremy Ashkenas 2010-07-23 11:06:17 -07:00
  • 0a3f6c49f8 updating documentation with correct variable names. Jeremy Ashkenas 2010-07-23 09:34:54 -07:00
  • 8262070f5c fixing extra spaces in nested empty functions. Issue #527 Jeremy Ashkenas 2010-07-22 14:08:07 -07:00
  • 9c4164e7a3 removing unnecessary parens from the setup part of a range comprehension. Issue #528 Jeremy Ashkenas 2010-07-22 10:37:13 -07:00
  • 1dab47176b switching interpolateString's method signature to take on options hash. Jeremy Ashkenas 2010-07-22 09:38:26 -07:00
  • dfa50c90b3 Fixes Issue #525 -- String interpolation bug due to conflict with Heredoc interpolation. Jeremy Ashkenas 2010-07-21 15:45:25 -07:00
  • ff88482034 fixing regex-interpolation-sans-flags issue. Jeremy Ashkenas 2010-07-21 10:32:36 -07:00
  • 7e225688cb making the 'cake loc' task reflect the lines of code in the compiler only. Jeremy Ashkenas 2010-07-21 07:26:44 -07:00
  • 5678bf10fd class B extends A calls A.extended(B) Sam Stephenson 2010-07-18 14:22:07 -05:00
  • 989d539af3 adding no-argument super calls. Jeremy Ashkenas 2010-07-18 14:46:21 -04:00
  • d017a8f9f7 Moving from '.addListener' to '.on' for Node v0.1.101 Jeremy Ashkenas 2010-07-18 07:54:44 -04:00
  • 5a34f53689 enhancements to range comprehensions, back to being safe -- and usable downwards without a 'by' clause, and optimized when working with integer literals. Jeremy Ashkenas 2010-07-17 18:45:29 -04:00
  • 96f076983e Reserving __hasProp and friends, for safety's sake. Jeremy Ashkenas 2010-07-17 17:30:10 -04:00
  • a322b3ad68 renamed #strings sectiong to #heredocs Jeremy Ashkenas 2010-07-17 10:33:32 -04:00
  • 9814fc2e1c Updating documentation with endtime's suggestions. Jeremy Ashkenas 2010-07-17 10:28:06 -04:00
  • ec2d358ae3 updating docco to better reflect lack of explicit ternaries. Issue #510 Jeremy Ashkenas 2010-07-16 22:44:07 -04:00
  • 6c8eab7af5 michaelficarra's suggestion to make object comprehensions' hasOwnProperty check a continue, instead of a wrapped if. Jeremy Ashkenas 2010-07-16 22:31:36 -04:00
  • b810d10e80 Fixing Issue #506. existential chains should force parentheses in the presense of a compiled ternary operator. Jeremy Ashkenas 2010-07-15 21:38:35 -04:00
  • 72c4efbc39 adding a new comprehension 'for all key, value of object', which compiles to the naked JS for..in, including enumerable properties inherited from prototypes. Jeremy Ashkenas 2010-07-15 21:18:35 -04:00
  • 2a932597e4 fixing existential chains directly against a 'new Func()' call. Issue #503 Jeremy Ashkenas 2010-07-15 09:08:51 -04:00
  • 4eed514e37 Fixing (at least partially) Issue #502. Trailing block comment parse. Jeremy Ashkenas 2010-07-15 08:50:49 -04:00
  • 0337dc23c3 Fix for Issue number 501 ... Jeremy Ashkenas 2010-07-14 09:40:07 -04:00
  • 2b3b03c3c6 adding 0.7.2 changelog to the docco, as per request. Jeremy Ashkenas 2010-07-13 23:39:58 -04:00
  • 6a059bfab7 fixing issue #497 try/catch/finally all empty. Jeremy Ashkenas 2010-07-13 23:33:59 -04:00
  • 0b87387fab slightly nicer implementation of SplatNode.compileSplattedArray Jeremy Ashkenas 2010-07-13 22:16:19 -04:00
  • 8c34aff1c5 Fixing issue #495 ... options wasn't being passed down in ArrayNode#compileSplatLiteral Jeremy Ashkenas 2010-07-13 21:51:27 -04:00
  • cc827b139d Turning --compile on when --output is set, because it's probably what was intended. Jeremy Ashkenas 2010-07-13 21:04:32 -04:00
  • c6e1a96882 adding an instanceof test for constructors-called-with-splats Jeremy Ashkenas 2010-07-13 08:57:42 -04:00
  • c3410e722e (cosmetic) removing occasional extra linebreaks in JS generated from class definitions. Jeremy Ashkenas 2010-07-12 22:51:10 -04:00
  • 534e2a25de enabling a variable number of arguments to be passed to constructor functions. Jeremy Ashkenas 2010-07-12 22:42:21 -04:00
  • d2c820b5d7 removing sudo from the npm install script. Jeremy Ashkenas 2010-07-12 21:50:29 -04:00
  • ff7e729b84 bumping version to 0.7.2 for --options patch. 0.7.2 Jeremy Ashkenas 2010-07-12 08:17:26 -04:00
  • a21606e348 toFixed() seems to be non-portable. Trying a different number test. Jeremy Ashkenas 2010-07-11 20:39:54 -04:00
  • 4bd657160d fixing bug in option parsing with flagged arguments and cake. Jeremy Ashkenas 2010-07-11 17:55:22 -04:00
  • be8d812919 removing an errant mention of named functions. Jeremy Ashkenas 2010-07-11 10:44:33 -04:00
  • e40d25e4bd rebuilding docs and compressed version for CoffeeScript 0.7.1 0.7.1 Jeremy Ashkenas 2010-07-11 10:40:44 -04:00
  • 2a7a26482a fixing optparse to behave nicely in the presence of hashbangs -- stop parsing after the first non-option argument, and pass the rest along -- and adding an OptionParser test. Jeremy Ashkenas 2010-07-11 09:57:42 -04:00
  • 3d6cdfa636 making it possible to pass in command-line arguments to a hash-banged coffee script. Ticket #473 Jeremy Ashkenas 2010-07-10 15:36:54 -04:00
  • 15a2b7d69a Fixing issue number #486 (which is debatable). Allowing an unparenthesized if/else ternary as a trailing parameter to a call. Jeremy Ashkenas 2010-07-10 14:52:54 -04:00
  • 9ff8433f21 fixing previously-escaped-inner-quotes-in-double-quoted-heredoc-interpolations. Issue #479 Jeremy Ashkenas 2010-07-10 11:54:59 -04:00
  • 1c7d51a2c4 fixing issue #485, unary minus following an existential operator. Jeremy Ashkenas 2010-07-10 11:27:43 -04:00
  • 49020208f9 better printing for OpNodes with running with --nodes Jeremy Ashkenas 2010-07-10 11:17:44 -04:00
  • 6f32fe27f8 better formatting for top-level closured-values. Jeremy Ashkenas 2010-07-10 09:49:01 -04:00
  • 7a16db9ad3 fixing inline-loop object-in-array tests for instance variables. Issue #481 Jeremy Ashkenas 2010-07-10 09:01:22 -04:00
  • 2f8a29b5a0 fixing a comment/block-comment combination lexing regex issue. Ticket #478 Jeremy Ashkenas 2010-07-10 08:44:30 -04:00
  • 64b5ccc524 Fixes issue #477, missing global helpers in REPL. Jeremy Ashkenas 2010-07-09 01:01:31 -04:00
  • 4fc4edc7a0 adding wavded's gedit-coffeescript to the resources section of the docs Jeremy Ashkenas 2010-07-08 10:18:18 -04:00
  • 358edfb21f fixing return node squashing the possiblity of a ternary, when there should be one. Issue #475 Jeremy Ashkenas 2010-07-06 23:04:35 -04:00
  • 577daf5457 fixing herecomment/indentation bugaboo ... issue #474 Jeremy Ashkenas 2010-07-06 22:20:42 -04:00
  • afa3bb4191 added dsc's coffeecup to the resources section. Jeremy Ashkenas 2010-07-05 08:51:45 -04:00
  • e81810d845 fixing issue #427 -- incorrect stringification of reserved word Jeremy Ashkenas 2010-07-04 20:55:21 -04:00
  • c57ebffe6f fixing Lexer::OPERATOR regex for non-spaced + unary arithmetic. Issue #471 Jeremy Ashkenas 2010-07-04 13:29:22 -04:00
  • e281133f12 fixing empty catch clauses ... Issue #470 Jeremy Ashkenas 2010-07-04 12:50:04 -04:00