1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00
Commit Graph

29639 Commits

Author SHA1 Message Date
Rob Rix
a05f91cede
Pass the language mode around with a Reader effect. 2019-09-25 11:55:31 -04:00
Rob Rix
44f9a11a62
Define a helper to look up the mode for a given language. 2019-09-25 11:48:07 -04:00
Rob Rix
b394bcd816
Pass the modes to parseSymbols. 2019-09-25 11:46:16 -04:00
Rob Rix
10093b1088
Pass the language modes to parseTermBuilder. 2019-09-25 11:43:17 -04:00
Rob Rix
f68c710a58
Pass the language modes to parseSymbolsBuilder. 2019-09-25 11:42:14 -04:00
Rob Rix
d066b31081
Fix the help text for the protobuf symbols output. 2019-09-25 11:38:42 -04:00
Rob Rix
b6ca57e87a
Combine the flags for JSON symbols output. 2019-09-25 11:38:24 -04:00
Rob Rix
58c5eac144
Rename the language mode types. 2019-09-25 11:34:08 -04:00
Rob Rix
d773ca8282
Move LanguageModes & ASTMode into Data.Language. 2019-09-25 11:32:57 -04:00
Rob Rix
95b83e983c
🔥 the completer.
It doesn’t seem to work anyway.
2019-09-25 11:20:38 -04:00
Rob Rix
ea6184367b
Reformat the Python mode parser. 2019-09-25 11:20:21 -04:00
Rob Rix
c7b611cc52
Define an option for the Python mode. 2019-09-25 11:19:42 -04:00
Rob Rix
2b650143cb
Derive Bounded & Enum instances for ASTMode. 2019-09-25 11:19:36 -04:00
Rob Rix
a20063353e
Derive a Read instance for ASTMode. 2019-09-25 10:48:38 -04:00
Rob Rix
fc153ec593
Define a datatype representing the selection of a mode for a given language. 2019-09-25 10:38:22 -04:00
Rob Rix
5f449f479e
Define a datatype representing the types of ASTs we can operate over. 2019-09-25 10:38:06 -04:00
Rob Rix
7ca39de45d
Merge branch 'master' into semantic-tags 2019-09-25 10:10:27 -04:00
Rob Rix
19e9d7f61b
Reformat the parse command flags. 2019-09-25 10:09:59 -04:00
Patrick Thomson
16eec4f4df
Merge pull request #279 from github/more-path-safety
Make readBlobsFromDir use a typed path.
2019-09-24 19:19:49 -04:00
Patrick Thomson
c0ba458d54
Merge branch 'master' into more-path-safety 2019-09-24 18:16:27 -04:00
Patrick Thomson
247e4bed54
Merge pull request #277 from github/build-sha-as-config-version
Include real build sha in production logs
2019-09-24 18:16:01 -04:00
Patrick Thomson
5ce6f8ba5b
Merge pull request #273 from github/fix-hacky-test-slurping
Improve parsing of FileCheck-style tags.
2019-09-24 18:15:44 -04:00
Patrick Thomson
c8b6f0be08
Merge branch 'master' into fix-hacky-test-slurping 2019-09-24 17:51:29 -04:00
Patrick Thomson
4f52156040
Merge branch 'master' into build-sha-as-config-version 2019-09-24 17:50:07 -04:00
Patrick Thomson
fa1f07bb1e remove unnecessary Path.toString call 2019-09-24 17:49:32 -04:00
Patrick Thomson
05e6163305
Merge pull request #280 from github/sinister-orphan-machinations
Remove unused orphan Listable instances.
2019-09-24 17:47:20 -04:00
Patrick Thomson
432646192c
Merge branch 'master' into sinister-orphan-machinations 2019-09-24 17:32:32 -04:00
Patrick Thomson
439d694200 CyclomaticComplexity doesn't need an instance either. 2019-09-24 17:28:35 -04:00
Patrick Thomson
936d67fc77 Nothing uses ListableF anymore. 2019-09-24 17:26:26 -04:00
Patrick Thomson
39e404451d Remove instances for These and Gram. 2019-09-24 17:23:18 -04:00
Rob Rix
b818269144
Merge branch 'master' into semantic-tags 2019-09-24 17:23:01 -04:00
Patrick Thomson
a4d42fbae6 Remove Free/FreeF and drop free dependency. 2019-09-24 17:21:45 -04:00
Rob Rix
0ca8e7cc2d
Rename Tags.Taggable.Precise to Tags.Tagging.Precise. 2019-09-24 17:17:54 -04:00
Patrick Thomson
a6d19c1ef1
Merge branch 'master' into build-sha-as-config-version 2019-09-24 17:17:53 -04:00
Patrick Thomson
759e38a49d
Merge branch 'master' into fix-hacky-test-slurping 2019-09-24 17:17:47 -04:00
Patrick Thomson
3ebd49b093
Merge pull request #278 from github/remove-dead-deps
Remove outdated dependencies.
2019-09-24 17:17:33 -04:00
Rob Rix
32bd132c75
Define ToTag purely. 2019-09-24 17:15:43 -04:00
Patrick Thomson
67ed31e65f Remove unused syntax Listable instances.
Orphan instances don't come for free: they slow down compilation both
directly and indirectly (in that modules that use orphans pay extra
costs for searching the instance space, according to SPJ).
2019-09-24 17:15:41 -04:00
Rob Rix
4a5ab1107a
Note a FIXME. 2019-09-24 17:09:01 -04:00
Rob Rix
e05a98cc2d
📝 gfoldMap1. 2019-09-24 17:07:16 -04:00
Patrick Thomson
681fe6b816
Merge branch 'master' into fix-hacky-test-slurping 2019-09-24 17:07:05 -04:00
Patrick Thomson
5fe8546298
Merge branch 'master' into build-sha-as-config-version 2019-09-24 17:06:46 -04:00
Rob Rix
ea2d2ca324
Rename the import of Data.Text. 2019-09-24 17:04:53 -04:00
Rob Rix
661b414df4
Take in Source, not Text. 2019-09-24 17:04:22 -04:00
Patrick Thomson
9a6185e095 Make readBlobsFromDir use a typed path. 2019-09-24 17:03:45 -04:00
Rob Rix
6baa33d0d6
Spacing. 2019-09-24 17:03:23 -04:00
Rob Rix
e5ecd7c849
Move the definition of Term up. 2019-09-24 17:02:01 -04:00
Patrick Thomson
42da571531
Merge branch 'master' into remove-dead-deps 2019-09-24 17:00:20 -04:00
Rob Rix
a6010a1436
Recur through indirect calls. 2019-09-24 16:59:53 -04:00
Patrick Thomson
71e47b7677
Merge pull request #275 from github/make-parse-examples-tasty
Rewrite parse-examples target to use tasty.
2019-09-24 16:58:21 -04:00