Rick Winfrey
f00162f9c1
Readability changes
2016-09-08 15:22:31 -05:00
Rick Winfrey
92b243d454
Indentation
2016-09-08 15:22:05 -05:00
Timothy Clem
81651283ea
Version change to validate --version output
2016-09-08 11:11:16 -07:00
Timothy Clem
ed08914d18
Show version for both tool and library
2016-09-08 11:09:24 -07:00
Timothy Clem
ac5f555e0f
Merge pull request #803 from github/almost-pedantic-builds
...
Enable (mostly) pedantic builds on CI
2016-09-08 10:35:24 -07:00
Rob Rix
d9cc6c324e
Merge branch 'master' into almost-pedantic-builds
2016-09-08 12:40:15 -04:00
Rob Rix
96b048e08b
Merge pull request #805 from github/document-diff-summary-format
...
Document diff summary JSON format
2016-09-08 12:39:11 -04:00
Rob Rix
ed8fbe0b25
Merge branch 'master' into document-diff-summary-format
2016-09-08 12:37:24 -04:00
Rob Rix
f399175c8c
Merge pull request #801 from github/abstract-term-construction-out-of-parsing
...
Abstract term construction out of parsing
2016-09-08 12:37:17 -04:00
Rob Rix
bb6fba4a95
Drop the Args node from function calls.
2016-09-08 12:24:47 -04:00
Rob Rix
38abf6b339
Merge branch 'master' into abstract-term-construction-out-of-parsing
...
# Conflicts:
# src/Parser.hs
#
tools/semantic-git-diff/test/corpus/diff-summaries/javascript/switch-sta
tement.json
#
tools/semantic-git-diff/test/corpus/diff-summaries/javascript/throw-stat
ement.json
2016-09-08 09:52:01 -04:00
Rob Rix
29e5b5d1da
Filter empty nodes out at the assignment of children.
2016-09-08 09:42:16 -04:00
Rob Rix
eccaab1fbd
Use record wildcards to destructure the source blob.
2016-09-08 09:40:00 -04:00
Rob Rix
8ff6b1aa96
Use $! instead of seq.
2016-09-08 09:39:19 -04:00
Rob Rix
e4a37940c0
Indent all the things.
2016-09-08 09:30:53 -04:00
Rob Rix
67fcf6c7de
Handle errors and all in a single clause.
2016-09-08 09:29:01 -04:00
Timothy Clem
9661cad15f
Fix a couple of new warnings
2016-09-07 15:27:31 -07:00
Timothy Clem
4600436167
Merge remote-tracking branch 'origin/master' into almost-pedantic-builds
2016-09-07 15:24:41 -07:00
joshvera
6c09ff32be
Add comma_operator split Category
2016-09-07 15:00:49 -07:00
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
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
Rick Winfrey
2ad87cd022
🔥 extra space
2016-08-31 16:57:32 -05: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
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