1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

2872 Commits

Author SHA1 Message Date
Rob Rix
7abeee0671 Add a custom Show instance for Maybe ClassName. 2015-12-07 11:35:49 -05:00
Josh Vera
10c57e84a2 Merge pull request #266 from github/build-parsers-into-lib-bridge
Build parsers into lib bridge
2015-12-07 11:24:34 -05:00
Rob Rix
2e328b4b31 Pin the submodules back to master. 2015-12-07 11:22:57 -05:00
Rob Rix
99ba7cd282 Resume using @maxbrunsfeld’s repos for the parsers. 2015-12-07 11:20:38 -05:00
Rob Rix
207bf58c32 Look for libbridge in the project dir. 2015-12-07 11:17:35 -05:00
joshvera
099d92cc08 ++tree-sitter-c 2015-12-07 10:03:22 -05:00
joshvera
d62fc28b57 ++tree-sitter 2015-12-04 18:51:58 -05:00
joshvera
bcd1621260 ++tree-sitter 2015-12-04 16:42:17 -05:00
joshvera
9b52d83907 Revert "Revert tree-sitter submodule pins"
This reverts commit bcb276b5e6a1ccf7d0a0077cf9f534db2620503b.
2015-12-04 16:37:23 -05:00
joshvera
395cfde9aa takeExtension returns extensions with dots 2015-12-04 16:25:01 -05:00
joshvera
f74cdfe273 Revert tree-sitter submodule pins 2015-12-04 16:21:39 -05:00
joshvera
8f659d36c0 try to print split diffs 2015-12-04 16:12:56 -05:00
joshvera
414191afd0 implement diffToRows Replace 2015-12-04 16:07:27 -05:00
joshvera
66c81b72cc termToLines produces lines 2015-12-04 15:54:40 -05:00
joshvera
b4947255cf add adjoinLines 2015-12-04 15:54:07 -05:00
joshvera
090635cd59 add a Monoid instance for Line 2015-12-04 15:54:03 -05:00
joshvera
4e24b26440 factor out termToLines/textElements 2015-12-04 15:40:27 -05:00
joshvera
39df978cb7 insert Indexed rows 2015-12-04 15:05:43 -05:00
joshvera
0b558516a9 insert Leaves 2015-12-04 14:43:15 -05:00
joshvera
a8dfa0c665 stub insertToRows 2015-12-04 14:39:06 -05:00
joshvera
e15ecb934f factoring 2015-12-04 14:23:22 -05:00
joshvera
0d6ac00101 Test two-line formatted indexed nodes 2015-12-04 14:18:53 -05:00
joshvera
a37e199f11 format tests 2015-12-04 14:18:41 -05:00
joshvera
438cb5f04c Promote through empty columns 2015-12-04 14:18:26 -05:00
joshvera
c0c94a3be9 Remove splitDiff/splitPatch/termToHTML 2015-12-04 14:17:14 -05:00
joshvera
77ef9808f0 remove some imports 2015-12-04 14:16:54 -05:00
joshvera
f6a6ddb4d3 test two unchanged lines 2015-12-04 12:02:41 -05:00
joshvera
50a1e682bc Implement actualLines to handle newlines at the end of text 2015-12-04 12:02:26 -05:00
joshvera
195272faaa Test different formatting 2015-12-04 11:37:01 -05:00
joshvera
4389a08a95 spaces 2015-12-04 11:26:03 -05:00
joshvera
e0e5c02926 Move functions out to contextRows, starts, and ends 2015-12-04 11:24:42 -05:00
Rob Rix
00852e5cab Rewrite zipMaybe as zipWithMaybe. 2015-12-04 10:52:47 -05:00
Rob Rix
1516957fec Use the left/right child ranges. 2015-12-04 10:50:00 -05:00
Rob Rix
6aef6bc474 Nest the ranges in the expectations. 2015-12-04 10:49:53 -05:00
Rob Rix
563973e210 Use starts/ends. 2015-12-04 10:48:04 -05:00
Rob Rix
f76335f38a Add functions to get a pair of start/end indices from a pair of ranges. 2015-12-04 10:47:58 -05:00
Rob Rix
cc48afb663 Nest the start/end range & index tuples so we don’t need to destructure them. 2015-12-04 10:46:47 -05:00
Rob Rix
59e6577f5e Correct the accumulation of the terminal context. 2015-12-04 10:43:45 -05:00
Rob Rix
fe5b6d2011 We don’t need this annotation. 2015-12-04 10:40:11 -05:00
Rob Rix
31e5cc9353 Rearrange the rows/indices to match the function return. 2015-12-04 10:39:05 -05:00
Rob Rix
62223655a6 Adjoin the context & child rows. 2015-12-04 10:28:46 -05:00
Rob Rix
ba5e5f5b9e Correct the expected ranges. 2015-12-04 10:27:03 -05:00
Rob Rix
d4ea7a04cc Offset the ends of ranges too. 2015-12-04 10:26:15 -05:00
Rob Rix
618a43a00d Clarify which ranges we’re fetching to the end of. 2015-12-04 10:25:54 -05:00
Rob Rix
015e2d9437 adjoinRows has a right identity as well. 2015-12-04 10:22:54 -05:00
Rob Rix
dbdf194f6a Adjoin the final context. 2015-12-04 10:20:26 -05:00
Rob Rix
d3c5db105d Test the rows computed for non-empty unchanged branches. 2015-12-04 10:19:19 -05:00
Rob Rix
72eea0c2f5 Use the span convenience. 2015-12-04 10:17:39 -05:00
Rob Rix
3efbc70622 Add a span convenience. 2015-12-04 10:17:33 -05:00
Rob Rix
1f73e92a79 The tests depend on free. 2015-12-04 10:17:26 -05:00