Jeremy Ashkenas
|
f9b028b78c
|
__extend back to __extends, as is the correct name.
|
2010-03-30 20:15:51 -04:00 |
|
Jeremy Ashkenas
|
572aa4e98f
|
reverting the grammar to the pre-slice notation.
|
2010-03-30 20:11:40 -04:00 |
|
Jeremy Ashkenas
|
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.
|
2010-03-30 20:06:44 -04:00 |
|
Jeremy Ashkenas
|
998a7c8cb0
|
more cleanups, added a utility helper function to the codegen
|
2010-03-30 19:48:37 -04:00 |
|
Jeremy Ashkenas
|
6d7a04228f
|
another reshuffle ... removed utilities.coffee entirely.
|
2010-03-30 19:42:09 -04:00 |
|
Jeremy Ashkenas
|
4a8c2e8a13
|
more refactors to utilities ... removing dependencies and the namespacing
|
2010-03-30 19:27:38 -04:00 |
|
Jeremy Ashkenas
|
f3a60edc5d
|
simplifying the lookup of the top-level scope object
|
2010-03-30 19:21:14 -04:00 |
|
Jeremy Ashkenas
|
1e1146d61d
|
more utility simplifications
|
2010-03-30 19:17:40 -04:00 |
|
Jeremy Ashkenas
|
832e1d8cb8
|
Utilities doesn't need to be a class, and removing __utilities.keys
|
2010-03-30 19:00:59 -04:00 |
|
Jeremy Ashkenas
|
4936211a9c
|
modified shorter imlementation of bind
|
2010-03-30 18:49:55 -04:00 |
|
Jeremy Ashkenas
|
f0d731009f
|
merged matehat's utility branch, arraySlice -> slice, removed dead dependency...
|
2010-03-30 18:27:53 -04:00 |
|
Jeremy Ashkenas
|
a6248d03e5
|
Merge branch 'slice' of git://github.com/matehat/coffee-script
|
2010-03-30 18:19:41 -04:00 |
|
Jeremy Ashkenas
|
a934cf4947
|
make JSLint happy about the while condition
|
2010-03-30 18:19:09 -04:00 |
|
matehat
|
c498b7090e
|
Removed __splice in the same manner
|
2010-03-30 18:14:51 -04:00 |
|
matehat
|
ca9e45e8af
|
Removed the __slice method, in favor of the native array slice method
|
2010-03-30 17:57:23 -04:00 |
|
matehat
|
97096696a2
|
Put back every utility functions on the global scope, automatically prefixed with __ and set them dynamically as reserved on the lexer.
|
2010-03-30 16:48:43 -04:00 |
|
matehat
|
27fb3763b4
|
A set of improvements on previous code
|
2010-03-30 16:14:07 -04:00 |
|
matehat
|
da43c70488
|
Merged in StanAngeloff excellent slice branch, applying recent factoring of utility functions
|
2010-03-30 15:43:30 -04:00 |
|
Stan Angeloff
|
76ade0cb4d
|
Removing vendor specific files for measurement tests.
|
2010-03-30 14:33:57 -04:00 |
|
Stan Angeloff
|
09e1526bca
|
Removing commented code in compile_splice -- this is working correctly now.
|
2010-03-30 14:33:57 -04:00 |
|
Stan Angeloff
|
7d1fbeb708
|
Re-compiling the core using the new __slice and __splice functions.
|
2010-03-30 14:32:37 -04:00 |
|
Stan Angeloff
|
15217c705e
|
Allowing for negative indices in slice literals.
|
2010-03-30 14:30:15 -04:00 |
|
matehat
|
9f108e87eb
|
Removed unused __hasProp assignment and declared Coffeescript a reserved name
|
2010-03-30 11:20:53 -04:00 |
|
matehat
|
1e786d6d8b
|
Removed unnecessary check
|
2010-03-30 10:58:21 -04:00 |
|
matehat
|
0557eb9b93
|
Removed hard-coding of utility object name
|
2010-03-30 09:08:16 -04:00 |
|
matehat
|
241f6f3068
|
Applied the utility factoring into a "Coffeescript" object to the core. All tests pass fast.
|
2010-03-30 09:02:51 -04:00 |
|
Jeremy Ashkenas
|
326656245a
|
using the new static properties of class definitions in the CoffeeScript compiler -- it's hardly used.
|
2010-03-29 21:49:20 -04:00 |
|
Jeremy Ashkenas
|
177ec92c39
|
adding class methods to class definition syntax, using '@'
|
2010-03-29 21:43:12 -04:00 |
|
Jeremy Ashkenas
|
711dacae5f
|
more little documentation for the rewriter ... moving along
|
2010-03-29 21:22:12 -04:00 |
|
Jeremy Ashkenas
|
c19183118e
|
removing a case from Rewriter#add_implicit_parentheses that apparently never happens...
|
2010-03-29 20:52:22 -04:00 |
|
Jeremy Ashkenas
|
0af132d0c6
|
update internal documentation ... it's been a while
|
2010-03-29 20:48:41 -04:00 |
|
Jeremy Ashkenas
|
83c0e77ca8
|
making the Rewriter's add_implicit_calls more sensitive of parenthetical arguments.
|
2010-03-28 17:12:30 -04:00 |
|
Jeremy Ashkenas
|
1e315b5a33
|
fixing single-line implicit call wrapped around function with trailing arguments
|
2010-03-28 16:44:41 -04:00 |
|
Tim Jones
|
6e0e0767f9
|
Removed unprocessed values on a for loop from the grammar.
|
2010-03-29 07:32:01 +13:00 |
|
Tim Jones
|
6df50399a9
|
Restricted class and extends values to simple assignments.
|
2010-03-29 06:14:35 +13:00 |
|
Tim Jones
|
7b9a8998cf
|
Addressing some assignment issues.
|
2010-03-29 06:06:16 +13:00 |
|
Jeremy Ashkenas
|
7de5253318
|
removing unused reserved variable 'source var' from range comprehensions
|
2010-03-27 16:04:47 -04:00 |
|
Jeremy Ashkenas
|
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."
This reverts commit 7ee10e06be.
|
2010-03-27 15:25:34 -04:00 |
|
Jeremy Ashkenas
|
4dd40034ed
|
Revert "removing the special case for | or"
This reverts commit 9763839ed1.
|
2010-03-27 15:25:27 -04:00 |
|
Jeremy Ashkenas
|
030476d335
|
Revert "typo for @compile_bitwise_or"
This reverts commit 45aae5e322.
|
2010-03-27 15:25:19 -04:00 |
|
Jeremy Ashkenas
|
45aae5e322
|
typo for @compile_bitwise_or
|
2010-03-27 12:13:24 -04:00 |
|
Jeremy Ashkenas
|
9763839ed1
|
removing the special case for | or
|
2010-03-27 10:28:08 -04:00 |
|
Stan Angeloff
|
7ee10e06be
|
Added Unix-like piping. Allows chaining of function calls where every succeeding call receives as first argument the result of all preceding expressions.
|
2010-03-27 15:49:33 +02:00 |
|
matehat
|
8f3ea1d0c5
|
Fixed a small bug that happened when having a trailing comma in multiline array and object literals
|
2010-03-26 14:11:34 -04:00 |
|
matehat
|
b9b87f7d8e
|
Minor modifications to the grammar to allow a single trailing comma for function call arguments, array literal and object literals. Adjusted tests accordingly
|
2010-03-26 11:44:25 -04:00 |
|
Chris Lloyd
|
c9b6e82e2c
|
Optional sentence descriptions for cake tasks.
|
2010-03-26 20:25:17 +11:00 |
|
Jeremy Ashkenas
|
c8f969b4a2
|
adding a test case for the explicit returns
|
2010-03-25 18:54:17 -04:00 |
|
Jeremy Ashkenas
|
ecd1c77f48
|
fixing explicit returns of comprehensions (and probably other things as well)
|
2010-03-25 18:51:24 -04:00 |
|
Jeremy Ashkenas
|
ad93d2fe4d
|
added another language extension test for a << b into a.push(b)
|
2010-03-23 20:42:40 -04:00 |
|
Jeremy Ashkenas
|
5a4d401582
|
make sure that the source-hacking docs mention to 'git checkout lib'
|
2010-03-23 00:25:37 -04:00 |
|