1
1
mirror of https://github.com/github/semantic.git synced 2025-01-06 06:46:07 +03:00
Commit Graph

13477 Commits

Author SHA1 Message Date
Rob Rix
a106d27eb9 Rename Source.length to sourceLength. 2017-06-24 10:32:26 -04:00
Rob Rix
2cc9f28e37 Rename Source.null to nullSource. 2017-06-24 10:28:39 -04:00
Rob Rix
0979106e50 🔥 Data.Source.empty. 2017-06-24 10:24:35 -04:00
Rob Rix
8e3d3cb1e1 🔥 a redundant space. 2017-06-24 10:23:48 -04:00
Rob Rix
0d1967edb3 Rename the blob fields. 2017-06-24 10:21:54 -04:00
Rob Rix
bed2c473b2 Rename SourceBlob to Blob. 2017-06-24 10:15:31 -04:00
Rob Rix
fc51c92425 Move SourceBlob into Data.Blob. 2017-06-24 10:09:50 -04:00
Rob Rix
84c7029dd8 Stub in a Blob module. 2017-06-24 10:00:40 -04:00
Rob Rix
fc09d74b73 Rename the Source module to Data.Source. 2017-06-24 09:59:41 -04:00
Rob Rix
1edc6a2718 Rename the Range module to Data.Range. 2017-06-24 09:46:28 -04:00
Rob Rix
6e7122e09a Rename the SourceSpan module to Data.Span. 2017-06-24 09:41:51 -04:00
Rob Rix
4097d4bfc0 Rename SourceSpan to Span and SourcePos to Pos. 2017-06-24 09:30:34 -04:00
Rob Rix
c2d835e43a Compute Markdown ranges within the known line ranges. 2017-06-23 19:30:02 -04:00
Rob Rix
4ee9ff6332 Define a SourceSpan -> Range computation parameterized by the line ranges. 2017-06-23 19:28:10 -04:00
Timothy Clem
4f71a33dcf Merge pull request #1177 from github/bump-tree-sitter
++ tree-sitter
2017-06-22 10:36:39 -06:00
Rob Rix
474fc8187a Merge branch 'master' into bump-tree-sitter 2017-06-22 12:23:44 -04:00
Timothy Clem
118ee0300e ++ tree-sitter 2017-06-22 08:29:00 -06:00
Rob Rix
faff524891 Merge pull request #1174 from github/ses-optimizations
SES optimizations
2017-06-21 17:06:09 -04:00
Rob Rix
21508fb6c3 Resume the unqualified import of !. 2017-06-21 17:05:13 -04:00
Rob Rix
47a33a7916 Rename ! to !?. 2017-06-21 17:02:29 -04:00
Rob Rix
992628de03 Merge branch 'master' into ses-optimizations 2017-06-21 16:49:08 -04:00
Timothy Clem
60fbcdad21 Merge pull request #1173 from github/standardize-language-features
Standardize language features
2017-06-21 14:48:23 -06:00
Rob Rix
48136dc081 Merge branch 'master' into ses-optimizations 2017-06-21 16:42:28 -04:00
Rob Rix
c69281cd4b Merge branch 'master' into standardize-language-features 2017-06-21 16:42:18 -04:00
Rob Rix
3bf95e05f4 Tighten up moveDownFrom/moveRightFrom. 2017-06-21 16:33:47 -04:00
Rob Rix
a084544487 Evaluate endpoints eagerly. 2017-06-21 16:07:42 -04:00
Rob Rix
d822c138b3 Use bang patterns for strictness. 2017-06-21 16:06:20 -04:00
Rob Rix
676cfaa68e Try to inline !. 2017-06-21 16:02:56 -04:00
Rob Rix
4cdd66b12b Mark moveDownFrom and moveRightFrom for inlining. 2017-06-21 15:50:56 -04:00
Timothy Clem
40d518f77c Ingore redudant do (get this in specs a lot) 2017-06-21 13:49:12 -06:00
Timothy Clem
01e2aa1d67 Use consistent default-extensions 2017-06-21 13:48:51 -06:00
Rob Rix
9337631149 Safe array subscripting.
This halves our heap consumption. I don’t know how.
2017-06-21 15:46:36 -04:00
Rob Rix
139c9513d1 Align moveDownFrom/moveRightFrom. 2017-06-21 15:33:26 -04:00
Rob Rix
8131dfaf75 Move moveDownFrom/moveRightFrom/slideFrom out a scope. 2017-06-21 15:33:06 -04:00
Rob Rix
2ed1926f94 🔥 moveDown/moveRight. 2017-06-21 15:32:07 -04:00
Rob Rix
6947a56501 Use BangPatterns to denote strictness. 2017-06-21 15:27:08 -04:00
Rob Rix
9fa104fb23 Factor out the downward/rightward moves. 2017-06-21 15:04:11 -04:00
Rob Rix
74c301f7da Define searchAlongK with guard clauses. 2017-06-21 15:01:49 -04:00
Rob Rix
922569fbe6 Simplify the search along k logic again. 2017-06-21 14:46:57 -04:00
Rob Rix
c4f45522af 🔥 getK. 2017-06-21 14:02:06 -04:00
Rob Rix
0bf24a86db Force the evaluation of the state array. 2017-06-21 14:01:33 -04:00
Rob Rix
231a746d58 Use unary - instead of negate. 2017-06-21 14:00:13 -04:00
Rob Rix
f0147ae513 Prioritize the upper/right extent. 2017-06-21 13:58:19 -04:00
Rob Rix
c736d2527c Revert "Simplify the search logic."
This reverts commit 008658c2bfb06da29d56278b4b48f5b76d0dd211.
2017-06-21 13:54:59 -04:00
Rob Rix
c45b5a32b0 Revert "Avoid refetching the bounds."
This reverts commit de7739b5cf19f93a1ae697350e3332c9a1ea3034.
2017-06-21 13:53:27 -04:00
Rob Rix
6a627255c9 Revert "Save the initial bounds computation."
This reverts commit e062aa06676723be75c47d376fcf66457d9d39aa.
2017-06-21 13:53:15 -04:00
Rob Rix
8a2c0bf6c2 Less strict evaluation of the edit script. 2017-06-21 13:45:16 -04:00
Rob Rix
d71f97d1b5 Save the initial bounds computation. 2017-06-21 13:20:25 -04:00
Rob Rix
c2daf3af07 Avoid refetching the bounds. 2017-06-21 13:17:44 -04:00
Rob Rix
e532f7d2fb Simplify the search logic. 2017-06-21 13:13:40 -04:00