Commit Graph

  • a35693554c updating documentation for classes Jeremy Ashkenas 2010-02-27 20:12:47 -05:00
  • f7427259ee reserving __extends and __hasProp Jeremy Ashkenas 2010-02-27 20:03:57 -05:00
  • e02ab76edf converting the remainder of the CoffeeScript compiler (Rewriter, Scope, Optparse) to use classes Jeremy Ashkenas 2010-02-27 19:46:45 -05:00
  • 9f46c306e5 super is now possible in nodes/Expressions, where it wasn't possible before. Jeremy Ashkenas 2010-02-27 19:42:10 -05:00
  • b5c9d779bd updating the Lexer to use classes and some of the older documentation Jeremy Ashkenas 2010-02-27 19:40:53 -05:00
  • d2cb1f321e making sure that the body of extends only gets defined once per file. Jeremy Ashkenas 2010-02-27 19:29:34 -05:00
  • 8f871a8218 converting the nodes.coffee AST to use the new class system Jeremy Ashkenas 2010-02-27 19:19:53 -05:00
  • 4ec7514d10 making inner comments work within class definitions Jeremy Ashkenas 2010-02-27 19:03:23 -05:00
  • 1c7e4c4203 first draft of adding classes to CoffeeScript Jeremy Ashkenas 2010-02-27 18:57:45 -05:00
  • 7d39fe1c56 fixing multiple evaluation of splat sources, when it's an invoked function Jeremy Ashkenas 2010-02-27 15:15:26 -05:00
  • afa26c37f1 fixing regexp literals versus division, with tests Jeremy Ashkenas 2010-02-27 14:30:14 -05:00
  • 2f658ba925 fixing multiple single-line function forms on the same line Jeremy Ashkenas 2010-02-27 11:03:43 -05:00
  • 0ab810e4cb fancy new fullscreen version of 'Try CoffeeScript' Jeremy Ashkenas 2010-02-27 02:21:26 -05:00
  • 37d086b670 rebuilding the browser code in anticipation of a page push Jeremy Ashkenas 2010-02-27 01:38:50 -05:00
  • 5e7f5f390a adding a traverse method to the AST, so we can do fancy processing from external scripts. Jeremy Ashkenas 2010-02-27 01:22:21 -05:00
  • f4cd0bdf29 making --run the default option for consistency. If you want to save the file, use -c or --compile. Jeremy Ashkenas 2010-02-27 00:38:04 -05:00
  • 723ea53585 adding the long-ago-needed documentation for constructors with 'return this' Jeremy Ashkenas 2010-02-26 20:09:49 -05:00
  • 93f644fae2 finishing the second half of prefix installs. Using readLink to refer to the CoffeeScript installation reliably. Jeremy Ashkenas 2010-02-26 19:49:12 -05:00
  • 82951a469b adding favicon to docs Jeremy Ashkenas 2010-02-26 19:10:56 -05:00
  • d2d5f649d3 caching the length property lookup for vanilla array comprehensions and rebuilding docs Jeremy Ashkenas 2010-02-25 23:39:14 -05:00
  • 5c7526a741 moving some of the fs methods over to sync methods, where it's alright and where it makes things clearer Jeremy Ashkenas 2010-02-25 21:53:42 -05:00
  • 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 Jeremy Ashkenas 2010-02-25 21:43:42 -05:00
  • 55ed202957 no outline on the Try CoffeeScript input for safari Jeremy Ashkenas 2010-02-25 21:10:32 -05:00
  • d5df5505f9 hide the error div on initial page load Jeremy Ashkenas 2010-02-25 20:48:54 -05:00
  • dc7f4b4be0 new live 'Try CoffeeScript' Jeremy Ashkenas 2010-02-25 20:39:34 -05:00
  • 406a18067d allowing merged short flags in optparse.coffee, via normalize_arguments Jeremy Ashkenas 2010-02-25 19:06:08 -05:00
  • 3ae2ebe5ea Merge branch 'fix_example_webserver' of git://github.com/hugs/coffee-script Jeremy Ashkenas 2010-02-25 18:56:11 -05:00
  • a23dc6b753 raising an error on unrecognized options Jeremy Ashkenas 2010-02-25 18:54:08 -05:00
  • 5f1d3fd775 updating docs with the new flags Jeremy Ashkenas 2010-02-25 18:43:33 -05:00
  • 9d4e06e8a8 moving -tr --tree to -n --nodes, and --no-wrap gives up its -n short flag. Jeremy Ashkenas 2010-02-25 18:42:35 -05:00
  • 6bc61ec1a1 Fixed web_server example to be compatible with Node v0.1.30 Jason Huggins 2010-02-25 17:42:05 -06:00
  • c62f93f930 improving errors for undefined options, and error messages for compile attempts on nonexistent files Jeremy Ashkenas 2010-02-25 18:36:43 -05:00
  • 213ae1430e using text instead of html to escape entities in the rendered JS for Try CoffeeScript Jeremy Ashkenas 2010-02-25 18:20:15 -05:00
  • ee5d738827 doc update Jeremy Ashkenas 2010-02-25 17:18:28 -05:00
  • eab9bbf04f adding a test for nested pattern matching Jeremy Ashkenas 2010-02-25 07:31:33 -05:00
  • 4ed51536bb fixing patternmatched assigns within assigns within calls Jeremy Ashkenas 2010-02-25 07:28:48 -05:00
  • b32a60585b improving CoffeeScript in browser script activation, and updating docs Jeremy Ashkenas 2010-02-25 06:26:27 -05:00
  • 66a6568fe7 cleaning and shrinking the option parser Jeremy Ashkenas 2010-02-25 06:15:58 -05:00
  • fe32146adc cleaning and commenting cake.coffee Jeremy Ashkenas 2010-02-25 01:17:43 -05:00
  • 69feac3a01 adding return values for destructuring assignment. Jeremy Ashkenas 2010-02-25 00:43:02 -05:00
  • 05d95acfc3 docs for CoffeeScript 0.5.2, which is now out. 0.5.2 Jeremy Ashkenas 2010-02-25 00:26:59 -05:00
  • 22674bc536 removing CoffeeScript.activate() simply including the tag will do for text/coffeescript Jeremy Ashkenas 2010-02-24 23:57:39 -05:00
  • 23c5ebb00f call it 'CoffeeScript' in the command_line, so that --run scripts may access it as such Jeremy Ashkenas 2010-02-24 22:30:22 -05:00
  • 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 Jeremy Ashkenas 2010-02-24 20:41:56 -05:00
  • 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 Jeremy Ashkenas 2010-02-24 19:57:29 -05:00
  • 2a46e13d33 moving print_tokens (the pretty printer) from coffee_script to command_line Jeremy Ashkenas 2010-02-24 18:56:32 -05:00
  • b26e577244 adding documentation for --stdio Jeremy Ashkenas 2010-02-24 18:27:10 -05:00
  • 9f8710b631 adding compilation over stdin/stdout. Use --stdio or -s, and pipe away. Jeremy Ashkenas 2010-02-24 18:18:29 -05:00
  • aba8cb1b08 upgrading the optparse library to avoid having to register callbacks for each argument. It just returns a simple options hash. Jeremy Ashkenas 2010-02-24 17:57:58 -05:00
  • 92cd80226c bumping to 0.5.1 0.5.1 Jeremy Ashkenas 2010-02-24 00:54:07 -05:00
  • 10d335ccb1 adding existence soaks for indexed-lookup property accesses: obj?['property'] Jeremy Ashkenas 2010-02-24 00:06:01 -05:00
  • 4eeb8c4bd2 adding conditional while loops with while ... when Jeremy Ashkenas 2010-02-23 22:53:43 -05:00
  • 4d146bacb1 fixing throwing an error string in the Rewriter, when it should have been an Error object Jeremy Ashkenas 2010-02-23 21:59:29 -05:00
  • 7de4caffca removing a shift-reduce error from the grammar that worked its way in Jeremy Ashkenas 2010-02-23 21:22:28 -05:00
  • 8db0cb9fa5 rebuilding with new for spacing Jeremy Ashkenas 2010-02-23 21:12:44 -05:00
  • c30b3d3c48 updating to the latest Jison Jeremy Ashkenas 2010-02-23 21:03:05 -05:00
  • 52db4fbf8c merging Tim-Smart's branch Jeremy Ashkenas 2010-02-23 20:52:03 -05:00
  • 5cd8f2c52c Merge branch 'master' of git://github.com/Tim-Smart/coffee-script Jeremy Ashkenas 2010-02-23 20:51:29 -05:00
  • 5a1aa44393 going back to == undefined instead of == null to appease the angry JSLint. Jeremy Ashkenas 2010-02-22 22:19:17 -05:00
  • 432696d6eb nodes.coffee: ForNode: Small whitespace change in for_part Tim 2010-02-22 20:19:00 -07:00
  • 3df7bd98f4 fixing issue 196, better handling of soak/existence chains Jeremy Ashkenas 2010-02-22 22:11:47 -05:00
  • 1f870911c9 Merge branch 'master' of git://github.com/cehoffman/coffee-script Jeremy Ashkenas 2010-02-22 20:28:41 -05:00
  • 4bb9392753 adding warning about Node.js/Windows to the docs. Jeremy Ashkenas 2010-02-22 20:25:15 -05:00
  • fdffacfb40 Make trailing else on switch fix pass on to multiple when switches Chris Hoffman 2010-02-22 19:17:54 -06:00
  • a64afe6162 fixing the trailing-else-in-switch-getting-sucked-in-bug, Issue 195. Jeremy Ashkenas 2010-02-22 19:22:09 -05:00
  • 15b86a5f7a doc updates Jeremy Ashkenas 2010-02-22 17:14:51 -05:00
  • 9b78fb67cf allowing checked out versions of the source to use bin/cake and bin/coffee from any directory. Jeremy Ashkenas 2010-02-22 09:12:52 -05:00
  • 4817b96bac fixing the build:ultraviolet task in the Cakefile Jeremy Ashkenas 2010-02-22 09:09:35 -05:00
  • 6985802eb3 making the docs a little less jumpy with more stable menus Jeremy Ashkenas 2010-02-21 23:29:31 -05:00
  • aad0ce162d ensuring that we don't write --eval scriptlets out to disk -- they should print, if nothing else Jeremy Ashkenas 2010-02-21 22:41:19 -05:00
  • f582b73035 Keep the correct state for watching files so the appropriate one is recompiled 0.5.0 Chris Hoffman 2010-02-21 18:59:27 -06:00
  • e795f41bd2 wrapping up loose ends for 0.5.0 Jeremy Ashkenas 2010-02-21 19:28:12 -05:00
  • 5d541232ef adding /usr/local/lib hardcoded versions of coffee and cake for the install script Jeremy Ashkenas 2010-02-21 19:19:58 -05:00
  • 07513ba928 documentation for Cake and Cakefiles Jeremy Ashkenas 2010-02-21 18:37:52 -05:00
  • aded80c101 list padding for the docs Jeremy Ashkenas 2010-02-21 17:59:17 -05:00
  • 5d893947ea new version of the docs for 0.5.0 is done, or close to it. Jeremy Ashkenas 2010-02-21 17:30:41 -05:00
  • 535cf28220 one more documentation waypoint, now with running for Try CoffeeScript, and a recompiled Underscore.coffee -- wordsmithing next Jeremy Ashkenas 2010-02-21 16:36:34 -05:00
  • dbe5328c33 removing the 'var' declaration from arguments-to-array conversions Jeremy Ashkenas 2010-02-21 16:15:01 -05:00
  • 6e15a4da0e waypoint on new coffeescript docs --they're coming along nicely Jeremy Ashkenas 2010-02-21 16:13:09 -05:00
  • fc51f0ef6c first working draft of the new documentation Jeremy Ashkenas 2010-02-21 14:30:21 -05:00
  • 1f2c8df5fa updating to latest Node (0.1.3) API -- callbacks, not promises Jeremy Ashkenas 2010-02-21 14:06:01 -05:00
  • bea40a7a92 re-enabling the --no-wrap flag, and cleaning up an unused method in command_line Jeremy Ashkenas 2010-02-21 13:48:38 -05:00
  • f679590bef rengenerating documentation Jeremy Ashkenas 2010-02-21 11:46:24 -05:00
  • bd61131f5c regenerating documentation Jeremy Ashkenas 2010-02-21 11:45:03 -05:00
  • ff25361896 removing the build:parser -> build dependency in the Cakefile -- the asynchrony was breaking it anyway Jeremy Ashkenas 2010-02-21 11:40:52 -05:00
  • 08dcc7e107 removing commented-out parseerror Jeremy Ashkenas 2010-02-21 11:22:49 -05:00
  • b027b5cf0d Allowing @[property] syntax. Jeremy Ashkenas 2010-02-20 20:09:52 -05:00
  • 0f2a2ee11e Improving soaks to avoid uncessesary parentheses. Jeremy Ashkenas 2010-02-20 20:00:07 -05:00
  • a93229b14d fixing an off-by-one error in Splat compilation Jeremy Ashkenas 2010-02-20 18:25:36 -05:00
  • 2d3f6b80c1 Revert "fixing api changes (no more promises) for node v.0.1.29" Jeremy Ashkenas 2010-02-20 18:12:09 -05:00
  • 9503ea3040 fixing api changes (no more promises) for node v.0.1.29 alunny 2010-02-20 14:45:16 -08:00
  • 08539a156e merging cehoffman/master Jeremy Ashkenas 2010-02-19 18:30:47 -05:00
  • b183b091ee removing redundant compile from command_line.coffee Jeremy Ashkenas 2010-02-19 18:29:24 -05:00
  • c39415da44 using the new fs.writeFile API instead of fs.open -- much, much nicer Jeremy Ashkenas 2010-02-19 18:27:50 -05:00
  • 2c461f6474 Simpler write method that assumes utf8 output like input reading does Chris Hoffman 2010-02-19 16:03:37 -06:00
  • e213964793 No need to recompile the script for writing Chris Hoffman 2010-02-19 15:54:55 -06:00
  • dd753d3b78 Removing the notion of a ThisNode so that we don't have to worry about the special cases. Fixes Issue 180 Jeremy Ashkenas 2010-02-19 07:51:52 -05:00
  • 45c0d4c2ea fixing standalone @ references Jeremy Ashkenas 2010-02-18 21:50:42 -05:00
  • 4f89f90dab adding syntax highlighting for standalone @ts Jeremy Ashkenas 2010-02-18 21:32:54 -05:00
  • 0270e48a01 using '== null' to check for soaked accessor chains instead of '== undefined' -- shorter, and slightly safer Jeremy Ashkenas 2010-02-18 21:04:41 -05:00