1
1
mirror of https://github.com/github/semantic.git synced 2024-11-30 14:47:30 +03:00
Commit Graph

318 Commits

Author SHA1 Message Date
Patrick Thomson
b405ec04e5 Remove repeated comments. 2020-07-01 01:22:08 -04:00
Patrick Thomson
b034378ac2 rename the flags and condense around compilation_mode 2020-07-01 00:35:09 -04:00
Patrick Thomson
3e7f746d9d Remove template comments. 2020-06-27 16:24:41 -04:00
Patrick Thomson
a6ab4c4d25 Remove unnecessary Stackage deps. 2020-06-27 12:53:17 -04:00
Patrick Thomson
dbce051436 simplifying target layouts. 2020-06-27 12:47:04 -04:00
Patrick Thomson
6c3a08c735 save a ton of code 2020-06-25 08:56:09 -04:00
Patrick Thomson
deae1e32e0 remove deprecated src_strip_prefix thing 2020-06-23 11:29:02 -04:00
Patrick Thomson
801ef3bfc3 use the same GHC warnings everywhere 2020-06-23 09:45:10 -04:00
Patrick Thomson
ca8475057d formatting 2020-05-27 14:18:21 -04:00
Patrick Thomson
215fe31bf1 Use black for formatting Bazel files. 2020-05-21 19:24:56 -04:00
Patrick Thomson
f05dc8eb9c source, analysis, and ast work 2020-05-19 12:52:01 -04:00
Rick Winfrey
26848902b9
Merge pull request #507 from github/precise-ql-tagging
Precise AST CodeQL tagging
2020-04-01 11:55:46 -07:00
Patrick Thomson
bd67e8bf28 Depend on upstream fused-effects-readline.
One fewer package we have to build is always a good thing.
2020-03-31 12:43:22 -04:00
Rick Winfrey
d55db8893a Merge branch 'master' into precise-ql-tagging 2020-03-27 11:52:48 -07:00
Rick Winfrey
7b588d89c5
Merge pull request #518 from github/bump-semantic-source
Bump semantic-source
2020-03-27 11:40:44 -07:00
Patrick Thomson
ac2da0240f Stray import. 2020-03-24 11:18:58 -04:00
Patrick Thomson
8c6315f4de Remove use of lowerBound that was slipping through the cache. 2020-03-24 10:50:57 -04:00
Rick Winfrey
9a7ed9d294 Bump to semantic-source 0.1.0
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-23 13:40:50 -07:00
zhujinxuan
769b33130b Use Path.AbsRel For Blob, ModuleInfo and Project
- Use Path.AbsRelFile for Blob
- Use Path.AbsRelDir for Project
- Use Path.AbsRelFile for ModuleInfo and ModulePath
- semantic.cabal test-suite test is passed
2020-03-22 13:39:10 -04:00
Rick Winfrey
57a55e9c71 Bump lingo version 2020-03-19 17:43:58 -07:00
Patrick Thomson
00124fe9b4 Make the Span field of a file lazy.
Computing the full span of a file with a large (100,000+ line) file
can be very computationally intensive. Switching to a lazy field means
that we don't pay that cost unless we need to.

Big hattip to @tclem for triaging this issue.
2020-03-11 17:29:47 -04:00
Patrick Thomson
254b160e48 Wrong language module. 2020-02-11 13:24:59 -05:00
Patrick Thomson
d2bd643745 Start moving Blob around. 2020-02-11 13:18:10 -05:00
Patrick Thomson
27829d1131 Emacs misfire. 2020-02-11 12:53:56 -05:00
Patrick Thomson
f722cb0897 Move Data.Project to semantic-analysis.
I need this for semantic-scope-graph so that each graph can have
correct `ModuleInfo` fields. Straightforward.
2020-02-11 12:52:44 -05:00
Patrick Thomson
953473088d Merge remote-tracking branch 'origin/master' into name-name-go-away 2020-01-28 15:07:05 -05:00
Patrick Thomson
9ecaeedcc3 Depend on newer semantic-source. 2020-01-28 12:42:42 -05:00
Patrick Thomson
0e58b0cdde Last few changes. 2020-01-24 16:52:37 -05:00
Patrick Thomson
e7b625c5f0 Whitespace. 2020-01-24 16:50:02 -05:00
Patrick Thomson
aa97696e85 pathIsMinified is a concern for semantic, not semantic-analysis. 2020-01-24 16:23:33 -05:00
Patrick Thomson
7c3b71a604 Move semantic-specific stuff back to Data.Language. 2020-01-24 16:18:58 -05:00
Patrick Thomson
2620c050a7 Rename languageForFilePath. 2020-01-24 15:58:48 -05:00
Patrick Thomson
3ffb8d4b22 Better names everywhere. 2020-01-24 15:41:49 -05:00
Patrick Thomson
dcb76182cc Prevent unnecessary roundtrip. 2020-01-24 15:35:40 -05:00
Patrick Thomson
cac106240b Remove fileForPath hack. More typed paths = good. 2020-01-24 15:33:35 -05:00
Patrick Thomson
2b25dddf73 Absolutely massive patch to eliminate Data.Blob.File. 2020-01-24 13:55:30 -05:00
Patrick Thomson
951400dc39 Some more helper functions. 2020-01-24 12:33:49 -05:00
Patrick Thomson
c3df825840 Move Data.Language to Analysis.Language. 2020-01-24 11:41:02 -05:00
Patrick Thomson
546dfd8ebf Move the __semantic_self name out of Analysis. 2020-01-21 13:45:46 -05:00
Patrick Thomson
f8c8c7913f Merge remote-tracking branch 'origin/master' into name-name-go-away 2020-01-17 15:31:24 -05:00
Patrick Thomson
0e2a0e98b2 Hide Name constructor. 2020-01-17 13:46:17 -05:00
Patrick Thomson
8bf94b1125 Fix indentation. 2020-01-17 11:12:13 -05:00
Patrick Thomson
14c68c407d Move what was Data.Name into Analysis.Name. 2020-01-17 10:57:35 -05:00
Patrick Thomson
ef01408518 Make everything work with Analysis.Functor.Named. 2020-01-17 10:41:08 -05:00
Patrick Thomson
a4a23e9a51 Move the Named functor to Analysis.Functor.Named. 2020-01-17 10:31:09 -05:00
Timothy Clem
c0d8675d09 Use semantic-source 0.0.1 2020-01-16 12:57:24 -08:00
Rob Rix
a6fe9b7a55
Alignment. 2019-12-20 12:27:39 -05:00
Rob Rix
a167dedbfc
Rename the abstract parameter to value. 2019-12-20 12:26:57 -05:00
Rob Rix
c07324ff90
Split Domain into multiple effects. 2019-12-20 12:24:04 -05:00
Rob Rix
661227365a
Don’t repeat ourselves. 2019-12-20 12:07:27 -05:00