1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
Commit Graph

9295 Commits

Author SHA1 Message Date
Timothy Clem
6d32be890f Updated rescue and when tests 2016-11-03 13:26:53 -07:00
Timothy Clem
0bb8286a06 Didn't mean to commit this 2016-11-03 13:26:10 -07:00
Timothy Clem
8df2dca93b Improve begin and when testing 2016-11-03 13:11:02 -07:00
Timothy Clem
c02dbb071f New ensure and elseif tests with new template feature 2016-11-03 13:01:39 -07:00
Timothy Clem
491bb4dfeb Whole new code generate path when you have a template 2016-11-03 13:00:41 -07:00
Timothy Clem
aefd1e11dc Merge branch 'template-syntax' into more-ruby-parsing 2016-11-03 11:34:14 -07:00
Timothy Clem
4a3ded2302 Enable syntax level templating in test case generation 2016-11-03 11:07:10 -07:00
Timothy Clem
b91f8fc987 s/an/a for when block 2016-11-03 09:35:50 -07:00
Timothy Clem
452d795ddd Merge remote-tracking branch 'origin/master' into more-ruby-parsing 2016-11-03 09:26:35 -07:00
Timothy Clem
4daf39476e Parse rescue modifiers 2016-11-03 09:23:35 -07:00
Timothy Clem
18c7914216 Match Rescue syntax in JSON renderer 2016-11-02 17:23:28 -07:00
Timothy Clem
e09beb4fc7 Remove commented out code 2016-11-02 17:19:31 -07:00
Timothy Clem
a98185f1a6 Rescue blocks in all their glory 2016-11-02 17:18:09 -07:00
Timothy Clem
60de73b079 Revert some corpus changes that aren't needed 2016-11-02 17:10:18 -07:00
Timothy Clem
87bdc57c9b Order matters? 2016-11-02 13:53:42 -07:00
Timothy Clem
2e4c4ee194 Fully test case/when/else 2016-11-02 13:46:33 -07:00
Timothy Clem
fbe7bc7c13 Better handling of case/when 2016-11-02 13:42:06 -07:00
Timothy Clem
295d03dd43 Handle rescue blocks 2016-11-02 13:05:30 -07:00
Timothy Clem
71f53b37fd Handle ensure blocks and refactor to BlockExpression syntax 2016-11-02 12:55:48 -07:00
Timothy Clem
6eebd35a8f Improved elsif parsing and summaries 2016-11-02 12:32:46 -07:00
Timothy Clem
185f1de69c Better handling of else blocks 2016-11-02 11:16:57 -07:00
Timothy Clem
2c1497ab99 Handle else blocks in begin statements 2016-11-02 11:10:01 -07:00
Timothy Clem
fc73be16d7 Better handling of begin statements 2016-11-02 10:52:40 -07: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