Rob Rix
4c58f0877e
Rename Control.Carrier.Fail.WithLoc to .WithFile.
2019-10-10 13:38:56 -04:00
Rob Rix
6a0be9cf09
Split up Loc annotations.
2019-10-10 13:36:58 -04:00
Rob Rix
200c3edf77
Evaluate doubly-annotated terms.
2019-10-10 13:30:01 -04:00
Rob Rix
dfceb329f9
Split Loc annotations into separate Path & Span readers.
2019-10-10 13:26:09 -04:00
Rob Rix
c97c8c7e12
Inline Loc into File.
2019-10-10 13:12:32 -04:00
Rob Rix
d044ea2fc4
Add a newtype wrapper around Path.
2019-10-10 13:08:14 -04:00
Rob Rix
2be7c29dad
Parameterize Ann with the annotation type.
2019-10-10 13:06:02 -04:00
Rob Rix
6237832684
Merge pull request #320 from github/standardize-compilation-names
...
[semantic-python] Remove problematic `compile` and rename `compileCC`.
2019-10-10 12:14:40 -04:00
Patrick Thomson
3fa80d5095
Fix Rob's suggestions.
2019-10-10 10:30:42 -04:00
Patrick Thomson
9091a43804
s/compileCC/compile
2019-10-09 12:55:15 -04:00
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