1
1
mirror of https://github.com/github/semantic.git synced 2024-12-04 08:47:52 +03:00
Commit Graph

33785 Commits

Author SHA1 Message Date
Timothy Clem
be7c8d865e Optimize slicing out first line of text 2020-07-07 09:07:35 -07:00
Timothy Clem
e85acd4b99 Fix up profiling script 2020-07-07 09:07:11 -07:00
Timothy Clem
4509ddfc1f New semantic-tags:test 2020-07-07 07:27:25 -07:00
Timothy Clem
b5c810aff5 Clean up semantic-tags cabal file 2020-07-07 07:27:16 -07:00
Timothy Clem
f8d2a2d617 Just use top level benchmarks 2020-07-06 14:04:27 -07:00
Timothy Clem
fe69bdf5d8 Docs
Co-Authored-By: Rebecca Valentine <bekavalentine@users.noreply.github.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2020-07-06 13:49:27 -07:00
Timothy Clem
b5b7dc6bb8 Rely on span info from tree-sitter for beginning of line
Co-Authored-By: Rebecca Valentine <bekavalentine@users.noreply.github.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2020-07-06 11:50:38 -07:00
Timothy Clem
c262709045 Let these benchmarks compile again
Co-Authored-By: Rebecca Valentine <bekavalentine@users.noreply.github.com>
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2020-07-06 11:50:21 -07:00
Timothy Clem
340c4523ad Note about benchmarks 2020-07-01 17:02:44 -07:00
Timothy Clem
38638dd008 Lints and cleanups 2020-07-01 17:02:06 -07:00
Timothy Clem
b52403ffd9 Code cleanup 2020-07-01 16:54:41 -07:00
Timothy Clem
cfefa5872c Some tag level benchmarks 2020-07-01 16:40:08 -07:00
Timothy Clem
67bcc3ca48 Use state to cache line and counting algorithms 2020-07-01 16:39:56 -07:00
Timothy Clem
4f4e21548f Hijack the benchmarks for this 2020-07-01 16:38:30 -07:00
Timothy Clem
9a1f285bf9 Couple of test fixtures 2020-07-01 16:37:58 -07:00
Timothy Clem
f31757a4a6 Fixup these fixtures too 2020-07-01 10:04:55 -07:00
Timothy Clem
886db60596 Fix up tests 2020-07-01 09:56:33 -07:00
Timothy Clem
cce16edf93 Include byteRange in the output 2020-07-01 09:03:41 -07:00
Timothy Clem
adb3b89d55 Re-write countUtf16CodeUnits to work on Source directly 2020-07-01 09:02:45 -07:00
Timothy Clem
f08860a17a Fix up tests 2020-06-29 16:16:27 -07:00
Timothy Clem
2fc456568d Merge remote-tracking branch 'origin/master' into unicode-math 2020-06-29 14:15:34 -07:00
Timothy Clem
8d3f7368e6 Use newtypes wrappers instead of type synonyms 2020-06-29 14:11:04 -07:00
Timothy Clem
7cc8a87af0 Rename this field 2020-06-29 13:58:21 -07:00
Timothy Clem
6c157742c1 Better formatting, comment about the bit mask 2020-06-29 13:53:22 -07:00
Patrick Thomson
956338eb2f
Merge pull request #581 from github/move-semantic-lib
Give top-level semantic lib/exe its own folder.
2020-06-29 15:10:27 -04:00
Patrick Thomson
29d3d09ee0 Merge remote-tracking branch 'origin/master' into move-semantic-lib 2020-06-29 14:48:49 -04:00
Patrick Thomson
1e58f321b4 Update build docs. 2020-06-29 14:48:02 -04:00
Patrick Thomson
4f04df28ff
Merge pull request #583 from github/fix-parse-examples
Ensure parse-examples test suite succeeds.
2020-06-29 12:39:20 -04:00
Patrick Thomson
fb0fc19d29 Ensure parse-examples test suite succeeds.
The precise parsers were getting hung up on a large JS file, so the
easiest thing is to just ignore this in the skips.

Fixes #549.
2020-06-29 12:24:12 -04:00
Patrick Thomson
d006c919b2
Merge pull request #582 from github/parse-no-more
Remove PL-specific Scientific/Integer parsers.
2020-06-29 12:08:56 -04:00
Patrick Thomson
3766863bf8 Remove PL-specific Scientific/Integer parsers.
Also drops a couple deps we no longer use.
2020-06-28 19:57:08 -04:00
Patrick Thomson
381e5309e9 fix fixture 2020-06-26 16:30:07 -04:00
Patrick Thomson
722753f864 Fix tests. 2020-06-26 14:59:00 -04:00
Patrick Thomson
76b0e52835 fix some test paths 2020-06-26 14:54:38 -04:00
Patrick Thomson
a67310e257 Specify the executable build target. 2020-06-26 14:14:40 -04:00
Patrick Thomson
bd3b5183e7 Forgot LICENSE and Setup.hs 2020-06-26 13:50:22 -04:00
Patrick Thomson
66b48b9a83 Give top-level semantic lib/exe its own folder.
Every other project has its own folder; as we move to Bazel, this
provides a pleasant consistency.
2020-06-26 13:44:44 -04:00
Timothy Clem
04f9c13036 Fix up fixtures 2020-06-25 15:45:59 -07:00
Timothy Clem
9cd0b30ada Remove old yield 2020-06-25 15:45:54 -07:00
Timothy Clem
7df35cba89 Attempt to slice out a more relevant line for source with long lines 2020-06-25 15:10:56 -07:00
Timothy Clem
e591457a4c Rework tagging to compute LSP offsets
Also updates how we generate the line of source code for display
2020-06-25 14:38:33 -07:00
Timothy Clem
255d78cd8f Add LSP style span to proto datatypes 2020-06-25 14:37:16 -07:00
Timothy Clem
13d995eb17 Cleanup and more tests 2020-06-25 08:49:54 -07:00
Timothy Clem
56f04f1c2d Revert to master for semantic-source 2020-06-25 08:49:40 -07:00
Timothy Clem
d3a825f7e1 Must slice the bytestring, then count Text Chars 2020-06-24 18:30:12 -07:00
Timothy Clem
153afb72fb WIP: counting utf16 code units 2020-06-24 18:15:33 -07:00
Timothy Clem
3cae021020 Take a single line of Source 2020-06-24 18:15:17 -07:00
Patrick Thomson
cf6373be1e
Merge pull request #578 from github/no-uncertain-terms
Remove Data.Term and Data.AST.
2020-06-24 17:24:12 -04:00
Patrick Thomson
65fba3ecc6 remove vestigial dependencies 2020-06-24 15:39:37 -04:00
Patrick Thomson
27d5650489 Remove Data.Term and Data.AST.
These didn't get included in #577 because that patch was getting out
of control. Note that we can now drop the dependency on `fastsum`.
2020-06-24 15:13:30 -04:00