Commit Graph

  • 9d2c81ea54 rebuilding the docs with new pygments, no errors on '@' Jeremy Ashkenas 2010-04-03 12:01:46 -04:00
  • 44765907b3 tiny tweak Jeremy Ashkenas 2010-04-03 11:16:49 -04:00
  • 4a85f3d499 cleaning up tests ... consolidation, consistency... Jeremy Ashkenas 2010-04-03 10:39:32 -04:00
  • f99b5ad463 Merging Tesco's invoking-this-fix Jeremy Ashkenas 2010-04-03 09:58:45 -04:00
  • 8fc631269b Added a rule to prevent invoking THIS. Tim Jones 2010-04-03 14:14:16 +13:00
  • a1975583a7 Added THIS to CALLABLE. Tim Jones 2010-04-03 13:58:21 +13:00
  • 1c628e7883 fixing parens-around-implicit-function-with-multiline-chained-chaser bug Jeremy Ashkenas 2010-04-01 23:38:20 -04:00
  • 3605168e85 fixing single evaluation of functions used in chained comparisons wrapped in parentheses. Jeremy Ashkenas 2010-03-31 22:48:47 -04:00
  • f86fca2739 merged tanob's fix for installing outside of /usr/local without a /bin Jeremy Ashkenas 2010-03-31 21:30:14 -04:00
  • 0410748e2d Merge remote branch 'upstream/master' Adriano Bonat 2010-03-31 22:14:26 -03:00
  • 2172878f21 When installing in different prefixes, prefix + '/bin' may not exist. Adriano Bonat 2010-03-31 09:38:05 -03:00
  • d3a51fbfa1 stylistics: removing a bunch of unecessary parentheses Jeremy Ashkenas 2010-03-31 00:17:49 -04:00
  • aae2405de4 removing all of the 'type' tags from the Nodes. Simply using constructor.name instead. Jeremy Ashkenas 2010-03-31 00:04:14 -04:00
  • 2b578367a9 rebuilding the source documentation with the new utility refactors Jeremy Ashkenas 2010-03-30 23:53:02 -04:00
  • f9b028b78c __extend back to __extends, as is the correct name. Jeremy Ashkenas 2010-03-30 20:15:51 -04:00
  • 572aa4e98f reverting the grammar to the pre-slice notation. Jeremy Ashkenas 2010-03-30 20:11:40 -04:00
  • 864275f07e removing __range, and all the slice behavior it enabled. If you can't do array[-1], then you shouldn't be able to do array[0..-1] -- it's just too inconsistent. Jeremy Ashkenas 2010-03-30 20:06:44 -04:00
  • 998a7c8cb0 more cleanups, added a utility helper function to the codegen Jeremy Ashkenas 2010-03-30 19:48:37 -04:00
  • 6d7a04228f another reshuffle ... removed utilities.coffee entirely. Jeremy Ashkenas 2010-03-30 19:42:09 -04:00
  • 4a8c2e8a13 more refactors to utilities ... removing dependencies and the namespacing Jeremy Ashkenas 2010-03-30 19:27:38 -04:00
  • f3a60edc5d simplifying the lookup of the top-level scope object Jeremy Ashkenas 2010-03-30 19:21:14 -04:00
  • 1e1146d61d more utility simplifications Jeremy Ashkenas 2010-03-30 19:17:40 -04:00
  • 832e1d8cb8 Utilities doesn't need to be a class, and removing __utilities.keys Jeremy Ashkenas 2010-03-30 19:00:59 -04:00
  • 4936211a9c modified shorter imlementation of bind Jeremy Ashkenas 2010-03-30 18:49:55 -04:00
  • f0d731009f merged matehat's utility branch, arraySlice -> slice, removed dead dependency... Jeremy Ashkenas 2010-03-30 18:27:53 -04:00
  • a6248d03e5 Merge branch 'slice' of git://github.com/matehat/coffee-script Jeremy Ashkenas 2010-03-30 18:19:41 -04:00
  • a934cf4947 make JSLint happy about the while condition Jeremy Ashkenas 2010-03-30 18:19:09 -04:00
  • c498b7090e Removed __splice in the same manner matehat 2010-03-30 18:14:51 -04:00
  • ca9e45e8af Removed the __slice method, in favor of the native array slice method matehat 2010-03-30 17:57:23 -04:00
  • 97096696a2 Put back every utility functions on the global scope, automatically prefixed with __ and set them dynamically as reserved on the lexer. matehat 2010-03-30 16:48:43 -04:00
  • 27fb3763b4 A set of improvements on previous code matehat 2010-03-30 16:14:07 -04:00
  • da43c70488 Merged in StanAngeloff excellent slice branch, applying recent factoring of utility functions matehat 2010-03-30 15:43:30 -04:00
  • 76ade0cb4d Removing vendor specific files for measurement tests. Stan Angeloff 2010-03-21 19:41:28 +02:00
  • 09e1526bca Removing commented code in compile_splice -- this is working correctly now. Stan Angeloff 2010-03-21 18:15:14 +02:00
  • 7d1fbeb708 Re-compiling the core using the new __slice and __splice functions. Stan Angeloff 2010-03-21 18:11:44 +02:00
  • 15217c705e Allowing for negative indices in slice literals. Stan Angeloff 2010-03-21 16:59:41 +02:00
  • 9f108e87eb Removed unused __hasProp assignment and declared Coffeescript a reserved name matehat 2010-03-30 11:20:53 -04:00
  • 1e786d6d8b Removed unnecessary check matehat 2010-03-30 10:58:21 -04:00
  • 0557eb9b93 Removed hard-coding of utility object name matehat 2010-03-30 09:08:16 -04:00
  • 241f6f3068 Applied the utility factoring into a "Coffeescript" object to the core. All tests pass fast. matehat 2010-03-30 09:02:51 -04:00
  • 326656245a using the new static properties of class definitions in the CoffeeScript compiler -- it's hardly used. Jeremy Ashkenas 2010-03-29 21:49:20 -04:00
  • 177ec92c39 adding class methods to class definition syntax, using '@' Jeremy Ashkenas 2010-03-29 21:43:12 -04:00
  • 711dacae5f more little documentation for the rewriter ... moving along Jeremy Ashkenas 2010-03-29 21:22:12 -04:00
  • c19183118e removing a case from Rewriter#add_implicit_parentheses that apparently never happens... Jeremy Ashkenas 2010-03-29 20:52:22 -04:00
  • 0af132d0c6 update internal documentation ... it's been a while Jeremy Ashkenas 2010-03-29 20:48:41 -04:00
  • 83c0e77ca8 making the Rewriter's add_implicit_calls more sensitive of parenthetical arguments. Jeremy Ashkenas 2010-03-28 17:12:30 -04:00
  • 1e315b5a33 fixing single-line implicit call wrapped around function with trailing arguments Jeremy Ashkenas 2010-03-28 16:44:41 -04:00
  • 6e0e0767f9 Removed unprocessed values on a for loop from the grammar. Tim Jones 2010-03-29 07:32:01 +13:00
  • 6df50399a9 Restricted class and extends values to simple assignments. Tim Jones 2010-03-29 06:14:35 +13:00
  • 7b9a8998cf Addressing some assignment issues. Tim Jones 2010-03-29 06:06:16 +13:00
  • 7de5253318 removing unused reserved variable 'source var' from range comprehensions Jeremy Ashkenas 2010-03-27 16:04:47 -04:00
  • eaf4a71d32 Revert "Added Unix-like piping. Allows chaining of function calls where every succeeding call receives as first argument the result of all preceding expressions." Jeremy Ashkenas 2010-03-27 15:25:34 -04:00
  • 4dd40034ed Revert "removing the special case for | or" Jeremy Ashkenas 2010-03-27 15:25:27 -04:00
  • 030476d335 Revert "typo for @compile_bitwise_or" Jeremy Ashkenas 2010-03-27 15:25:19 -04:00
  • 45aae5e322 typo for @compile_bitwise_or Jeremy Ashkenas 2010-03-27 12:13:24 -04:00
  • 9763839ed1 removing the special case for | or Jeremy Ashkenas 2010-03-27 10:28:08 -04:00
  • 7ee10e06be Added Unix-like piping. Allows chaining of function calls where every succeeding call receives as first argument the result of all preceding expressions. Stan Angeloff 2010-03-27 15:49:33 +02:00
  • 8f3ea1d0c5 Fixed a small bug that happened when having a trailing comma in multiline array and object literals matehat 2010-03-26 14:11:34 -04:00
  • b9b87f7d8e Minor modifications to the grammar to allow a single trailing comma for function call arguments, array literal and object literals. Adjusted tests accordingly matehat 2010-03-26 11:44:25 -04:00
  • c9b6e82e2c Optional sentence descriptions for cake tasks. Chris Lloyd 2010-03-26 20:25:17 +11:00
  • c8f969b4a2 adding a test case for the explicit returns Jeremy Ashkenas 2010-03-25 18:54:17 -04:00
  • ecd1c77f48 fixing explicit returns of comprehensions (and probably other things as well) Jeremy Ashkenas 2010-03-25 18:51:24 -04:00
  • ad93d2fe4d added another language extension test for a << b into a.push(b) Jeremy Ashkenas 2010-03-23 20:42:40 -04:00
  • 5a4d401582 make sure that the source-hacking docs mention to 'git checkout lib' Jeremy Ashkenas 2010-03-23 00:25:37 -04:00
  • 590c069158 CoffeeScript 0.5.6 0.5.6 Jeremy Ashkenas 2010-03-23 00:18:50 -04:00
  • 94185e3f70 Merge branch 'master' of git://github.com/matehat/coffee-script Jeremy Ashkenas 2010-03-22 23:20:05 -04:00
  • 9adcd16ec6 '=' -> ':' Jeremy Ashkenas 2010-03-22 18:48:41 -04:00
  • 74bcd898e7 improving readability a bit matehat 2010-03-22 02:02:04 -04:00
  • 296808d4d3 Added splats positional flexibility to pattern matching matehat 2010-03-22 01:52:47 -04:00
  • b7519cb834 switching a couple of the half_assignment tests to ensure that : and = are still interchangeable Jeremy Ashkenas 2010-03-21 23:46:58 -04:00
  • 7d6c050048 more half-assignment tests Jeremy Ashkenas 2010-03-21 23:39:05 -04:00
  • 16f9a2e6b7 rewriting the compiler to use half-expression assignment Jeremy Ashkenas 2010-03-21 23:33:24 -04:00
  • cbfe7f5822 fix and tests for half assignments... whew. Jeremy Ashkenas 2010-03-21 23:24:24 -04:00
  • 895cd88761 almost there with half-assignments Jeremy Ashkenas 2010-03-21 23:06:04 -04:00
  • f2ea18b0ba removing AND OR NOT IS ISNT from the grammar Jeremy Ashkenas 2010-03-21 22:07:46 -04:00
  • 162f6b9d5c one step at a time Jeremy Ashkenas 2010-03-21 22:05:49 -04:00
  • 4f8ae3ccbe one more step Jeremy Ashkenas 2010-03-21 21:46:53 -04:00
  • acd9be3863 one step further Jeremy Ashkenas 2010-03-21 21:46:06 -04:00
  • ddf18ae34c nothing much Jeremy Ashkenas 2010-03-21 21:26:12 -04:00
  • 0da61ec47e adding a couple of interchangeable tests Jeremy Ashkenas 2010-03-21 21:07:32 -04:00
  • 80230414a2 merging in gfxmonk's major refactor to the way that returns are pushed down into the interior of expressions Jeremy Ashkenas 2010-03-21 11:28:05 -04:00
  • ce7c0d176b briefer test runner output Jeremy Ashkenas 2010-03-21 10:18:23 -04:00
  • 4ec79732f1 merging gfxmonk's cleanups Jeremy Ashkenas 2010-03-21 10:11:02 -04:00
  • cc3c314988 Cleaned up return logic gfxmonk 2010-03-21 22:17:58 +11:00
  • 8553a89af2 improve feedback when running the test task gfxmonk 2010-03-21 19:59:33 +11:00
  • 566321d67a fixing infinite recursion when compiling if statements containing pure_statements Jeremy Ashkenas 2010-03-20 10:36:06 -04:00
  • a2778bf06d resolving issues with comments in the middle of unfinished single-line expressions. Jeremy Ashkenas 2010-03-20 00:58:25 -04:00
  • 29eff23490 renaming test_curry to test_bind Jeremy Ashkenas 2010-03-19 23:32:00 -04:00
  • 4ebaa82563 removing the CoffeeScript.run named function from eval'd script scope by making it anonymous Jeremy Ashkenas 2010-03-19 23:15:42 -04:00
  • 69911209ea adding a pattern-matching-on-expression test Jeremy Ashkenas 2010-03-19 22:48:55 -04:00
  • 92688c89ef merging in matehat's nice refactor to splats (in arrays and otherwise) Jeremy Ashkenas 2010-03-19 22:41:23 -04:00
  • fe04f8ce6b Added function call's flexibility with splats to array literals, factoring out splat compiling, and adjusted tests matehat 2010-03-18 09:27:13 -04:00
  • b72641693d fixing doubled semis Jeremy Ashkenas 2010-03-18 08:45:26 -04:00
  • 0c6ee52cfc merging in matehat's curry branch. cleaning some loose ends up. adding some tests. Jeremy Ashkenas 2010-03-18 00:42:26 -04:00
  • 1f87094628 Slightly altered syntax, similar to Underscore's Function#bind form, highly simplified lexing and parsing and no polluted scope. Passing tests included. matehat 2010-03-18 00:19:32 -04:00
  • 3b22018296 Applied the new splat flexibility to function currying operator matehat 2010-03-17 12:52:59 -04:00
  • 5be437deb9 Added some inline docs matehat 2010-03-17 03:20:06 -04:00
  • 8d098194dd Added the '<-' currying operator, as heavily discussed in #251, along with tests. matehat 2010-03-17 03:11:10 -04:00
  • 256525bfa2 Fixed a small bug about flexible splats that occured when the leading array was a literal matehat 2010-03-18 00:08:05 -04:00
  • 79e4f30f69 fixing a bug where the Lexer assumed that values would always be strings. Jeremy Ashkenas 2010-03-17 22:16:18 -04:00