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 |
|
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
|
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
|
c19183118e
|
removing a case from Rewriter#add_implicit_parentheses that apparently never happens...
|
2010-03-29 20:52:22 -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 |
|
Jeremy Ashkenas
|
ecd1c77f48
|
fixing explicit returns of comprehensions (and probably other things as well)
|
2010-03-25 18:51:24 -04:00 |
|
Jeremy Ashkenas
|
590c069158
|
CoffeeScript 0.5.6
|
2010-03-23 00:18:50 -04:00 |
|
matehat
|
74bcd898e7
|
improving readability a bit
|
2010-03-22 02:02:04 -04:00 |
|
matehat
|
296808d4d3
|
Added splats positional flexibility to pattern matching
|
2010-03-22 01:52:47 -04:00 |
|
Jeremy Ashkenas
|
cbfe7f5822
|
fix and tests for half assignments... whew.
|
2010-03-21 23:24:24 -04:00 |
|
Jeremy Ashkenas
|
895cd88761
|
almost there with half-assignments
|
2010-03-21 23:06:04 -04:00 |
|
Jeremy Ashkenas
|
f2ea18b0ba
|
removing AND OR NOT IS ISNT from the grammar
|
2010-03-21 22:07:46 -04:00 |
|
Jeremy Ashkenas
|
162f6b9d5c
|
one step at a time
|
2010-03-21 22:05:49 -04:00 |
|
Jeremy Ashkenas
|
4f8ae3ccbe
|
one more step
|
2010-03-21 21:46:53 -04:00 |
|
Jeremy Ashkenas
|
acd9be3863
|
one step further
|
2010-03-21 21:46:06 -04:00 |
|
Jeremy Ashkenas
|
ddf18ae34c
|
nothing much
|
2010-03-21 21:26:12 -04:00 |
|
Jeremy Ashkenas
|
80230414a2
|
merging in gfxmonk's major refactor to the way that returns are pushed down into the interior of expressions
|
2010-03-21 11:28:05 -04:00 |
|
Jeremy Ashkenas
|
4ec79732f1
|
merging gfxmonk's cleanups
|
2010-03-21 10:11:02 -04:00 |
|