Rick Winfrey
4f3af677e6
Merge pull request #777 from github/display-function-call-args
...
Show args for function call / method call diff summaries
2016-09-07 16:36:37 -05:00
Rick Winfrey
e9ccabfc42
Merge pull request #795 from github/enhance-test-case-generator
...
Enhance test case generator
2016-09-07 16:32:19 -05:00
Rob Rix
1e9785fc67
Add a fallback term constructor for other languages.
2016-09-07 15:14:20 -04:00
Rob Rix
a1be4c2841
Map C productions into terms using a term constructor.
2016-09-07 15:11:55 -04:00
Rob Rix
cccd9e9cc6
Stub in a term constructor for C.
2016-09-07 15:10:49 -04:00
Rob Rix
fe7b83663a
Handle all the for statements in a single case.
2016-09-07 14:19:54 -04:00
Rob Rix
7a61659b5c
Support for_statement.
2016-09-07 14:17:23 -04:00
Rob Rix
c1f0854962
Handle the terminal comma operator case correctly.
2016-09-07 13:48:00 -04:00
Rob Rix
a01f704d6b
Resume setting the category on variable declarations.
2016-09-07 13:36:34 -04:00
Rob Rix
c194d4578a
Select the term constructor using the language.
2016-09-07 13:00:59 -04:00
Rob Rix
13527a035c
🔥 the old termConstructor function.
2016-09-07 12:25:09 -04:00
Rob Rix
baacee4ef9
Add operator support back in.
2016-09-07 12:11:21 -04:00
Rob Rix
9750b252ed
Rename the term constructor for JS.
2016-09-07 11:57:24 -04:00
Rob Rix
0c0a67ba65
Move javascriptTermConstructor into its own module.
2016-09-07 11:56:28 -04:00
Rob Rix
64edd14b1d
Stub in a module for JS-specific stuff.
2016-09-07 11:50:41 -04:00
Rob Rix
bd7fab0cd8
🔥 defaultCategoryForNodeName.
2016-09-07 10:31:58 -04:00
Rob Rix
18bcc8bd0c
🔥 categoriesForLanguage.
2016-09-07 10:31:52 -04:00
Rob Rix
71272090af
Merge branch 'master' into abstract-term-construction-out-of-parsing
2016-09-07 10:30:48 -04:00
Rob Rix
8fca7294d9
Don’t change the category in toVarDecl.
2016-09-07 09:16:41 -04:00
joshvera
fb8b0a8543
Add comma_operator split Category
2016-09-06 19:29:14 -04:00
joshvera
e7e4899691
Run SES before RWS
2016-09-06 18:03:30 -04:00
Rick Winfrey
0d041ed3f4
Use statically linked text-icu
2016-09-06 16:51:24 -05:00
Rick Winfrey
59ee8eb002
Update constructor-call JSONTestCases
2016-09-06 16:07:21 -05:00
Rick Winfrey
fb8011e552
Merge branch 'enhance-test-case-generator' into display-function-call-args
2016-09-06 10:38:20 -05:00
Rick Winfrey
1670fc9640
Merge branch 'master' into enhance-test-case-generator
2016-09-06 10:33:52 -05:00
joshvera
ca9eca1cf8
Remove Comment
2016-09-01 19:22:14 -04:00
joshvera
d16cdefe34
Keep a hash for every node instead of a vector
2016-09-01 16:58:24 -04:00
joshvera
daba1fb2ef
Drop equal terms before running rws
2016-09-01 15:41:09 -04:00
joshvera
a809a95c81
Annotate terms with hashes and stick the terms in a priority queue
2016-09-01 15:01:40 -04:00
joshvera
44892e4761
Use naive hash function for now
2016-09-01 14:33:24 -04:00
joshvera
271cb702e6
export hashDecorator
2016-09-01 14:31:23 -04:00
joshvera
b26e445081
Move pqGramDecorator under featureVectorDecorator
2016-09-01 13:04:02 -04:00
joshvera
bc5283cb53
Move unitVector under featureVectorDecorator
2016-09-01 13:03:25 -04:00
joshvera
7708985f12
Add hashDecorator
2016-09-01 13:02:05 -04:00
joshvera
2723b657a4
Derive Hashable for SourcePos, SourceSpan, and Syntax
2016-09-01 12:10:35 -04:00
Rick Winfrey
2ad87cd022
🔥 extra space
2016-08-31 16:57:32 -05:00
joshvera
05ab760f14
Add notes for xydiff + RWS
2016-08-31 16:20:38 -04:00
Rick Winfrey
a78a9be087
Move args smart constructor function to Arguments module
2016-08-31 15:11:33 -05:00
Rick Winfrey
b07d4d2cdf
Extract Arguments to its own module
2016-08-31 13:09:41 -05:00
Rick Winfrey
dbd118d734
Merge branch 'master' into display-function-call-args
2016-08-26 18:15:12 -05:00
Rick Winfrey
fdd56cc67d
🔥 hasIdentity and dependency on Category
...
We should use Syntax because we cannot guarantee that a given term’s
category will always match or correspond with its Syntax.
We also plan to move away from using Category all together, and relying
on Category here would only add more more work for us in the future.
2016-08-26 17:59:26 -05:00
Rick Winfrey
bf888f52f9
Add newlines for easier readability (and easier vim'ing)
2016-08-26 17:57:48 -05:00
joshvera
c6d09043e8
Merge remote-tracking branch 'origin/master' into rws-large-diffs
2016-08-26 15:51:19 -04:00
Rob Rix
26f8f8c5d5
Merge pull request #783 from github/remove-for-statement-bodies
...
Remove bodies from for statement diff summaries
2016-08-26 15:49:55 -04:00
Rick Winfrey
0c82459b84
Reuse identifiable constructor function for prependSummary
2016-08-26 14:43:55 -05:00
Rick Winfrey
4f2ec3c00d
Update method call syntax terms to use toArgName
when determining term names
2016-08-26 14:43:31 -05:00
Rick Winfrey
e8d3132696
Add identifiable constructor function
2016-08-26 14:42:25 -05:00
Rick Winfrey
8bda7645ee
Add Identifiable data type
2016-08-26 14:42:09 -05:00
joshvera
c297aef9ac
++tree-sitter-parsers for async/await and import statements
2016-08-26 14:50:59 -04:00
joshvera
1d7bd1777e
Don't drop summaries from a Commented node's child term
2016-08-26 12:42:01 -04:00