1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

6656 Commits

Author SHA1 Message Date
Timothy Clem
fcf7155a35 Extract Command.Stdin 2017-05-17 10:02:18 -07:00
Timothy Clem
7ba950cf47 Merge remote-tracking branch 'origin/master' into diff-stdin 2017-05-17 09:44:51 -07:00
Rob Rix
4ae3abd83b Provide call stacks for empty & <|> assignments. 2017-05-16 11:42:47 -04:00
Rob Rix
69bf06195a Pretty-print call stacks with errors. 2017-05-16 11:42:07 -04:00
Rob Rix
49e9baf29f Carry call stacks in errors. 2017-05-16 11:40:43 -04:00
Rob Rix
4ee40a4a61 Use the API to freeze call stacks. 2017-05-16 11:40:30 -04:00
Rob Rix
d8d9856f39 Carry call stacks through running assignments. 2017-05-16 11:39:55 -04:00
Rob Rix
5a54516b9f Freeze the call stack in the smart constructors. 2017-05-16 11:23:21 -04:00
Rob Rix
f002ce8080 Give call stacks to the Assignment terms and smart constructors. 2017-05-16 11:20:19 -04:00
Rob Rix
66053a3c47 Give call stacks to all of the Ruby assignments. 2017-05-16 11:18:01 -04:00
Rob Rix
9eb028d37c Merge branch 'master' into symbol-assignments-produce-locations 2017-05-12 17:19:17 -04:00
Rob Rix
e1af9f77a8 📝 identityDecorator. 2017-05-12 16:25:19 -04:00
Rob Rix
0d43cccd6a Define the identity decorator. 2017-05-12 16:24:29 -04:00
Rob Rix
cd1f8d84ba Symbol rules produce the location. 2017-05-12 16:14:44 -04:00
Rob Rix
df74f26b16 Correct an omitted space. 2017-05-12 16:10:11 -04:00
Rob Rix
37b453a110 Define an invert combinator for until/unless. 2017-05-12 16:07:27 -04:00
Rob Rix
421f72c787 Abstract assignment for lists of statements. 2017-05-12 16:03:35 -04:00
Rob Rix
bfaa8dcd59 Assign Ruby with makeTerm and emptyTerm. 2017-05-12 16:00:15 -04:00
Rob Rix
e07e04f894 Define an emptyTerm assignment. 2017-05-12 15:59:27 -04:00
Rob Rix
0f8a75dc2a Define a makeTerm combinator. 2017-05-12 15:45:54 -04:00
Rob Rix
a586762998 Merge branch 'master' into generalize-table-of-contents-over-the-syntax-functor 2017-05-12 12:24:00 -04:00
Rick Winfrey
4bf0ad07dc Merge branch 'master' into python 2017-05-11 16:48:21 -07:00
Rick Winfrey
2e2adfb1ec Add languages/python 2017-05-11 16:45:05 -07:00
Timothy Clem
5253b13846 Read JSON encoded blob content on stdin 2017-05-11 16:20:15 -07:00
Rob Rix
c4504acaa5 Represent entryPayload as a field selector. 2017-05-11 17:32:43 -04:00
Rob Rix
bbb7b352aa 🔥 afterOrBefore. 2017-05-11 17:16:19 -04:00
Rob Rix
915fdbb2c8 🔥 patchType. 2017-05-11 17:15:33 -04:00
Rob Rix
a788495961 Take the after side of replacements.
Otherwise we have no way of knowing which side they occurred on.
2017-05-11 17:08:21 -04:00
Rob Rix
5dd5ce8160 Pull the patch entries function into the where clause. 2017-05-11 17:05:56 -04:00
Rob Rix
a536e5d71e Don’t special-case for the ParseError category. 2017-05-11 17:02:28 -04:00
Rob Rix
addc70df57 🔥 redundant functions. 2017-05-11 16:59:45 -04:00
Rob Rix
c548795cb9 diffTOC doesn’t take blobs. 2017-05-11 16:59:32 -04:00
Rob Rix
1ce26f2f57 Similar matches are explicitly replacements. 2017-05-11 16:41:17 -04:00
Rob Rix
f7932c2331 Correct the wording for JSON summaries. 2017-05-11 16:37:17 -04:00
Rob Rix
f2ca4b5144 Represent patched content as Entry constructors. 2017-05-11 16:33:52 -04:00
Rob Rix
1bbcbf7fab Keep the found entry. 2017-05-11 16:05:56 -04:00
Rob Rix
95f6a63fee Define diffTOC in terms of tableOfContentsBy. 2017-05-11 16:02:24 -04:00
Rob Rix
8ef8115775 Define a Listable instance for Declaration. 2017-05-11 15:48:27 -04:00
Rob Rix
7903db7429 Copy the deduping logic into dedupe. 2017-05-11 15:36:25 -04:00
Rob Rix
336e203d02 Define a helper to get an entry’s payload. 2017-05-11 15:36:02 -04:00
Rob Rix
1ec4b051b0 Pull the dedupe function out. 2017-05-11 15:25:12 -04:00
Rob Rix
023320bade 🔥 a redundant import of Patch. 2017-05-11 15:22:58 -04:00
Rob Rix
5e5c4694b8 Merge remote-tracking branch 'origin/master' into generalize-table-of-contents-over-the-syntax-functor
# Conflicts:
#	src/Arguments.hs
#	test/CommandSpec.hs
#	test/SpecHelpers.hs
#	test/TOCSpec.hs
2017-05-11 15:17:46 -04:00
Rob Rix
1a2c329f78 Crosswalk through Patches again. 2017-05-11 14:22:39 -04:00
Rob Rix
4ef3604a65 Revert "Revert "Define a Crosswalk instance for Patch.""
This reverts commit 20d96850fa7ee2b1ad3c949b128186eaa8f22f6b.
2017-05-11 14:19:34 -04:00
Rob Rix
344bff67ce Produce parse error content. 2017-05-11 14:17:48 -04:00
Rob Rix
075b831199 Produce results for terms with syntax errors. 2017-05-11 14:13:54 -04:00
Rob Rix
eb03a36db0 Construct ErrorSummary values when the category is a parse error. 2017-05-11 14:11:49 -04:00
Rob Rix
cd2421048c Produce entries for parse errors. 2017-05-11 14:02:25 -04:00
Timothy Clem
b9358d7809 Favor multiple arguments over a tuple argument 2017-05-11 10:10:48 -07:00