Jeremy Ashkenas
|
9b262d56a5
|
allowing relative requires of JavaScript from directly-eval'd CoffeeScript.
|
2010-03-06 17:40:13 -05:00 |
|
Jeremy Ashkenas
|
453b43992d
|
fixing line numbers in errors printed prior to parsing
|
2010-03-06 16:42:40 -05:00 |
|
Jeremy Ashkenas
|
a5e3617015
|
Adding a starts() helper to avoid substring() calls for simple matches.
|
2010-03-06 16:24:06 -05:00 |
|
Jeremy Ashkenas
|
c4ad6d1ee6
|
minor cleanups to balanced_group -> balanced_token, removing optional escaper (unused), and using it to implement interpolated javascript.
|
2010-03-06 16:06:47 -05:00 |
|
Stan Angeloff
|
f9cde1b46d
|
Improving performance by removing call to bound function for every character in a string. Added a third option to \delimited\ to allow custom escape sequences.
|
2010-03-06 15:53:37 -05:00 |
|
Stan Angeloff
|
83fd84745d
|
Rewriting string tokenizer; allowing nested double-quoted strings inside expression interpolations.
|
2010-03-06 15:21:30 -05:00 |
|
Jeremy Ashkenas
|
e977967eb5
|
implementing the CoffeeScript compiler using interpolation where appropriate.
|
2010-03-06 13:59:11 -05:00 |
|
Jeremy Ashkenas
|
15b00cb3ca
|
implementing string interpolation using string interpolation
|
2010-03-06 13:32:43 -05:00 |
|
Jeremy Ashkenas
|
18e5f72a84
|
done converting nodes.coffee code generation to use string interpolation where appropriate
|
2010-03-06 00:23:54 -05:00 |
|
Jeremy Ashkenas
|
b4ea43cbd0
|
waypoint -- starting to implement nodes.coffee with interpolations, and fixing/shortening/combining the lexer implementation to allow identifier interpolations to be interleaved with expression interps
|
2010-03-05 22:52:28 -05:00 |
|
Jeremy Ashkenas
|
08341286a3
|
adding back parentheses wrapper around interpolated expressions -- we need it
|
2010-03-05 21:12:13 -05:00 |
|
Jeremy Ashkenas
|
4c3b0b9a74
|
allowing @properties to be referenced in naked interpolations
|
2010-03-05 21:05:31 -05:00 |
|
Jeremy Ashkenas
|
d250e9e9cc
|
some edits to the interpolation path
|
2010-03-05 20:42:36 -05:00 |
|
Stan Angeloff
|
e2f86678a4
|
Allowing expressions to be used inside strings; syntax is $\{...\}
|
2010-03-05 19:50:20 -05:00 |
|
Stan Angeloff
|
fe7d5dfd19
|
Added string interpolation for identifiers
|
2010-03-05 19:49:48 -05:00 |
|
Jeremy Ashkenas
|
965034e16e
|
add proper spacing to optparse by default
|
2010-03-04 22:59:03 -05:00 |
|
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 |
|