1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00
Commit Graph

13343 Commits

Author SHA1 Message Date
Rob Rix
eaa98912de Bounds are closed ranges. 2017-06-15 10:06:15 -04:00
Rob Rix
2b46a7a347 Reverse the generated lists. 2017-06-15 10:04:48 -04:00
Rob Rix
93f61519b7 Update the featureVectorDecorator bounds test. 2017-06-15 09:46:51 -04:00
Rob Rix
46cfee6e28 Update the RWS spec. 2017-06-15 09:44:46 -04:00
Rob Rix
1f4eb8e475 Avoid the indirection through Maybe. 2017-06-15 09:44:09 -04:00
Rob Rix
b5cb522d62 Unpack a few fields. 2017-06-15 09:36:04 -04:00
Rob Rix
7e05cec95f Unbox feature vectors. 2017-06-15 09:20:31 -04:00
Rob Rix
c12a2465a5 RWS employs strict state. 2017-06-15 09:10:58 -04:00
Rob Rix
e15f5ad7ab Fold strictly. 2017-06-15 08:57:07 -04:00
Rob Rix
11859c9b51 Generate the lists of terms & diffs purely. 2017-06-15 08:55:23 -04:00
Rob Rix
655fab9277 Implement RWS directly. 2017-06-15 08:46:40 -04:00
Rob Rix
17f577b3f3 Merge branch 'master' into optimize-for-large-nested-branches 2017-06-14 16:56:09 -04:00
Rob Rix
cc26137954 Unpack Endpoint coordinates. 2017-06-14 16:09:48 -04:00
Rob Rix
9cef2b2cd6 Slide down diagonals along both axes. 2017-06-14 16:04:04 -04:00
Rob Rix
e1f2e988ed Moving/sliding doesn’t need to close over anything in searchAlongK. 2017-06-14 14:55:34 -04:00
Rob Rix
36392ca0f9 Avoid a let binding in searchAlongK. 2017-06-14 14:44:22 -04:00
Rob Rix
7a8780f8e8 🔥 the cost centres for prev/next. 2017-06-14 14:41:54 -04:00
Rob Rix
cc72a864e0 Bind getK, prev, & next in the where clause. 2017-06-14 14:41:28 -04:00
Timothy Clem
ec8e0d5cf3 Merge pull request #1161 from github/root-source-slicing-fix
Fix bug in slicing `Source` for root node
2017-06-14 11:32:01 -06:00
Rob Rix
641653bb5e Factor the k pairing into searchAlongK. 2017-06-14 13:03:59 -04:00
Rob Rix
6971dc8220 Factor out the predicate on endpoints. 2017-06-14 13:03:09 -04:00
Timothy Clem
fecf3d4b41 Add a test for file that starts with newline 2017-06-14 11:01:12 -06:00
Rob Rix
7937ad4569 Replace state and update at most once per envelope. 2017-06-14 12:58:07 -04:00
Timothy Clem
f8ecbda145 Just ready in a lazy bytestring for aeson's decode 2017-06-14 10:33:38 -06:00
Timothy Clem
8f6d25b9d8 Properly slice source for root node
Fixes a nasty bug where source files that begin with a newline weren't
getting properly sliced at the root node (code was erroneously assuming
that the first node starts at byte 0). If a file starts with a newline
the program node ends up starting at byte 1 and everything afterward was
offset by one.
2017-06-14 10:29:11 -06:00
Rob Rix
c3b0e95c0f Rename the cost centre for the insert. 2017-06-14 10:40:23 -04:00
Rob Rix
e43882e056 Use the standard definition of for. 2017-06-14 10:07:17 -04:00
Rob Rix
6b30cadb66 Give a simpler definition of for. 2017-06-14 10:06:35 -04:00
Rob Rix
a9bd12115e Revert "Inline the rightward/downward moves."
This reverts commit a0078718556c3590de47ac79afb120de61aafb47.
2017-06-14 10:03:48 -04:00
Rob Rix
a48ee6aa99 Revert "Rename prev to up and next to left."
This reverts commit 6d37db67bc5917c50c8d5d405c324971fbe72e2a.
2017-06-14 10:03:13 -04:00
Rob Rix
a86101d203 Revert "Rename the cost centres for the up/left endpoints."
This reverts commit f3b6a973fe060d619743f69472f39c811f2964f9.
2017-06-14 10:03:03 -04:00
Rob Rix
5fef78a739 Revert "🔥 Diagonal and Distance."
This reverts commit 7944ab5fb6e38fb54f81620ecca19911e6238add.
2017-06-14 10:02:53 -04:00
Rob Rix
7e272594de Revert "Swap up/left."
This reverts commit 790b53f306710a2607026d21a563208be0d57966.
2017-06-14 10:02:40 -04:00
Rob Rix
04f13ab227 Swap up/left. 2017-06-14 09:51:34 -04:00
Rob Rix
98ac94cd0c Ignore profiling files. 2017-06-14 09:41:53 -04:00
Rob Rix
f63eee027e 🔥 🔥 🔥 2017-06-14 09:41:12 -04:00
Rob Rix
182aea8fa6 🔥 Diagonal and Distance. 2017-06-14 09:34:50 -04:00
Rob Rix
3044292140 Derive Eq & Show instances for Endpoint. 2017-06-14 09:33:32 -04:00
Rob Rix
a599a903d7 🔥 the Step synonym. 2017-06-14 09:33:13 -04:00
Rob Rix
b95c17bce6 Rename the cost centres for the up/left endpoints. 2017-06-14 09:28:17 -04:00
Rob Rix
334c066b48 🔥 Haddock markers. 2017-06-14 09:27:54 -04:00
Rob Rix
59183dda18 Rename prev to up and next to left. 2017-06-14 09:26:47 -04:00
Rob Rix
bd26ea2a8c Inline the rightward/downward moves. 2017-06-14 09:23:59 -04:00
Rob Rix
7d674a7123 Merge branch 'master' into optimize-for-large-nested-branches 2017-06-14 08:45:49 -04:00
Rob Rix
e8165a0d28 Merge pull request #1159 from github/simpler-simplifying
Simpler simplifying
2017-06-14 08:44:30 -04:00
Rob Rix
78e4a53534 Rename the manual SCCs. 2017-06-13 22:21:25 -04:00
Rob Rix
d804c7336f Use an IntMap for the state. 2017-06-13 22:18:23 -04:00
Rob Rix
dfd9f3f0ce Reintroduce Endpoint. 2017-06-13 21:52:38 -04:00
Rob Rix
15c1c43e4b 🔥 Endpoint. 2017-06-13 21:33:57 -04:00
Rob Rix
9ab7a3ca28 Correct the selection of y-index. 2017-06-13 21:28:24 -04:00