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

9618 Commits

Author SHA1 Message Date
Rob Rix
c4c37914a0 Define a Listable newtype wrapping Text. 2017-01-05 14:59:39 -05:00
Rob Rix
d80ea55a59 Define a Listable instance over Patch. 2017-01-05 14:46:18 -05:00
Rob Rix
8c566860ee Define a Listable1 instance over Patch. 2017-01-05 14:45:56 -05:00
Rob Rix
9e486da785 Define a Listable instance over SourceSpan. 2017-01-05 14:44:22 -05:00
Rob Rix
3a7588ad1e Define a Listable instance over SourcePos. 2017-01-05 14:44:12 -05:00
Rob Rix
e1ee210468 Define a Listable instance over Range. 2017-01-05 14:42:57 -05:00
Rob Rix
6a2b1bf3a6 Define a Listable1 instance over Listable a => ((,) a). 2017-01-05 14:40:57 -05:00
Rob Rix
62eac61fe1 Define a Listable2 instance over (,). 2017-01-05 14:40:37 -05:00
Rob Rix
8d9562e94e Define a lifting of cons3. 2017-01-05 14:40:28 -05:00
Rob Rix
e5f4aed989 Define a lifting of cons2. 2017-01-05 14:40:16 -05:00
Rob Rix
fe6a0852c5 Lift Listable through Listable2. 2017-01-05 14:39:51 -05:00
Rob Rix
6db5cf152a Lift Listable over * -> * -> *. 2017-01-05 14:39:10 -05:00
Rob Rix
cae179abc2 Define a Listable1 instance over Maybe. 2017-01-05 14:38:45 -05:00
Rob Rix
1e57f7474b Define a lifting of cons1. 2017-01-05 14:38:31 -05:00
Rob Rix
f17fd281ab Lift Listable through Listable1. 2017-01-05 14:37:39 -05:00
Rob Rix
2d9f56f946 Lift Listable over * -> *. 2017-01-05 14:37:02 -05:00
Rob Rix
da422724b3 Re-export Listable & the tier operators. 2017-01-05 14:36:16 -05:00
Rob Rix
22248f26bf Stub in a Listable module. 2017-01-05 14:34:45 -05:00
Rob Rix
c18217567e Depend on leancheck. 2017-01-05 14:32:20 -05:00
Timothy Clem
54170abc51 Merge pull request #921 from github/ruby-begin-end
Parse BEGIN/END {} for Ruby
2016-12-13 12:11:08 -08:00
Timothy Clem
4a3b8d3769 No need to qualify these 2016-12-13 08:38:18 -08:00
Timothy Clem
efb505bc25 Only use qualified Data.Text 2016-12-13 08:14:18 -08:00
Timothy Clem
1a7e37408e Slightly nicer way to get vowels 2016-12-13 08:13:56 -08:00
Timothy Clem
63def337ca Fix tests to use Category instead of String 2016-12-12 17:47:12 -08:00
Timothy Clem
489ed112a0 Match on Category instead of name and rework determiner logic 2016-12-12 17:40:28 -08:00
Timothy Clem
cd2fe4a681 Calculate determiner from following summary, not preceding patch 2016-12-12 15:27:09 -08:00
Timothy Clem
91721682a6 Give BEGIN/END their own Syntax 2016-12-12 15:26:26 -08:00
Timothy Clem
005a5f43d0 Parse BEGIN/END {} for Ruby 2016-12-12 13:41:55 -08:00
Josh Vera
a9ed40da8f Merge pull request #920 from github/ruby-parse-fixes
Ruby parse fixes
2016-12-12 14:31:36 -05:00
Timothy Clem
7fcc5ab88f Merge branch 'master' into ruby-parse-fixes 2016-12-12 09:15:01 -08:00
Timothy Clem
ecbb36b2df Merge pull request #919 from github/output-formats
New S-Expression output format for parse and diff
2016-12-12 09:14:32 -08:00
Timothy Clem
5b10012466 Parse Ruby scope operator 2016-12-12 08:30:43 -08:00
Timothy Clem
1741cef639 Parse Ruby range expressions 2016-12-11 08:36:26 -08:00
Timothy Clem
e9f8014e50 Add singleton_class category to Split 2016-12-09 16:15:49 -08:00
Timothy Clem
c9e1cfb9b2 Parse instance_variable as Identifier for now 2016-12-09 16:12:36 -08:00
Timothy Clem
526199c47d Parse pairs 2016-12-09 16:12:20 -08:00
Timothy Clem
7c9fc3e0c6 Parse singleton classes 2016-12-09 16:12:07 -08:00
Timothy Clem
616f7953a7 s/function call/method call 2016-12-09 16:10:56 -08:00
Timothy Clem
6dd7a994b6 Revert "Categorize ruby method calls as such"
This reverts commit b99a05f680abb19b819d55cb7d7c8a4da75f8cfd.
2016-12-09 15:51:08 -08:00
Timothy Clem
5db5376d93 Remove some unused imports 2016-12-09 14:52:36 -08:00
Timothy Clem
fcff364131 Remove old cata approach 2016-12-09 14:47:35 -08:00
Timothy Clem
d84537ec42 Add some style to these guards 2016-12-09 14:47:00 -08:00
Timothy Clem
df7e016c60 Collapse up parse to product json and sexp output 2016-12-09 14:32:22 -08:00
Timothy Clem
772265e0bb Rename s/test/sexpression 2016-12-09 11:42:32 -08:00
Timothy Clem
2ef173b934 Sexpr diffs show source spans and pad/indent properly 2016-12-09 11:30:41 -08:00
Timothy Clem
21aba52c7e Categorize ruby method calls as such 2016-12-09 11:29:39 -08:00
Timothy Clem
b16b8ecb87 Rework as top down recursion to print diff trees 2016-12-09 09:47:51 -08:00
Timothy Clem
bab1f677ff Hard wrap FDoc comments for readability 2016-12-09 08:33:34 -08:00
Timothy Clem
686b0dffff Add new sexp style test output for diffs 2016-12-09 08:31:13 -08:00
Timothy Clem
3b676d9f31 Play with a different parse output 2016-12-08 08:11:49 -08:00