1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

30302 Commits

Author SHA1 Message Date
Patrick Thomson
3f539abfb6 Make compile interface internal and provide toplevelCompile instead. 2019-10-09 12:47:03 -04:00
Rob Rix
1034cd5e39
Merge pull request #314 from github/🔥-ts-parse
🔥 ts parse
2019-10-09 08:55:36 -04:00
Rob Rix
603f377f78
Merge pull request #319 from github/pathtype-round-2
Make the -o option demand a file path.
2019-10-08 19:55:59 -04:00
Rob Rix
427a131621
🔥 a redundant import. 2019-10-08 19:21:30 -04:00
Patrick Thomson
c12eca0c00 Pathtype comes with a shim for withBinaryFile. 2019-10-08 18:57:28 -04:00
Patrick Thomson
4110353b63 Make the -o option demand a file path.
You can test this like so:

```
cabal run semantic -- -o /tmp/blah/ parse --json --gitDir .git --sha HEAD
option -o: "/tmp/blah/" is not a valid file path
```

This would previously fail at runtime with a less informative error message:

```
/tmp/blah/: openBinaryFile: inappropriate type (Not a directory)
```
2019-10-08 18:52:28 -04:00
Patrick Thomson
d998c40043
Merge branch 'master' into 🔥-ts-parse 2019-10-08 18:28:03 -04:00
Patrick Thomson
3e65913d27 Fix a build error. 2019-10-08 18:24:36 -04:00
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
Patrick Thomson
d6dcfa7435
Merge pull request #313 from github/precise-json
Precise JSON
2019-10-08 17:57:06 -04:00
Rob Rix
2291e0c97d
Merge branch 'precise-json' into 🔥-ts-parse 2019-10-08 17:37:29 -04:00
Rob Rix
8936bede79
Update the JSON ASTs. 2019-10-08 17:35:06 -04:00
Rob Rix
c02f56da1a
🔥 the JSON diffs. 2019-10-08 17:34:56 -04:00
Patrick Thomson
8368950c03
Merge branch 'master' into remove-shelly 2019-10-08 16:52:07 -04:00
Rob Rix
1569f6fffc
Merge branch 'master' into precise-json 2019-10-08 16:51:53 -04:00
Patrick Thomson
2592c9b93b
Merge pull request #318 from github/remove-reprinter-and-rewriter
Remove experimental reprinting and rewriting facilities.
2019-10-08 16:51:24 -04:00
Rob Rix
1535805747
Turn errors on in CI.
These are explicitly disabled by our .ghci file, so we can do this without compromising workflows involving GHCI too much.
2019-10-08 16:46:35 -04:00
Rob Rix
b053774ede
Merge branch 'remove-reprinter-and-rewriter' into precise-json 2019-10-08 16:32:19 -04:00
Rob Rix
757fa00b03
Indentation. 2019-10-08 16:30:56 -04:00
Rob Rix
7d0eb24bb7
🔥 a redundant language extension. 2019-10-08 16:08:22 -04:00
Rob Rix
e99116d030
Alignment. 2019-10-08 16:07:24 -04:00
Rob Rix
c98ab329a2
🔥 redundant parens. 2019-10-08 16:06:35 -04:00
Rob Rix
b8812623ce
Further purging of language extensions. 2019-10-08 16:04:20 -04:00
Rob Rix
5928991c72
🔥 a redundant import. 2019-10-08 16:02:29 -04:00
Rob Rix
36d8d4682b
Re-export :+:. 2019-10-08 16:02:18 -04:00
Rob Rix
b25c92bea0
Reformat the language extensions, I guess. 2019-10-08 16:00:42 -04:00
Rob Rix
d688109c81
🔥 DerivingStrategies. 2019-10-08 16:00:04 -04:00
Rob Rix
0206995e30
🔥 DeriveAnyClass. 2019-10-08 15:59:12 -04:00
Rob Rix
bfc998cdc0
🔥 a spurious MultiParamTypeClasses. 2019-10-08 15:58:26 -04:00
Patrick Thomson
73344620ee
Merge branch 'master' into remove-shelly 2019-10-08 15:55:52 -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
Rob Rix
29df1afb7b
Project using Prj. 2019-10-08 15:46:49 -04:00
Rob Rix
1aa33a2123
We don’t need DerivingVia now. 2019-10-08 15:46:04 -04:00
Rob Rix
a29670de49
🔥 GCompileSum. 2019-10-08 15:45:48 -04:00
Rob Rix
cb7ddc22a8
🔥 CompileSum. 2019-10-08 15:45:29 -04:00
Rob Rix
80b43c4009
Specialize the instance for :+:. 2019-10-08 15:45:08 -04:00
Rob Rix
1506aed1a7
Use GND for the PrimaryExpression instance. 2019-10-08 15:44:19 -04:00
Rob Rix
34bf5ad033
📝 ShowSum'. 2019-10-08 15:43:24 -04:00
Rob Rix
a2312d1185
📝 ShowSum. 2019-10-08 15:42:21 -04:00
Rob Rix
78cc4835fc
📝 the error case. 2019-10-08 15:41:20 -04:00
Rob Rix
5d4317031a
📝 the right-recursive instance. 2019-10-08 15:41:16 -04:00
Rob Rix
5242e394df
📝 the left-recursive instance. 2019-10-08 15:41:10 -04:00
Rob Rix
579e5792e8
📝 the reflexive instance. 2019-10-08 15:41:02 -04:00
Rob Rix
ea0a4c99b8
📝 Element'. 2019-10-08 15:40:54 -04:00
Rob Rix
acbb1e7cd5
📝 <>. 2019-10-08 15:40:48 -04:00
Rob Rix
607f8263a5
📝 Find'. 2019-10-08 15:40:41 -04:00
Rob Rix
83bead5840
📝 Find. 2019-10-08 15:40:34 -04:00
Rob Rix
abb6eff40f
📝 Side. 2019-10-08 15:40:28 -04:00