1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
Commit Graph

19705 Commits

Author SHA1 Message Date
Rob Rix
e57359a8bf
Merge branch 'master' into 🔥-ts-parse 2019-10-08 18:00:56 -04:00
Patrick Thomson
2036569a09
Merge pull request #312 from github/remove-shelly
Remove shelly in favor of streaming-bytestring and utf8-string.
2019-10-08 17:58:59 -04:00
Rob Rix
2291e0c97d
Merge branch 'precise-json' into 🔥-ts-parse 2019-10-08 17:37:29 -04:00
Patrick Thomson
8368950c03
Merge branch 'master' into remove-shelly 2019-10-08 16:52:07 -04:00
Rob Rix
b053774ede
Merge branch 'remove-reprinter-and-rewriter' into precise-json 2019-10-08 16:32:19 -04:00
Patrick Thomson
eabfd53284 Redundant import. 2019-10-08 15:50:26 -04:00
Patrick Thomson
df9e272419 Some Evaluatable instances got nuked. 2019-10-08 15:50:07 -04:00
Patrick Thomson
3b4b9dc95e fix stray typo and remove spec invocations 2019-10-08 15:02:33 -04:00
Patrick Thomson
693c317bf0 Remove experimental reprinting and rewriting facilities.
As we shift to a precise, non-DTALC representation of language syntax,
the foundations upon which our (experimental) reprinting and rewriting
framework are becoming questionable. These experiments are not hooked
up anywhere (except the tests), constitute a considerable amount of
code, and are getting in the way of @robrix and myself lately.

I like a lot of this code, but if we're not using it, it's our moral
imperative to delete it, if only to reduce the carbon emissions
associated with our CI builds. We can always rescuscitate it from the
git history if we find ourselves wanting it back.
2019-10-08 14:41:31 -04:00
Rob Rix
bacb523b7f
Use the AST synonym in the type of MarkdownParser. 2019-10-07 14:40:09 -04:00
Rob Rix
a457d8777f
Use the AST synonym in the type of AssignmentParser. 2019-10-07 14:39:39 -04:00
Rob Rix
c01e8314ff
🔥 the various *ASTParsers. 2019-10-07 14:37:53 -04:00
Rob Rix
3cad826597
🔥 SomeASTParser. 2019-10-07 14:35:49 -04:00
Rob Rix
a21afc0e1b
🔥 Semantic.AST. 2019-10-07 14:35:05 -04:00
Rob Rix
c25cac9531
🔥 tsParseCommand. 2019-10-07 14:34:07 -04:00
Rob Rix
2f6d485205
Get tree_sitter_python from semantic-python for the precise parser.
It’s the same symbol, but will ease breaking the dependency when we 🔥 à la carte Python.
2019-10-07 14:22:28 -04:00
Rob Rix
223007c508
Get tree_sitter_java from Language.Java. 2019-10-07 14:18:46 -04:00
Rob Rix
bb898a34e6
Get tree_sitter_json from Language.JSON. 2019-10-07 14:13:30 -04:00
Patrick Thomson
edb2e1c155 Stylish. 2019-10-07 12:37:58 -04:00
Patrick Thomson
cc9d398947 Small cleanup on lsTree. 2019-10-07 12:34:47 -04:00
Patrick Thomson
fe7301575c Remove shelly in favor of streaming-bytestring and utf8-string. 2019-10-07 12:29:42 -04:00
Rob Rix
17c70240d4
🔥 Assigning.Assignment.Deterministic. 2019-10-07 11:56:00 -04:00
Rob Rix
f4da0a8db4
🔥 DeterministicParser. 2019-10-07 11:55:21 -04:00
Rob Rix
6b4b5011aa
🔥 Language>JSON.Assignment. 2019-10-07 11:42:01 -04:00
Rob Rix
6f9d49fef8
🔥 jsonParser. 2019-10-07 11:13:42 -04:00
Rob Rix
058aab0417
🔥 jsonASTParser. 2019-10-07 11:13:36 -04:00
Rob Rix
47020db964
Drop support for JSON from someASTParser. 2019-10-07 11:12:08 -04:00
Rob Rix
a87b91d9a4
🔥 jsonParserALaCarte'. 2019-10-07 11:10:56 -04:00
Rob Rix
190abe1af5
Simplify aLaCarteParsers to exclude à la carte JSON. 2019-10-07 11:10:22 -04:00
Rob Rix
4743e4e595
Simplify allParsers to exclude à la carte JSON. 2019-10-07 11:10:10 -04:00
Rob Rix
ac961fb945
🔥 modeForLanguage. 2019-10-07 11:07:52 -04:00
Rob Rix
9568ff6f2d
JSON defaults to precise.
This isn’t actually all that useful, but for completeness’ sake.
2019-10-07 11:06:32 -04:00
Rob Rix
734c365674
Add precise JSON to allParsers. 2019-10-07 11:05:49 -04:00
Rob Rix
656f1e187e
Define a ToTags instance for JSON terms. 2019-10-07 11:05:28 -04:00
Rob Rix
8a3fd7ef67
Alphabetize. 2019-10-07 11:04:56 -04:00
Rob Rix
ed17dcbeea
Define an SExprTerm instance for precise JSON. 2019-10-07 10:57:17 -04:00
Rob Rix
4f6e91a128
Define a ShowTerm instance for precise JSON. 2019-10-07 10:57:02 -04:00
Rob Rix
a4ed7de6f0
🔥 a redundant -fno-warn-orphans. 2019-10-07 10:51:50 -04:00
Rob Rix
53803071b0
Rename jsonParser' to jsonParserALaCarte. 2019-10-07 10:48:51 -04:00
Rob Rix
e5e9228f56
Export jsonParserPrecise'. 2019-10-07 10:42:52 -04:00
Rob Rix
f4212d2c6e
Add a precise JSON parser. 2019-10-07 10:40:52 -04:00
Rob Rix
56956198fa
Fix an overlooked case. 2019-10-07 10:40:30 -04:00
Rob Rix
20bc736250
Fix a renamed rule. 2019-10-07 10:40:11 -04:00
Rob Rix
1ec330fbe4
Annotate the kind of ToSExpression. 2019-10-07 09:17:30 -04:00
Rob Rix
57826de7a0
Merge branch 'semantic-java' into precise-s-expressions 2019-10-07 09:16:33 -04:00
Rob Rix
a9abd08f5c
Merge branch 'master' into semantic-java 2019-10-07 09:10:20 -04:00
Rick Winfrey
4729b5e677 Remove Haskell language modules for now 2019-10-04 15:00:58 -07:00
Patrick Thomson
e5841eb473 Squash warnings. 2019-10-04 15:49:34 -04:00
Patrick Thomson
4684e3a798 Overhaul catFile. 2019-10-04 12:39:13 -04:00
Rob Rix
2791018ce0
Merge remote-tracking branch 'origin/semantic-java' into precise-s-expressions 2019-10-03 14:26:53 -04:00