Commit Graph

  • 7ec6300a48 little fixes more examples Jeremy Ashkenas 2009-12-18 09:55:31 -05:00
  • 2f75854a61 little fixes more examples Jeremy Ashkenas 2009-12-18 09:55:31 -05:00
  • 42c84fc54b adding css for syntax highlighting Jeremy Ashkenas 2009-12-18 08:36:20 -05:00
  • 253e45fc54 adding css for syntax highlighting Jeremy Ashkenas 2009-12-18 08:36:20 -05:00
  • f0a790d624 todo to-done Jeremy Ashkenas 2009-12-18 07:40:26 -05:00
  • 31639d7d1a todo to-done Jeremy Ashkenas 2009-12-18 07:40:26 -05:00
  • fdcff7aaf0 finished the first draft of the parser test Jeremy Ashkenas 2009-12-18 07:28:26 -05:00
  • 6ba5d45cbe finished the first draft of the parser test Jeremy Ashkenas 2009-12-18 07:28:26 -05:00
  • ab2362e372 adding comprehensive attr_readers to the AST for testing Jeremy Ashkenas 2009-12-18 07:21:59 -05:00
  • f154ab3d15 adding comprehensive attr_readers to the AST for testing Jeremy Ashkenas 2009-12-18 07:21:59 -05:00
  • 98cf9f5af2 parser test raises some minor improvements (remove unnecessary ValueNode arrays, etc Jeremy Ashkenas 2009-12-18 07:11:01 -05:00
  • 669c065dd7 parser test raises some minor improvements (remove unnecessary ValueNode arrays, etc Jeremy Ashkenas 2009-12-18 07:11:01 -05:00
  • e74af51a7d adding an initial lexer test Jeremy Ashkenas 2009-12-18 06:59:06 -05:00
  • 92adabdddc adding an initial lexer test Jeremy Ashkenas 2009-12-18 06:59:06 -05:00
  • 35b5d8c630 after a lot of grammar wrestling, got the if-else chains to parse unambiguously. Now you only need a single period to close chains of any length. Jeremy Ashkenas 2009-12-18 00:49:23 -05:00
  • 049358d006 after a lot of grammar wrestling, got the if-else chains to parse unambiguously. Now you only need a single period to close chains of any length. Jeremy Ashkenas 2009-12-18 00:49:23 -05:00
  • 8575d91c66 finally got the function/object/variable assignment indentation straightened out, I think Jeremy Ashkenas 2009-12-17 23:45:24 -05:00
  • a50446a0ca finally got the function/object/variable assignment indentation straightened out, I think Jeremy Ashkenas 2009-12-17 23:45:24 -05:00
  • 8338f124be compiling if-else chains into nice flat ones Jeremy Ashkenas 2009-12-17 23:34:52 -05:00
  • 67bb49ed04 compiling if-else chains into nice flat ones Jeremy Ashkenas 2009-12-17 23:34:52 -05:00
  • be19f7ad4f first major rework of the nodes -- still need more comments and templatish cleanup, but character tagging is all settled Jeremy Ashkenas 2009-12-17 23:22:02 -05:00
  • 1395b05d36 first major rework of the nodes -- still need more comments and templatish cleanup, but character tagging is all settled Jeremy Ashkenas 2009-12-17 23:22:02 -05:00
  • 5c737d29ab renamed Nodes to Expressions Jeremy Ashkenas 2009-12-17 22:58:40 -05:00
  • 83944950ac renamed Nodes to Expressions Jeremy Ashkenas 2009-12-17 22:58:40 -05:00
  • 92c59ea4a5 finished commenting everything but the nodes -- they're up next Jeremy Ashkenas 2009-12-17 22:54:24 -05:00
  • d124f7fc0d finished commenting everything but the nodes -- they're up next Jeremy Ashkenas 2009-12-17 22:54:24 -05:00
  • dd28074436 finished commenting the grammar Jeremy Ashkenas 2009-12-17 22:22:35 -05:00
  • 77704d24a2 finished commenting the grammar Jeremy Ashkenas 2009-12-17 22:22:35 -05:00
  • f8ab30fa42 many more comments, plus a fix for inner-assignment indentation Jeremy Ashkenas 2009-12-17 22:13:29 -05:00
  • 68bc68c1ac many more comments, plus a fix for inner-assignment indentation Jeremy Ashkenas 2009-12-17 22:13:29 -05:00
  • 581ad8ba1e commented the command-line interface Jeremy Ashkenas 2009-12-17 21:57:21 -05:00
  • 8511a33b1e commented the command-line interface Jeremy Ashkenas 2009-12-17 21:57:21 -05:00
  • 5703c1ed6d moved the TextMate bundle into the gem, added a command to install it Jeremy Ashkenas 2009-12-17 21:46:12 -05:00
  • 6050cad0f8 moved the TextMate bundle into the gem, added a command to install it Jeremy Ashkenas 2009-12-17 21:46:12 -05:00
  • a71a3cdf3f added the 'delete' operator Jeremy Ashkenas 2009-12-17 21:21:07 -05:00
  • 9976de76f5 added the 'delete' operator Jeremy Ashkenas 2009-12-17 21:21:07 -05:00
  • f5d31b78e6 removed the 'default' keyword in favor of an 'else' Jeremy Ashkenas 2009-12-17 21:14:36 -05:00
  • 0dc445138b removed the 'default' keyword in favor of an 'else' Jeremy Ashkenas 2009-12-17 21:14:36 -05:00
  • e1e6bb72c6 removed class checks in favor of statement? Jeremy Ashkenas 2009-12-17 21:10:49 -05:00
  • 3ffbf541df removed class checks in favor of statement? Jeremy Ashkenas 2009-12-17 21:10:49 -05:00
  • d89ca33cdb number examples Jeremy Ashkenas 2009-12-17 21:00:31 -05:00
  • e3c667d49d number examples Jeremy Ashkenas 2009-12-17 21:00:31 -05:00
  • 58ecfeb815 added exponential and hex numbers Jeremy Ashkenas 2009-12-17 20:59:19 -05:00
  • 2c90e8b002 added exponential and hex numbers Jeremy Ashkenas 2009-12-17 20:59:19 -05:00
  • 955d01a302 added a nice --watch mode to continually recompile or relint (or reprint) your coffeescripts Jeremy Ashkenas 2009-12-17 20:37:39 -05:00
  • 398251ff90 added a nice --watch mode to continually recompile or relint (or reprint) your coffeescripts Jeremy Ashkenas 2009-12-17 20:37:39 -05:00
  • f8a5f7595d cleanups getting underscore to compile Jeremy Ashkenas 2009-12-17 10:33:57 -05:00
  • 9249ceaef5 cleanups getting underscore to compile Jeremy Ashkenas 2009-12-17 10:33:57 -05:00
  • 9f33cf19ad added nice syntax errors Jeremy Ashkenas 2009-12-17 10:04:43 -05:00
  • 1eec05d23a added nice syntax errors Jeremy Ashkenas 2009-12-17 10:04:43 -05:00
  • 6deb85e083 passing through values with line number information that look and act like Ruby natives Jeremy Ashkenas 2009-12-17 09:37:42 -05:00
  • 1590713576 passing through values with line number information that look and act like Ruby natives Jeremy Ashkenas 2009-12-17 09:37:42 -05:00
  • 9ad108281e cleaned up lexer in order to add line numbers Jeremy Ashkenas 2009-12-17 09:29:49 -05:00
  • 146b5694c2 cleaned up lexer in order to add line numbers Jeremy Ashkenas 2009-12-17 09:29:49 -05:00
  • cd0091c045 added the ability to super() Jeremy Ashkenas 2009-12-17 09:07:42 -05:00
  • 1d35910567 added the ability to super() Jeremy Ashkenas 2009-12-17 09:07:42 -05:00
  • 01ecae2c55 allowing inner slashes in regexes Jeremy Ashkenas 2009-12-17 08:29:19 -05:00
  • 1a8311b9d0 allowing inner slashes in regexes Jeremy Ashkenas 2009-12-17 08:29:19 -05:00
  • cef4bcd756 supporting escaped quotes in strings Jeremy Ashkenas 2009-12-17 08:26:46 -05:00
  • 4e1e119f58 supporting escaped quotes in strings Jeremy Ashkenas 2009-12-17 08:26:46 -05:00
  • ad50bd7154 supporting escaped quotes in strings Jeremy Ashkenas 2009-12-17 08:26:20 -05:00
  • 3dac0f6d84 supporting escaped quotes in strings Jeremy Ashkenas 2009-12-17 08:26:20 -05:00
  • b97f9cf5ec multiline strings Jeremy Ashkenas 2009-12-17 08:23:17 -05:00
  • 962885444e multiline strings Jeremy Ashkenas 2009-12-17 08:23:17 -05:00
  • 2d65d3d73b multiline strings Jeremy Ashkenas 2009-12-17 08:23:07 -05:00
  • d1682f5b3f multiline strings Jeremy Ashkenas 2009-12-17 08:23:07 -05:00
  • 733a76fdba built the first gem -- works just fine Jeremy Ashkenas 2009-12-16 23:10:03 -05:00
  • c6f11fbfeb built the first gem -- works just fine Jeremy Ashkenas 2009-12-16 23:10:03 -05:00
  • fd63698005 completely reorganized for a gem and the 'coffee-script' command Jeremy Ashkenas 2009-12-16 22:42:53 -05:00
  • 290aa257de completely reorganized for a gem and the 'coffee-script' command Jeremy Ashkenas 2009-12-16 22:42:53 -05:00
  • 5acc91c07c -- Jeremy Ashkenas 2009-12-16 21:43:26 -05:00
  • cedb9256b6 down to the last shift reduce conflict -- leading and trailing whitespace Jeremy Ashkenas 2009-12-16 21:01:47 -05:00
  • 5153ef7c94 a smarter lexer brings us down to three shift/reduces Jeremy Ashkenas 2009-12-16 20:48:37 -05:00
  • 2753648d65 two more shift/reduces down, 8 to go Jeremy Ashkenas 2009-12-16 20:19:52 -05:00
  • 5ef10fce4c renamed it all to CoffeeScript Jeremy Ashkenas 2009-12-16 20:04:01 -05:00
  • 1aad493c75 with an 'expect 10', chapter one of mysterylang is written Jeremy Ashkenas 2009-12-16 00:00:18 -05:00
  • 56b4379c38 fixed a ton of shift/reduces by adding order of ops -- let's do more Jeremy Ashkenas 2009-12-15 23:24:09 -05:00
  • c9fa9b2cb4 -- Jeremy Ashkenas 2009-12-15 22:38:17 -05:00
  • e48d49df3b got case statements wokring Jeremy Ashkenas 2009-12-15 22:30:27 -05:00
  • c840696f73 -- Jeremy Ashkenas 2009-12-15 21:38:34 -05:00
  • 8773b43e9a made array comprehensions into expressions Jeremy Ashkenas 2009-12-15 21:30:37 -05:00
  • b093a437f4 fixing object assignment indentation Jeremy Ashkenas 2009-12-15 20:49:24 -05:00
  • 10c281774a -- Jeremy Ashkenas 2009-12-15 11:36:24 -05:00
  • a0f4c9f3ba array comprehensions can pass the index Jeremy Ashkenas 2009-12-15 11:14:14 -05:00
  • 4480900d61 a bit more underscore Jeremy Ashkenas 2009-12-15 10:35:17 -05:00
  • aebcc50b05 add free variable name lookup. Now that we have lexical scope, array comprehensions are greatly improved Jeremy Ashkenas 2009-12-15 10:28:54 -05:00
  • c7691ecc89 got lexical scoping working -- even fancier returns with assignment as the last statement in a function body Jeremy Ashkenas 2009-12-15 10:07:10 -05:00
  • f7a0bf19cb with shelling out to javascript Jeremy Ashkenas 2009-12-15 09:11:27 -05:00
  • 5dd295bd08 got postfix if and unless onboard Jeremy Ashkenas 2009-12-15 08:53:21 -05:00
  • 16f80ed963 more todos Jeremy Ashkenas 2009-12-15 00:30:40 -05:00
  • 44106f3e06 more todos Jeremy Ashkenas 2009-12-15 00:30:26 -05:00
  • d68a4fca19 first draft of array comprehensions, but they stink. Jeremy Ashkenas 2009-12-15 00:27:34 -05:00
  • 443d710be9 added break and continue Jeremy Ashkenas 2009-12-14 23:11:28 -05:00
  • 8c8fb444dd lots of goodies -- smart reducing of redunant parentheses, auto function returns now get passed down into statements. Jeremy Ashkenas 2009-12-14 23:03:51 -05:00
  • fdc75144fa with try-catch working Jeremy Ashkenas 2009-12-14 10:00:31 -05:00
  • 4e64416397 reduce/reduce conflicts are gone Jeremy Ashkenas 2009-12-14 00:06:08 -05:00
  • 5dfec82a71 one more reduce/reduce down Jeremy Ashkenas 2009-12-13 23:59:12 -05:00
  • 0d735a6c1b ignoring the parser debugging Jeremy Ashkenas 2009-12-13 23:45:18 -05:00
  • 6d2e15f84e back to code Jeremy Ashkenas 2009-12-13 23:38:09 -05:00
  • d0f79535ac simplified expressions heirarchy Jeremy Ashkenas 2009-12-13 23:25:31 -05:00