Jeremy Ashkenas
|
c73a3ec356
|
updating webserver example for node API
|
2010-03-06 19:23:25 -05:00 |
|
Jeremy Ashkenas
|
30cf63ec92
|
updating Underscore.coffee to Underscore.js version 0.6.0
|
2010-02-28 15:12:18 -05:00 |
|
Jeremy Ashkenas
|
b5c9d779bd
|
updating the Lexer to use classes and some of the older documentation
|
2010-02-27 19:40:53 -05:00 |
|
Jason Huggins
|
6bc61ec1a1
|
Fixed web_server example to be compatible with Node v0.1.30
|
2010-02-25 17:42:05 -06:00 |
|
Jeremy Ashkenas
|
4d146bacb1
|
fixing throwing an error string in the Rewriter, when it should have been an Error object
|
2010-02-23 21:59:29 -05:00 |
|
Jeremy Ashkenas
|
495ca64c46
|
removing underscore as a dependency for nodes.coffee -- let's be minimal
|
2010-02-16 18:38:03 -05:00 |
|
Jeremy Ashkenas
|
ff8e0c9751
|
added hugs' webserver example
|
2010-02-14 23:20:53 -05:00 |
|
Jeremy Ashkenas
|
b983b3fcdc
|
moving Underscore.coffee from /examples to /src
|
2010-02-13 02:05:00 -05:00 |
|
Jeremy Ashkenas
|
89cac4071e
|
updating underscore.coffee to 0.5.8
|
2010-02-13 02:03:48 -05:00 |
|
Jeremy Ashkenas
|
7ec0a8d653
|
merging node into master -- you can now pass the --narwhal flag to use narwhal instead. All tests are executing successfully against both Node.js and Narwhal/Rhino backends
|
2010-02-07 12:52:07 -05:00 |
|
Jeremy Ashkenas
|
47bc1d5fda
|
added a blocks example
|
2010-02-07 11:33:29 -05:00 |
|
Jeremy Ashkenas
|
f5a37035cf
|
node conversion finished, narwhal removed.
|
2010-01-29 23:30:54 -05:00 |
|
Jeremy Ashkenas
|
3524d618d8
|
adding unary plus, new version of Underscore, still passes tests. Rebuilt Narwhal
|
2010-01-26 22:14:18 -05:00 |
|
Jeremy Ashkenas
|
e998a81b63
|
removing block literals in favor of implicit calls
|
2010-01-26 21:05:26 -05:00 |
|
Jeremy Ashkenas
|
a9f016e292
|
trying out new arrows for function literals -> is a function, => is a bound function
|
2010-01-26 10:52:05 -05:00 |
|
Jeremy Ashkenas
|
29e4043f26
|
tests passing with smarter block syntax with optional parens
|
2010-01-26 02:15:08 -05:00 |
|
Jeremy Ashkenas
|
460b3f6d8e
|
first draft of mandatory parentheses around function definition param lists -- all tests pass
|
2010-01-26 00:40:58 -05:00 |
|
Jeremy Ashkenas
|
63b44a2b03
|
odd and even were backwards
|
2010-01-25 22:44:36 -05:00 |
|
Jeremy Ashkenas
|
4b267b401a
|
another poignant example
|
2010-01-24 20:04:28 -05:00 |
|
Jeremy Ashkenas
|
e6f010b983
|
adding more examples to the computer_science folder, and fiddling with operator precedence
|
2010-01-24 18:59:29 -05:00 |
|
Jeremy Ashkenas
|
817e8deb27
|
adding soaked method calls, with caching
|
2010-01-24 12:52:15 -05:00 |
|
Jeremy Ashkenas
|
e514a39dd2
|
added binary search example -- chapter 6 of beautiful code
|
2010-01-17 16:18:24 -05:00 |
|
Jeremy Ashkenas
|
4a32c58221
|
added bentley's chapter from beautiful code to the examples/tests -- quicksort runtime analysis
|
2010-01-17 15:58:44 -05:00 |
|
Jeremy Ashkenas
|
4609ad78c2
|
added the first chapter of beautiful code as a coffeescript example
|
2010-01-17 15:36:46 -05:00 |
|
Jeremy Ashkenas
|
bb9fdd3015
|
while loops can now be used as expressions -- they return an array containing the computed result of each iteration.
|
2010-01-13 21:27:22 -05:00 |
|
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 |
|