Commit Graph

  • 92878558c6 fixing improper formatting in range-to-array expansion. Jeremy Ashkenas 2010-07-03 17:00:30 -04:00
  • ec449158c6 fixing improperly-formatted-output of pattern matching within comprehension arguments. Jeremy Ashkenas 2010-07-03 15:09:21 -04:00
  • eefa004b8f fixing the block comment test to use defined variables. Jeremy Ashkenas 2010-07-01 21:51:28 -04:00
  • 77a75ed365 adding passed-through block comments back to the grammar/lexer/rewriter/nodes ... thanks, Trevor Burnham. Jeremy Ashkenas 2010-07-01 21:26:33 -04:00
  • 364ec2a694 better syntax errors for tokens-not-in-the-grammar. Coming soon to a Jison near you (hopefully) Jeremy Ashkenas 2010-07-01 20:40:08 -04:00
  • 9a8a707016 throw a syntax error if you try to use the fat arrow to define a class constructor. Jeremy Ashkenas 2010-06-30 22:03:20 -04:00
  • 7a5f014014 fixing closurenode wrapping of bodies with bound function declarations inside -- this doesn't have to be mentioned explicitly. Jeremy Ashkenas 2010-06-30 21:54:16 -04:00
  • 5ca5a504a4 allowing empty bodies in try blocks and in catch blocks Jeremy Ashkenas 2010-06-30 20:53:09 -04:00
  • cb45c8feac fixing html entity in the changelog Jeremy Ashkenas 2010-06-30 19:51:49 -04:00
  • 7d79d73b58 allowing paren-less instance creation, a la 'new Class' Jeremy Ashkenas 2010-06-29 21:03:50 -04:00
  • 7c426db36a fixing range literals (which had gone untested) oops. Jeremy Ashkenas 2010-06-28 20:26:31 -04:00
  • 744638ed08 adding a one-line exception test. Jeremy Ashkenas 2010-06-28 08:52:13 -04:00
  • 9bc7cd7904 adding a one-line exception test. Jeremy Ashkenas 2010-06-28 08:50:44 -04:00
  • d83bbfb1d5 updating readme with NPM install. Jeremy Ashkenas 2010-06-28 01:19:04 -04:00
  • 4ad9e82f50 docs for the NPM install Jeremy Ashkenas 2010-06-28 01:06:53 -04:00
  • 677c7edf3f CoffeeScript 0.7.0 is on the books. 0.7.0 Jeremy Ashkenas 2010-06-28 01:00:53 -04:00
  • e56af4967c removing our vendor'd copy of Jison ... you should install it from NPM now. Jeremy Ashkenas 2010-06-28 00:26:45 -04:00
  • 1f7af35368 getting ready for a 0.7.0. cleanups and doc revisions, not quite there yet. Jeremy Ashkenas 2010-06-28 00:19:58 -04:00
  • 08ab4abd43 removing obvious redundant parentheses. Jeremy Ashkenas 2010-06-27 23:55:18 -04:00
  • a810eb29db slightly simpler comment regex. Jeremy Ashkenas 2010-06-27 22:26:59 -04:00
  • 3881324007 cleaning up the grammar rule for Super Jeremy Ashkenas 2010-06-27 16:50:31 -04:00
  • af3b356d70 fixing an improper-js-output bug when using a loop-compiled inarray clause as part of a larger expression Jeremy Ashkenas 2010-06-27 13:27:51 -04:00
  • 24676eea71 Fixing commented-out if-clauses or empty if-clauses. Jeremy Ashkenas 2010-06-27 13:19:23 -04:00
  • 7e2eb997a8 adding a test for trailing-comments-preceding-outdents Jeremy Ashkenas 2010-06-27 13:02:47 -04:00
  • ec570c46bf Big commit. First draft of stripping comments from generated JS output. Issue #41 Jeremy Ashkenas 2010-06-27 12:59:54 -04:00
  • 8eedfe4bc6 slight simplification of the if-else grammar rules Jeremy Ashkenas 2010-06-27 11:46:30 -04:00
  • 800fb81d1b Re-ordering lexer rules for fewer regex matches / slightly faster lexing. Jeremy Ashkenas 2010-06-27 10:58:08 -04:00
  • e020f5849c adding a test for #454 Jeremy Ashkenas 2010-06-26 17:21:30 -04:00
  • 698784e103 fixing issue #454 single-line function with single-line if/else Jeremy Ashkenas 2010-06-26 17:20:13 -04:00
  • f7345ffaac removing extensions from CoffeeScript Jeremy Ashkenas 2010-06-26 13:36:31 -04:00
  • b7faa4a7f2 using the new in-tests for the Rewriter. Jeremy Ashkenas 2010-06-21 23:54:43 -04:00
  • 0fcfb80be4 switching 'a in b' to 'a of b', and adding an array presence check for 'a in b'. Jeremy Ashkenas 2010-06-21 23:51:12 -04:00
  • 38a9b7166b Adding TrevorBurnham's suggestion for 'a not in b' Jeremy Ashkenas 2010-06-21 22:25:28 -04:00
  • 3b28f52ff7 adding non-ASCII characters to test_literals.coffee for Node v0.1.99 Jeremy Ashkenas 2010-06-21 20:47:58 -04:00
  • 7725fe338e Merge branch 'npm' of git://github.com/Tim-Smart/coffee-script Jeremy Ashkenas 2010-06-21 18:57:17 -04:00
  • 2ed66f6e8b Update package.json to allow for npm publishing and installation Tim-Smart 2010-06-22 10:48:49 +12:00
  • 9aaf789c21 changing a couple repetitions to DRY objects ... doesn't change the compiled output. Jeremy Ashkenas 2010-06-20 11:19:50 -04:00
  • d5cf339b83 adding a test for holmsand's patch for Object.prototype-named variables. Jeremy Ashkenas 2010-06-16 07:24:17 -04:00
  • 6bc7b56e6e Make sure variables named e.g. "constructor" are declared with var Dan Holmsand 2010-06-16 12:21:42 +02:00
  • e4db6d47c2 Updated Cakefile from Tim_Smart with colorized, explained 'cake install' Jeremy Ashkenas 2010-06-15 21:33:53 -04:00
  • ce4e00e5ae mistaken camelCase 'nodeLibraries' from the great under_score purge ... now fixed. Jeremy Ashkenas 2010-06-15 20:40:10 -04:00
  • 06ca2ef726 more streamlined code generation for instance-bound methods ... keep the prototype method around, and just bind it in the constructor. Jeremy Ashkenas 2010-06-15 02:21:01 -04:00
  • 8d853a6d58 adding the ability to have classes with functions pre-bound to the instance, using the fat arrow, and the constructor-function-definition pattern, avoiding prototypes. Jeremy Ashkenas 2010-06-15 01:28:30 -04:00
  • de768aefc3 a bit more work on keywords-in-object-literals... Jeremy Ashkenas 2010-06-15 01:03:14 -04:00
  • 4b284f6687 first draft at ticket #437 ... automatic quoting of reserved words and keywords. Jeremy Ashkenas 2010-06-15 00:54:02 -04:00
  • d0948e5586 fixing comprehensions to also close over the index variable, if used in an inner function... Jeremy Ashkenas 2010-06-13 21:43:04 -04:00
  • b0a45e5b93 Ticket #423. When functions are generated within comprehensions ... the comprehensions should close over the element instead of sharing it. Jeremy Ashkenas 2010-06-13 21:21:30 -04:00
  • 6f91331626 slight refactor to IfNode::ensureExpressions Jeremy Ashkenas 2010-06-13 18:04:09 -04:00
  • 4ecb1bb2ed switching to 'Compiled' messages after the code has finished compiling on --watch ... Jeremy Ashkenas 2010-06-13 14:21:02 -04:00
  • 3bcca99cba adding another statement/expression/return test. Jeremy Ashkenas 2010-06-13 01:19:31 -04:00
  • 5612a59b30 allowing implicit returns to be pushed down into each branch of computation, even when there's an explicit return nested more deeply. Issue #401 Jeremy Ashkenas 2010-06-13 01:13:52 -04:00
  • 88ea66b4c9 allowing a regex literal to be the last token in a file ... Lexer bug. Jeremy Ashkenas 2010-06-13 00:56:42 -04:00
  • b61399fbde fixing issue #396 ... issue with nested if/elses getting mis-nested. Jeremy Ashkenas 2010-06-12 19:38:14 -04:00
  • a8db2bcf10 fixing a mistaken camelCase in the Cakefile Jeremy Ashkenas 2010-06-12 19:10:10 -04:00
  • e14f4c5db1 First draft of switching the CoffeeScript Compiler over to camelCase. Pour one on the ground for underscores... Jeremy Ashkenas 2010-06-12 19:05:13 -04:00
  • 1948b0c7c7 linebreaks in the rewriter ... cosmetic. Jeremy Ashkenas 2010-06-12 18:09:07 -04:00
  • 4b4b0e630e yet another rewriter-based comment fix, this time for issue #403 Jeremy Ashkenas 2010-06-12 18:06:33 -04:00
  • d9071a80a0 Unsatisfactory patch that fixes Issue #394 ... comments that prefix spaced out if/else clauses. Jeremy Ashkenas 2010-06-12 17:41:46 -04:00
  • 969740a263 slight simplification to if/else in the grammar. Jeremy Ashkenas 2010-06-12 13:53:11 -04:00
  • 0222d90fa3 adding a 'loop' keyword to CoffeeScript. Takes an expression or a block. Runs it until you break or return out. Jeremy Ashkenas 2010-06-12 12:15:53 -04:00
  • a133e018cc Making the REPL the default behaviour of 'coffee', when called with no arguments, a-la Node and Python. Jeremy Ashkenas 2010-06-12 11:09:30 -04:00
  • c2d1ae06c5 removing the <- bind operator from CoffeeScript... Jeremy Ashkenas 2010-06-12 11:00:56 -04:00
  • 59e41f195b simpler 'cake loc' task. Jeremy Ashkenas 2010-06-11 18:53:12 -04:00
  • 7987d4e5ce adding a cake task to check loc Jeremy Ashkenas 2010-06-11 18:47:48 -04:00
  • a8e331a778 new improved REPL, using Node's new 'readline' module... Jeremy Ashkenas 2010-06-11 18:36:18 -04:00
  • eb97652537 adding a sentence about parentheses wrapping. Jeremy Ashkenas 2010-06-11 17:28:18 -04:00
  • 0a4fe7ed97 fixing the lexer so that leading commas surpress newlines Jeremy Ashkenas 2010-06-11 08:29:16 -04:00
  • 676e893c14 reworking parser for more permissive non-comma-separated array elements. Jeremy Ashkenas 2010-06-09 00:37:23 -04:00
  • e37056192b Fix for issue #414 -- apostrophes in heredocs. Jeremy Ashkenas 2010-06-02 19:53:03 -04:00
  • 8321f6bfe3 making block comments require their own lines for delimiters. Issue 379. Jeremy Ashkenas 2010-06-02 00:03:07 -04:00
  • b3d1c238eb fixing block comments at the top of function blocks, and in other locations ... Issue #379 Jeremy Ashkenas 2010-06-01 23:56:10 -04:00
  • 61d9bd7e5e making the lexer more sophisticated about incorrect outdents ... a little safer for everyone. Jeremy Ashkenas 2010-06-01 23:32:46 -04:00
  • 1fbb6e8734 adding copying header to extras/coffee-script.js Jeremy Ashkenas 2010-06-01 22:09:00 -04:00
  • 59de6b505a ahh, finally. switched up our Jison configuration to provide better syntax errors. Now you get the unexpected token, instead of the expected one. Jeremy Ashkenas 2010-06-01 20:21:12 -04:00
  • ea1411cd07 removing call to deprecated sys.p() in the REPL, now it's 'puts inspect value' Jeremy Ashkenas 2010-06-01 19:24:48 -04:00
  • c5fd64c72a allowing direct calls against numbers. Jeremy Ashkenas 2010-05-31 22:56:51 -04:00
  • 45f442bd73 allowing Klass::['dynamic-property'] syntax. Issue #392 Jeremy Ashkenas 2010-05-31 22:32:43 -04:00
  • b8a4adbdc7 whitespace adjustments Jeremy Ashkenas 2010-05-31 19:54:28 -04:00
  • 47fdcebb01 one more range comprehension vs range literal test, for thoroughness. Jeremy Ashkenas 2010-05-31 19:43:30 -04:00
  • 8cdd8de360 adding a negative range comprehension test. Jeremy Ashkenas 2010-05-31 19:41:02 -04:00
  • 7402aea9f2 cleaner generated code for range comprehensions, but you have to use an explicit step to go downwards. Forked the code path for cleaner range literals as well. Jeremy Ashkenas 2010-05-31 19:38:45 -04:00
  • 300c711af1 enabling compilation of non-.coffee-extension files passed directly to the coffee command (Issue #391) Jeremy Ashkenas 2010-05-31 15:36:41 -04:00
  • 39b8bbc39b Moving all of the 'test_issues' tests from 'hiatus' to their proper locations... Jeremy Ashkenas 2010-05-31 15:13:48 -04:00
  • 90f96af720 Simpler stab at a fix for issue #397. Allow CoffeeScript-only keywords to be used as accessors, or in assignment. Jeremy Ashkenas 2010-05-31 14:42:30 -04:00
  • 710b2b5fdc moving issue #381 test to the proper spot. Jeremy Ashkenas 2010-05-31 13:57:03 -04:00
  • a577b81eb3 reworking fix for Issue #383 with a more sensitive regex. (decimals without a leading zero) Jeremy Ashkenas 2010-05-31 13:40:03 -04:00
  • a5478b0712 refactoring name_access_type into tag_accessor Jeremy Ashkenas 2010-05-31 13:25:06 -04:00
  • 12587d8295 reworking Stan's nodes.coffee type/children work a bit for issue 386 Jeremy Ashkenas 2010-05-31 10:36:50 -04:00
  • e17bb4ff11 FIXES #397: Can't use @variable in switch in instance method Stan Angeloff 2010-05-26 21:58:11 +03:00
  • aba19841ee FIXES #390: super() calls in constructor of classes that are defined as object properties Stan Angeloff 2010-05-25 09:15:46 +03:00
  • 0288dba46c Whoops, forgot the extra condition before we perform the rewrite Stan Angeloff 2010-05-23 12:52:49 +03:00
  • 5a306785ba Tests to ensure reserver words and operators can be used as object keys Stan Angeloff 2010-05-23 12:44:40 +03:00
  • c200b95f6a Allowing operators as object keys Stan Angeloff 2010-05-23 12:42:15 +03:00
  • 2cccd621ea First steps in allowing reserved words as object keys Stan Angeloff 2010-05-23 12:21:31 +03:00
  • 385b18f588 FIXES #383: Numbers that start with . not recognized Stan Angeloff 2010-05-20 00:20:33 +03:00
  • bf1f9f4b95 FIXES #380: problem with @ and instanceof Stan Angeloff 2010-05-19 23:51:53 +03:00
  • 4c3271728d OOP love for nodes.coffee Stan Angeloff 2010-05-19 23:24:55 +03:00
  • 57231ae75d Merging type, children and statement functions Stan Angeloff 2010-05-19 22:50:29 +03:00
  • 97c2a70593 Baby steps fixing #386 Stan Angeloff 2010-05-19 22:37:42 +03:00
  • 485346f0e5 CoffeeScript 0.6.2 0.6.2 Jeremy Ashkenas 2010-05-15 01:18:05 -04:00