Jeremy Ashkenas
|
cfa357cbc3
|
CoffeeScript 0.2.3, with 'of', not 'ino'
|
2010-01-11 00:01:16 -05:00 |
|
Jeremy Ashkenas
|
9d8668f37f
|
added a whole slew of nice Potion examples from the pamphlet -- CoffeeScript stacks up pretty well.
|
2010-01-10 23:27:57 -05:00 |
|
Jeremy Ashkenas
|
3e987de4a8
|
rebuilding underscore.coffee docs, adding a build task -- need to remember to copy over nicer headers
|
2010-01-10 17:23:07 -05:00 |
|
Jeremy Ashkenas
|
ad18378f7e
|
adding '::' as shorthand for '.prototype.'
|
2010-01-10 16:16:59 -05:00 |
|
Jeremy Ashkenas
|
902febb43a
|
big commit -- adding back object comprehensions, using 'ino', versus 'in' for array comprehensions, fixing bug with dollar signs in identifiers
|
2010-01-10 15:52:23 -05:00 |
|
Jeremy Ashkenas
|
ae58e2ec6c
|
adding body-less while expressions
|
2010-01-09 11:51:32 -05:00 |
|
Jeremy Ashkenas
|
ae603749be
|
adding the complete underscore.coffee example to the docs
|
2010-01-04 22:51:02 -05:00 |
|
Jeremy Ashkenas
|
5efaff506c
|
more underscore
|
2010-01-04 01:43:45 -05:00 |
|
Jeremy Ashkenas
|
94bc7c1f92
|
putting in a special check for returns within array comprehensions -- not very nice
|
2010-01-04 01:06:31 -05:00 |
|
Jeremy Ashkenas
|
f75d98e447
|
pretty amazing -- fully functional draft of underscore.js 0.5.2, all in CoffeeScript
|
2010-01-04 00:28:52 -05:00 |
|
Jeremy Ashkenas
|
69283fcadd
|
fixing a nasty little bug with not dup'ing a string in Scope.rb, causing later functions to start their free_variables where previous functions left off, because they shared their ancestor's @temp_variable string
|
2010-01-04 00:16:38 -05:00 |
|
Jeremy Ashkenas
|
672dd70bdb
|
more underscore examples raised a slight bug with a lexing ambiguity between leading whens (in switches), and trailing whens (in comprehensions) -- made two different tokens to distinguish them
|
2010-01-03 22:25:38 -05:00 |
|
Jeremy Ashkenas
|
bd2597c6b8
|
change lexical scoping example to use var names that haven't been already defined
|
2010-01-03 18:27:26 -05:00 |
|
Jeremy Ashkenas
|
34add7d7bf
|
adding consistent highlighting to variable assignment, whether functions or values
|
2010-01-01 17:11:48 -05:00 |
|
Jeremy Ashkenas
|
8762162dff
|
adding proper auto-newline escaping
|
2009-12-30 22:49:25 -05:00 |
|
Jeremy Ashkenas
|
dba8439425
|
the underscore example parses now -- added line number information to parenthetical nodes
|
2009-12-30 21:44:51 -05:00 |
|
Jeremy Ashkenas
|
bbbfd92373
|
more fiddling with the lexer -- the indentation is super fragile
|
2009-12-30 21:15:54 -05:00 |
|
Jeremy Ashkenas
|
fd83759ef4
|
more fiddling with the lexer -- the indentation is super fragile
|
2009-12-30 21:11:54 -05:00 |
|
Jeremy Ashkenas
|
c8711b419e
|
fixed up the comment/assignment interleaving in nodes.rb
|
2009-12-30 20:24:24 -05:00 |
|
Jeremy Ashkenas
|
cd68f02981
|
big milestone. examples/code.coffee now compiles correctly under the new whitespace regime
|
2009-12-30 18:59:33 -05:00 |
|
Jeremy Ashkenas
|
ed1c1f7a0e
|
fixing up documents example
|
2009-12-30 18:28:16 -05:00 |
|
Jeremy Ashkenas
|
5659d1bd49
|
adding ')' as a SINGLE_CLOSER, although it's probably unsafe
|
2009-12-30 18:09:43 -05:00 |
|
Jeremy Ashkenas
|
bb84a982ce
|
merging in master
|
2009-12-28 20:06:23 -05:00 |
|
Jeremy Ashkenas
|
55e736cb27
|
more underscore examples
|
2009-12-27 11:01:19 -08:00 |
|
Jeremy Ashkenas
|
3ee4e98ccc
|
more underscore and bugfix edits to code generation
|
2009-12-26 22:24:21 -08:00 |
|
Jeremy Ashkenas
|
d7dd18b476
|
more underscore, and removing custom_assign and return from conditional compilation
|
2009-12-26 21:55:56 -08:00 |
|
Jeremy Ashkenas
|
5bed5646be
|
merging in master
|
2009-12-26 09:59:06 -08:00 |
|
Jeremy Ashkenas
|
1ba7c77136
|
reorganizing test fixtures and adding range literals for array slices
|
2009-12-25 16:20:28 -08:00 |
|
Jeremy Ashkenas
|
d46bf8ee71
|
moved the coffeescript extension over from .cs to .coffee -- let's leave C# in peace. Changed array comprehensions to always return their mapped result, even when unassigned
|
2009-12-25 14:18:05 -08:00 |
|
Jeremy Ashkenas
|
e494d520ea
|
stopped using __proto__, instead, using a variant of goog.inherits for extends and super()
|
2009-12-25 13:57:47 -08:00 |
|
Jeremy Ashkenas
|
55bf0a2c61
|
going back to familiar operators +: is just too strange
|
2009-12-25 07:31:51 -08:00 |
|
Jeremy Ashkenas
|
beae912a91
|
making all assignment-y operators use a colon -- now it's +: -: *: /:, and friends
|
2009-12-24 22:25:29 -08:00 |
|
Jeremy Ashkenas
|
985e0a080b
|
trading aint for isnt -- let's be serious
|
2009-12-24 17:21:20 -08:00 |
|
Jeremy Ashkenas
|
1c83e68292
|
got extends back in the language -- use it together with super
|
2009-12-24 16:49:23 -08:00 |
|
Jeremy Ashkenas
|
c3ff752c40
|
...
|
2009-12-24 15:05:14 -08:00 |
|
Jeremy Ashkenas
|
da84906d1e
|
this might not work for ))) outdent cases
|
2009-12-24 14:34:48 -08:00 |
|
Jeremy Ashkenas
|
aafd3cd6ea
|
first, totally broken branch of significant whitespace -- it can handle examples/whitespace.cs though
|
2009-12-24 13:48:46 -08:00 |
|
Jeremy Ashkenas
|
8d76f4bd3f
|
changing switch/case to switch/when -- it's a better word
|
2009-12-24 01:33:59 -08:00 |
|
Jeremy Ashkenas
|
b1f3ad24a2
|
added git st with the new operator regex
|
2009-12-24 00:37:33 -05:00 |
|
Jeremy Ashkenas
|
2b94849429
|
ported over a little more underscore
|
2009-12-23 21:09:32 -05:00 |
|
Jeremy Ashkenas
|
eae53d4787
|
added the ! sign as an allowed operator
|
2009-12-23 21:00:04 -05:00 |
|
Jeremy Ashkenas
|
60eabf63cf
|
broken waypoint, but fixed line numbers with the new JS comments
|
2009-12-23 19:42:18 -05:00 |
|
Jeremy Ashkenas
|
e916d4648d
|
removed all traces of 'extends' -- it's not any shorter or more convenient than just setting the prototype
|
2009-12-22 12:08:29 -05:00 |
|
Jeremy Ashkenas
|
9b8f018646
|
nice -- it's pushing down assignments properly (recursively) now
|
2009-12-22 10:16:53 -05:00 |
|
Jeremy Ashkenas
|
c7fa9c320a
|
documentation waypoint
|
2009-12-21 11:41:45 -05:00 |
|
Jeremy Ashkenas
|
ad3b887df4
|
lots of tweaks make the tests pass again
|
2009-12-18 23:13:59 -05:00 |
|
Jeremy Ashkenas
|
6f81ac3684
|
patched up array comprehensions somewhat. Parens are still a necessary evil, and there's still probably plenty of edge cases
|
2009-12-18 22:30:09 -05:00 |
|
Jeremy Ashkenas
|
2f75854a61
|
little fixes more examples
|
2009-12-18 09:55:31 -05:00 |
|
Jeremy Ashkenas
|
049358d006
|
after a lot of grammar wrestling, got the if-else chains to parse unambiguously. Now you only need a single period to close chains of any length.
|
2009-12-18 00:49:23 -05:00 |
|
Jeremy Ashkenas
|
68bc68c1ac
|
many more comments, plus a fix for inner-assignment indentation
|
2009-12-17 22:13:29 -05:00 |
|