Commit Graph

  • 11dc953bc6 Fix docs about sourceFile/directSourceFile. Ingvar Stepanyan 2014-08-03 10:03:24 +03:00
  • ef045b9718 Remove copyToken from acorn_loose (not needed anymore). Ingvar Stepanyan 2014-07-31 14:33:40 +03:00
  • 1bf8c1420f Added example for comments attachment. Ingvar Stepanyan 2014-07-31 13:50:56 +03:00
  • be11e04383 Added onToken support. Ingvar Stepanyan 2014-07-31 13:06:18 +03:00
  • 278ac258df Moved inTemplate initializer to appropriate place. Ingvar Stepanyan 2014-07-30 01:48:34 +03:00
  • 73a890d6be More nuanced attribution in comment Marijn Haverbeke 2014-07-29 15:18:59 +02:00
  • 292f8ece64 Re-run update_authors.sh to get proper project name in AUTHORS Marijn Haverbeke 2014-07-29 15:14:02 +02:00
  • aac1807838 Include Harmony tests in test/index.html Marijn Haverbeke 2014-07-29 14:43:20 +02:00
  • 3393460ebb Fix Travis URL for future merge. Ingvar Stepanyan 2014-07-29 13:52:08 +03:00
  • de48f8434d Fixes for ES3 compatibility. Ingvar Stepanyan 2014-07-28 18:42:48 +03:00
  • f0579c3e56 Renamed _multiplyModulo to _modulo as it's left as the only purpose of this token. Ingvar Stepanyan 2014-07-28 10:45:13 +03:00
  • 4663f6ae95 Update README.md Ingvar Stepanyan 2014-07-28 01:35:56 +03:00
  • ff9c3550a4 Allow computed class method names (as per ariya/esprima#271). Ingvar Stepanyan 2014-07-27 04:46:06 +03:00
  • acbef8557f Treat line ending after yield keyword as end of YieldExpression Ingvar Stepanyan 2014-07-27 04:24:26 +03:00
  • 9d552efe45 Added Generator Comprehension support. Ingvar Stepanyan 2014-07-27 03:54:04 +03:00
  • 1c548e7848 Add missing Traceur source to repo. Ingvar Stepanyan 2014-07-27 02:00:50 +03:00
  • e9635f450e Delete harmonytest.js Ingvar Stepanyan 2014-07-27 01:57:48 +03:00
  • afefac56bf Added test to represent "import x, { ... } from 'module'" case. Ingvar Stepanyan 2014-07-26 21:54:36 +03:00
  • 9d5e0e7973 Increased benchmark time to 5 seconds per parser to get more realistic numbers. Ingvar Stepanyan 2014-07-26 21:18:37 +03:00
  • 711d21ec5a Simplified name clash test. Ingvar Stepanyan 2014-07-26 21:17:55 +03:00
  • 8d30ad6196 Added separate token for star ('*') as it may have special meaning. Ingvar Stepanyan 2014-07-26 21:09:54 +03:00
  • 8b19246615 Replaced UglifyJS2 with Traceur for fair comparison of ES6-enabled parsers. Ingvar Stepanyan 2014-07-26 20:49:29 +03:00
  • 7aab3539ce Cleaning up + performance improvement by using hash objects for name clash checks. Ingvar Stepanyan 2014-07-26 20:03:45 +03:00
  • 67615ffd41 Simplified newline check in strings. Ingvar Stepanyan 2014-07-26 09:44:06 +03:00
  • 1955e94925 Removed keywords that are not actual keywords Ingvar Stepanyan 2014-07-26 09:32:10 +03:00
  • 82b9f30fc9 Allow some keywords to be treated as identifier names; update ecmaVersion in benchmark. Ingvar Stepanyan 2014-07-26 08:56:22 +03:00
  • eb7ccea743 Stricter tokVal -> tokType comparisons. Ingvar Stepanyan 2014-07-26 08:19:08 +03:00
  • a061f1f0a6 Updated README and bin utility to be aware of ES6 support. Ingvar Stepanyan 2014-07-26 07:37:59 +03:00
  • 3ee9e288a2 Forbid spread element in sequence expressions. Ingvar Stepanyan 2014-07-26 06:52:21 +03:00
  • 8f96965d36 Added yield support (completed generators). Ingvar Stepanyan 2014-07-26 06:09:29 +03:00
  • b8a3300a21 Added function * support (part of generators feature). Ingvar Stepanyan 2014-07-26 05:43:48 +03:00
  • 4f24e13fd5 Added template string support. Ingvar Stepanyan 2014-07-26 05:09:13 +03:00
  • a8cf37fc46 Test fixes for imports. Ingvar Stepanyan 2014-07-25 22:48:39 +03:00
  • 26818e1f36 Removed module-related tests and implemented corresponding alternatives support. Ingvar Stepanyan 2014-07-25 22:37:25 +03:00
  • b38c15a94b Added export declaration support. Ingvar Stepanyan 2014-07-25 20:58:46 +03:00
  • f2dfeff977 Added test for BindingPattern inside ArrayComprehension Ingvar Stepanyan 2014-07-25 18:59:19 +03:00
  • bcc97e2d52 Array Comprehensions as per latest ES6 drafts. Ingvar Stepanyan 2014-07-25 18:45:04 +03:00
  • dd37866fdb Added backward-compatible test that object properties have type of "Property". Ingvar Stepanyan 2014-07-25 16:38:34 +03:00
  • 648f3159cc Added for (..of..) support and guard against for (let var=.. in|of ..) loops. Ingvar Stepanyan 2014-07-25 16:14:11 +03:00
  • 8b0be7cec9 Improved destruction assignment guards. Ingvar Stepanyan 2014-07-25 14:53:19 +03:00
  • 0f56e32512 Object shorthand properties; small fixes to ES6 function parameters. Ingvar Stepanyan 2014-07-25 02:21:07 +03:00
  • 50a82135c4 Recursive destructuring assignment with function arguments name clash checks. Ingvar Stepanyan 2014-07-25 01:58:40 +03:00
  • 66e6bcd10f Assignable patterns. Ingvar Stepanyan 2014-07-25 00:44:08 +03:00
  • 9b697af803 Destructuring assignments. Ingvar Stepanyan 2014-07-25 00:15:58 +03:00
  • 5ab6837208 Workaround for joyent/node#3584. Ingvar Stepanyan 2014-07-24 23:41:23 +03:00
  • 7c34bb34ce Exit should wait for stdout (joyent/node#1669). Ingvar Stepanyan 2014-07-24 23:22:52 +03:00
  • 3779ed41a4 Added exit code 1 for failed test session. Ingvar Stepanyan 2014-07-24 23:10:53 +03:00
  • f7fe322490 Better parentheses check for arrow expression argument list. Ingvar Stepanyan 2014-07-24 23:08:49 +03:00
  • 1f801001cf ArrowExpression rest parameter support, brackets check and test fixes. Ingvar Stepanyan 2014-07-24 22:36:10 +03:00
  • 5d50be1447 Removed dirty hack in favor of fixed expected locations for arrow and method functions (node's location should include arguments). Ingvar Stepanyan 2014-07-24 19:53:42 +03:00
  • 19696af666 Added computed properties support. Ingvar Stepanyan 2014-07-24 18:53:54 +03:00
  • 1d3810dcdb Turned on Travis CI. Ingvar Stepanyan 2014-07-24 15:56:01 +03:00
  • 44a4f8c016 Added ES6 classes support. Ingvar Stepanyan 2014-07-24 15:48:48 +03:00
  • eadda16c42 Added SpreadElement support. testFail message fixes for object methods. Ingvar Stepanyan 2014-07-24 14:33:59 +03:00
  • 67bca2d549 Added object method support. Ingvar Stepanyan 2014-07-24 14:12:54 +03:00
  • 48f6ea8e63 Force LF endings in code. Ingvar Stepanyan 2014-07-24 12:23:28 +03:00
  • a5cf393134 Fixed testFail messages for character escape sequences. Ingvar Stepanyan 2014-07-24 03:07:53 +03:00
  • 2db14fbb08 Checking argument names clash in strict mode for arrow functions. Some more testFail message fixes. Ingvar Stepanyan 2014-07-24 02:51:37 +03:00
  • 47c4196d41 Some testFail message fixes. Ingvar Stepanyan 2014-07-24 02:21:06 +03:00
  • 16b9ba5db0 Fixed parsing x => 1, 2 like expressions. Ingvar Stepanyan 2014-07-24 01:55:34 +03:00
  • 757545a612 Basic ES6 Arrow Expressions support. Added Property type to ObjectExpression properties. Reserved ES6 properties in Property type. Ingvar Stepanyan 2014-07-24 01:44:22 +03:00
  • 12ac95732d Added ES6-specific Function properties. Ingvar Stepanyan 2014-07-23 21:11:50 +03:00
  • 839338b270 Added octal and binary number support; added ES6 version checks. Ingvar Stepanyan 2014-07-23 21:07:57 +03:00
  • a31bad6773 ES6 Unicode Code Point Escape Sequence support. Ingvar Stepanyan 2014-07-23 19:47:13 +03:00
  • 47587e6e9b Turned on location tracking for harmony tests. Ingvar Stepanyan 2014-07-23 19:18:27 +03:00
  • 88e355a6ae Converted esprima's harmony tests. Ingvar Stepanyan 2014-07-23 19:11:06 +03:00
  • 937350dd84 Updated esprima and added harmonytest.js from ariya/esprima@2bb17ef9a4. Ingvar Stepanyan 2014-07-23 18:37:20 +03:00
  • 7ac7d8fa5e Add an AUTHORS list Marijn Haverbeke 2014-07-29 14:33:33 +02:00
  • 14bd14088a Remove bogus copy-pasted chunk from LICENSE Marijn Haverbeke 2014-07-29 12:37:36 +02:00
  • 3d35d067a8 Removed some dead code in parseThrowStatement Johannes Herr 2014-07-24 15:10:33 +02:00
  • 3d444e8eca Update docco output for df9eda514a Marijn Haverbeke 2014-07-15 18:35:09 +02:00
  • df9eda514a Add a script that generates the regular expressions for identifiers Mathias Bynens 2014-06-23 18:22:25 +02:00
  • caeaf37c31 Fix another bogus piece of code from 31e77b975e Marijn Haverbeke 2014-06-17 11:08:12 +02:00
  • c1b2742ee7 Bump version number post 0.6 Marijn Haverbeke 2014-06-06 22:42:22 +02:00
  • 4435013900 Mark version 0.6.0 Marijn Haverbeke 2014-06-06 22:42:03 +02:00
  • 29feccf3cd Split up parseStatement() impinball 2014-06-03 22:13:24 -04:00
  • 55b507b715 Note partial es6 support in docs Marijn Haverbeke 2014-06-06 12:11:16 +02:00
  • 1e5bfc2c55 ecma 6 partial support: let and const Artem Govorov 2014-06-06 12:59:18 +10:00
  • 3a34f7ba8c Add note about browser compatibility to README Marijn Haverbeke 2014-06-04 22:51:05 +02:00
  • 7f0f07e1f9 Check duplicate argument names for rest params Marijn Haverbeke 2014-05-28 23:24:10 +02:00
  • dccd45528a Minor: Remove unused argument from readToken_slash PlNG 2014-05-03 05:13:44 -04:00
  • 5dcd50447b Clean up previous patch Marijn Haverbeke 2014-05-15 10:38:28 +02:00
  • 31e77b975e Add option: -- impinball 2014-05-13 12:41:31 -04:00
  • 5552e866f9 Support rest parameters Brandon Mills 2013-11-13 14:25:38 -05:00
  • 2de16b8cb0 [loose parser] Fix interpretation of f." Conrad Irwin 2014-04-17 12:16:29 -07:00
  • 6f41a2215d Updates license year Charles Hughes 2014-03-22 15:09:49 -07:00
  • 4869ccfa55 Prevent loose parser from tripping on invalid regexps Marijn Haverbeke 2014-03-25 17:45:58 +01:00
  • 93124c9eb8 Don't export Node from loose parser, reuse existing Node's proto Marijn Haverbeke 2014-03-25 17:31:03 +01:00
  • e5439847fd Rename remaining *_t constructors to something sane Marijn Haverbeke 2014-03-25 17:26:17 +01:00
  • 7b9a46710d Renamed node_t to Node and exported it David Bonnet 2014-03-17 13:57:12 +01:00
  • e282ee4c01 Bump version number post-0.5 Marijn Haverbeke 2014-03-12 17:32:17 +01:00
  • a09455d2bf Mark version 0.5 Marijn Haverbeke 2014-03-12 17:25:55 +01:00
  • 954ddac8b9 [walker] Supply ancestors to visitor functions Peter Rust 2014-02-25 13:03:55 -08:00
  • 5bd50cce6f Don't complain about reserved words in property name position Marijn Haverbeke 2014-02-14 11:27:48 +01:00
  • 716ade22fb Add allowReturnOutsideFunction option Marijn Haverbeke 2014-02-14 09:55:05 +01:00
  • d55b6dee4a Update lastEnd in tokenizer interface Marijn Haverbeke 2014-01-17 10:09:15 +01:00
  • d973261940 [loose parser] Make sure VariableDeclaration nodes have at least one decl Marijn Haverbeke 2013-12-09 17:55:16 +01:00
  • e6ff440e9f [walker] Handle catch scopes more accurately in scopeVisitor Marijn Haverbeke 2013-11-28 16:56:14 +01:00
  • b1623b10c1 Note non-reentrancy of parser in onComment docs Marijn Haverbeke 2013-11-20 10:59:12 +01:00
  • baaa16cee7 Make sure syntax errors in regular expressions raise conforming exceptions Marijn Haverbeke 2013-11-20 10:56:28 +01:00