Jeremy Ashkenas
|
44398d044f
|
Updating docs for CoffeeScript 0.5.4. Tag it and bag it.
|
2010-03-03 23:01:53 -05:00 |
|
Samuel Reis
|
707cd2d734
|
updated command_line.js
|
2010-03-03 14:32:28 +01:00 |
|
Jeremy Ashkenas
|
5fd0972b5d
|
improvement to comment handling that should ensure that they have no effect on indentation
|
2010-03-02 19:23:21 -05:00 |
|
Jeremy Ashkenas
|
c219adffd5
|
removing special rule from rewriter for naked functions in arrays
|
2010-03-02 00:43:01 -05:00 |
|
Jeremy Ashkenas
|
cd6dd5abfd
|
couple more tweaks to lexer.coffee
|
2010-02-28 21:39:07 -05:00 |
|
Jeremy Ashkenas
|
29ece0e6ba
|
better commenting the coffeescript lexer as the first trial for docco
|
2010-02-28 20:44:33 -05:00 |
|
Jeremy Ashkenas
|
45bad556ab
|
defining __filename and __dirname correctly as local variables for eval'd scripts
|
2010-02-28 19:56:00 -05:00 |
|
Jeremy Ashkenas
|
969c2e528d
|
a number of refactors to the Lexer. It should be a good bit clearer to read now.
|
2010-02-28 13:34:52 -05:00 |
|
Jeremy Ashkenas
|
bb2bf7ce57
|
allowing chaining of property accesses by indentation level (really nice for Node and jQuery work) ticket #221
|
2010-02-28 12:49:37 -05:00 |
|
Jeremy Ashkenas
|
b08995cbcc
|
fixing heredocs with multiple double quotes (broken regex from the Ruby translation), with tests.
|
2010-02-28 10:29:30 -05:00 |
|
Jeremy Ashkenas
|
fec2eaef7e
|
removing the (now-unused) inherits helper, and adding a helper for creating LiteralNodes
|
2010-02-28 00:22:06 -05:00 |
|
Jeremy Ashkenas
|
56eb474bf3
|
If you don't specify a constructor, one will be provided for you by the state.
|
2010-02-28 00:13:17 -05:00 |
|
Jeremy Ashkenas
|
62b2ab29cd
|
CoffeeScript 0.5.3, with classes
|
2010-02-27 20:21:46 -05:00 |
|
Jeremy Ashkenas
|
f7427259ee
|
reserving __extends and __hasProp
|
2010-02-27 20:03:57 -05:00 |
|
Jeremy Ashkenas
|
e02ab76edf
|
converting the remainder of the CoffeeScript compiler (Rewriter, Scope, Optparse) to use classes
|
2010-02-27 19:46:45 -05:00 |
|
Jeremy Ashkenas
|
9f46c306e5
|
super is now possible in nodes/Expressions, where it wasn't possible before.
|
2010-02-27 19:42:10 -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 |
|
Jeremy Ashkenas
|
d2cb1f321e
|
making sure that the body of extends only gets defined once per file.
|
2010-02-27 19:29:34 -05:00 |
|
Jeremy Ashkenas
|
8f871a8218
|
converting the nodes.coffee AST to use the new class system
|
2010-02-27 19:19:53 -05:00 |
|
Jeremy Ashkenas
|
4ec7514d10
|
making inner comments work within class definitions
|
2010-02-27 19:03:23 -05:00 |
|
Jeremy Ashkenas
|
1c7e4c4203
|
first draft of adding classes to CoffeeScript
|
2010-02-27 18:57:45 -05:00 |
|
Jeremy Ashkenas
|
7d39fe1c56
|
fixing multiple evaluation of splat sources, when it's an invoked function
|
2010-02-27 15:15:26 -05:00 |
|
Jeremy Ashkenas
|
afa26c37f1
|
fixing regexp literals versus division, with tests
|
2010-02-27 14:30:14 -05:00 |
|
Jeremy Ashkenas
|
2f658ba925
|
fixing multiple single-line function forms on the same line
|
2010-02-27 11:03:43 -05:00 |
|
Jeremy Ashkenas
|
5e7f5f390a
|
adding a traverse method to the AST, so we can do fancy processing from external scripts.
|
2010-02-27 01:22:21 -05:00 |
|
Jeremy Ashkenas
|
f4cd0bdf29
|
making --run the default option for consistency. If you want to save the file, use -c or --compile.
|
2010-02-27 00:38:04 -05:00 |
|
Jeremy Ashkenas
|
93f644fae2
|
finishing the second half of prefix installs. Using readLink to refer to the CoffeeScript installation reliably.
|
2010-02-26 19:49:12 -05:00 |
|
Jeremy Ashkenas
|
d2d5f649d3
|
caching the length property lookup for vanilla array comprehensions and rebuilding docs
|
2010-02-25 23:39:14 -05:00 |
|
Jeremy Ashkenas
|
5c7526a741
|
moving some of the fs methods over to sync methods, where it's alright and where it makes things clearer
|
2010-02-25 21:53:42 -05:00 |
|
Jeremy Ashkenas
|
17ea48c543
|
first draft of options for Cakefiles, using optparse.coffee, as well as a cake install task that takes --prefix. Still need to fix the lib/bin scripts
|
2010-02-25 21:43:42 -05:00 |
|
Jeremy Ashkenas
|
406a18067d
|
allowing merged short flags in optparse.coffee, via normalize_arguments
|
2010-02-25 19:06:08 -05:00 |
|
Jeremy Ashkenas
|
a23dc6b753
|
raising an error on unrecognized options
|
2010-02-25 18:54:08 -05:00 |
|
Jeremy Ashkenas
|
9d4e06e8a8
|
moving -tr --tree to -n --nodes, and --no-wrap gives up its -n short flag.
|
2010-02-25 18:42:35 -05:00 |
|
Jeremy Ashkenas
|
c62f93f930
|
improving errors for undefined options, and error messages for compile attempts on nonexistent files
|
2010-02-25 18:36:43 -05:00 |
|
Jeremy Ashkenas
|
4ed51536bb
|
fixing patternmatched assigns within assigns within calls
|
2010-02-25 07:28:48 -05:00 |
|
Jeremy Ashkenas
|
b32a60585b
|
improving CoffeeScript in browser script activation, and updating docs
|
2010-02-25 06:26:27 -05:00 |
|
Jeremy Ashkenas
|
66a6568fe7
|
cleaning and shrinking the option parser
|
2010-02-25 06:15:58 -05:00 |
|
Jeremy Ashkenas
|
fe32146adc
|
cleaning and commenting cake.coffee
|
2010-02-25 01:17:43 -05:00 |
|
Jeremy Ashkenas
|
69feac3a01
|
adding return values for destructuring assignment.
|
2010-02-25 00:43:02 -05:00 |
|
Jeremy Ashkenas
|
05d95acfc3
|
docs for CoffeeScript 0.5.2, which is now out.
|
2010-02-25 00:26:59 -05:00 |
|
Jeremy Ashkenas
|
22674bc536
|
removing CoffeeScript.activate() simply including the tag will do for text/coffeescript
|
2010-02-24 23:57:39 -05:00 |
|
Jeremy Ashkenas
|
23c5ebb00f
|
call it 'CoffeeScript' in the command_line, so that --run scripts may access it as such
|
2010-02-24 22:30:22 -05:00 |
|
Jeremy Ashkenas
|
c14869f008
|
implementing the inline javascript in the documentation page in text/coffeescript, switching from the closure compiler to the yui compressor for building the browser version -- the closure compiler had a bug for our input -- fixable by hand but not worth the tiny savings
|
2010-02-24 20:41:56 -05:00 |
|
Jeremy Ashkenas
|
c1427d6558
|
adding a minified combined coffee-script.js. Include it on the page, after any text/coffeescript tags, and call CoffeeScript.activate(); to run it
|
2010-02-24 19:57:29 -05:00 |
|
Jeremy Ashkenas
|
2a46e13d33
|
moving print_tokens (the pretty printer) from coffee_script to command_line
|
2010-02-24 18:56:32 -05:00 |
|
Jeremy Ashkenas
|
9f8710b631
|
adding compilation over stdin/stdout. Use --stdio or -s, and pipe away.
|
2010-02-24 18:18:29 -05:00 |
|
Jeremy Ashkenas
|
aba8cb1b08
|
upgrading the optparse library to avoid having to register callbacks for each argument. It just returns a simple options hash.
|
2010-02-24 17:57:58 -05:00 |
|
Jeremy Ashkenas
|
92cd80226c
|
bumping to 0.5.1
|
2010-02-24 00:54:07 -05:00 |
|
Jeremy Ashkenas
|
10d335ccb1
|
adding existence soaks for indexed-lookup property accesses: obj?['property']
|
2010-02-24 00:06:01 -05:00 |
|
Jeremy Ashkenas
|
4eeb8c4bd2
|
adding conditional while loops with while ... when
|
2010-02-23 22:53:43 -05:00 |
|