Rick Winfrey
eb9d00d9e2
Remove parse related functions from Diffing
2016-11-02 20:12:51 -05:00
Rick Winfrey
a580fdcac0
Export Parse
2016-11-02 20:12:28 -05:00
Rick Winfrey
cfbbc27be7
Add aeson-pretty to build-depends for semantic-diff
2016-11-02 20:12:21 -05:00
Rick Winfrey
2abd18e227
Add Parse module
2016-11-02 20:12:04 -05:00
Rick Winfrey
3bd78d19b9
Enable option parsing for RunMode (default to Diff)
2016-11-02 11:43:02 -05:00
Rick Winfrey
6675d56ab1
Add RunMode data type
...
- This allows us to distinguish between diffing and parsing when
running the semantic-diff binary.
2016-11-02 11:42:40 -05:00
Rick Winfrey
5ab3c6d6e4
Merge pull request #902 from github/syntax-term-to-json
...
Differentiate between ToJSON instances for SyntaxTerm
2016-11-02 11:16:46 -05:00
Rick Winfrey
1cd998ff88
Merge branch 'master' into syntax-term-to-json
2016-11-01 17:58:15 -05:00
Rick Winfrey
f1b92d9a9e
Revert JSONSyntaxTerm back to ToJSON instance
2016-11-01 16:39:33 -05:00
Rick Winfrey
4128798b34
Add Term.Instances to cabal file
2016-11-01 16:39:11 -05:00
Rick Winfrey
41cf3f32ee
Remove general ToJSON instance for SyntaxTerm in Term.hs
2016-11-01 16:38:57 -05:00
Rick Winfrey
73dd1ec8a8
Create Term.Instances module
...
- This allows us to differentiate between ToJSON instances for
SyntaxTerm
2016-11-01 16:38:28 -05:00
Rick Winfrey
b20e4c195f
Add ToJSON (Record fields) type class constraints
2016-11-01 15:04:43 -05:00
Rick Winfrey
61bdea425d
Add generic ToJSON Cost instance
2016-11-01 15:04:16 -05:00
Rick Winfrey
72899821bc
Add generic ToJSON instance for Syntax
2016-11-01 15:03:18 -05:00
Rick Winfrey
0b0dcdc274
Add general SyntaxTerm ToJSON instance
2016-11-01 15:03:02 -05:00
Rick Winfrey
9168795a1d
Add newtype JSONSyntaxTerm ToJSON instance
2016-11-01 15:02:26 -05:00
Rick Winfrey
c4feca3e5b
Add Record general ToJSON instances
2016-11-01 15:01:43 -05:00
Timothy Clem
9868c9b0a6
Merge pull request #891 from github/ruby
...
Ruby parser
2016-11-01 09:04:46 -07:00
Timothy Clem
6cac25d2a9
Merge remote-tracking branch 'origin/master' into ruby
2016-11-01 08:50:54 -07:00
Rick Winfrey
2aa2179b41
Merge pull request #898 from github/json-api
...
Update JSON Output Format
2016-11-01 10:34:38 -05:00
Timothy Clem
f78704b9c0
Merge remote-tracking branch 'origin/master' into ruby
2016-11-01 08:27:24 -07:00
Josh Vera
d4d99d359e
Merge branch 'master' into json-api
2016-11-01 11:20:29 -04:00
Josh Vera
412e8a9587
Merge pull request #899 from github/javascript-exhaustion
...
Produce error nodes if productions don't match expected shape
2016-11-01 11:19:13 -04:00
Rick Winfrey
fb73232449
Verify tests and generation are 👌
2016-11-01 10:19:04 -05:00
Rick Winfrey
63c30662b2
Remove remaining EmptyResult reference
2016-11-01 10:18:41 -05:00
Rick Winfrey
582e7ce978
Remove NamespaceImport Category (unrelated change)
2016-11-01 10:09:05 -05:00
Rick Winfrey
d09d0d65d2
Remove EmptyResult constructor (no longer used)
2016-11-01 10:06:55 -05:00
Rick Winfrey
c058ac634d
Remove auto-formatted alignment
2016-11-01 10:06:36 -05:00
Rick Winfrey
67adf75fdf
++JavaScript tests
2016-11-01 10:03:25 -05:00
Rick Winfrey
b2d6728a78
Simplify help language for -s and -j
2016-11-01 10:01:28 -05:00
Rick Winfrey
cd19f63129
Omekasify the test case generator
...
- convention for repo file path
- convention for test case file path
- convention for location of repo
- now requires a generate flag (for summary or json expectedResult
output)
2016-11-01 09:53:28 -05:00
Rick Winfrey
35ff284569
Remove warning unnecessary do
2016-11-01 09:52:09 -05:00
Rick Winfrey
d9adbe8783
Simplify JSONMetaRepo fields
2016-11-01 09:51:54 -05:00
Timothy Clem
5f20127044
Stub out expected todo for ruby control statements
2016-10-31 13:56:19 -07:00
Timothy Clem
ada47c7208
Error if for statements don't match expected shape
2016-10-31 13:47:51 -07:00
Timothy Clem
4f3e5fa069
Produce error nodes if productions don't match expected shape
2016-10-31 13:29:58 -07:00
Timothy Clem
37ac36e22c
Regenerate with s/_/- and todos
2016-10-31 13:21:58 -07:00
Timothy Clem
271831b70d
Exhaustively match to error
2016-10-31 13:15:19 -07:00
Timothy Clem
2c96933c29
Generate to fix multiple-assignment
2016-10-31 13:14:58 -07:00
Timothy Clem
a950a07b40
While and Until just have a list of f
2016-10-31 13:14:32 -07:00
Rick Winfrey
e87e54302f
Add documentation for Eff related functions
2016-10-31 15:03:12 -05:00
Timothy Clem
ad422ffc11
Produce errors if we can't match while, until, for, or functions
2016-10-31 12:14:52 -07:00
Timothy Clem
c6f734db67
Remove experimental test fixture format
2016-10-31 11:58:10 -07:00
Timothy Clem
a4362d854e
And a bump for tree-sitter too
2016-10-31 10:16:37 -07:00
Timothy Clem
9ac247dbd4
Element reference parsing, control statement tests
2016-10-31 10:15:44 -07:00
Rick Winfrey
416536d882
Add missing parens
2016-10-28 08:09:37 -05:00
Rick Winfrey
aa724c4159
Preserve original type class constraint order
2016-10-28 07:56:26 -05:00
Rick Winfrey
282c7abd4e
Remove unnecessary comment
2016-10-28 07:44:13 -05:00
Rick Winfrey
5b7fc1e256
Remove GenerateAll as we don't support that functionality yet
2016-10-28 07:43:57 -05:00