Patrick Thomson
7eaf7423e0
Fix the generators and kill some unused imports.
2019-10-07 17:45:53 -04:00
Patrick Thomson
ae46a7b105
Make Data.Name.Name a newtype rather than a synonym.
...
The fact that `Name` was a simple alias for `Text` was creeping into
the error messages I'm seeing in `semantic-python`, which was a bit of
a buzzkill. This remedies that.
2019-10-07 17:45:53 -04:00
Rob Rix
527ad69cbd
Merge branch 'master' into core-source-loc-name
2019-10-07 17:41:26 -04:00
Rob Rix
dcc228d1fa
Update for the new shape of Name.
2019-10-07 17:36:35 -04:00
Rob Rix
c5fe348ed3
Simplify locFromTSSpan.
2019-10-07 17:34:15 -04:00
Rob Rix
16b475c57f
Rename FailWithLocC to FailC.
2019-10-07 17:26:37 -04:00
Rob Rix
1391e75a14
Move FailWithLocC into its own module.
2019-10-07 17:25:11 -04:00
Rob Rix
89e0185371
Stub in a module for FailWithLoc.
2019-10-07 17:21:23 -04:00
Rob Rix
a93327f46d
🔥 emptySpan.
2019-10-07 17:19:16 -04:00
Rob Rix
36eb0df4a9
Don’t use emptySpan in the doctests.
2019-10-07 17:18:53 -04:00
Rob Rix
d70f95fa56
Don’t re-export Span/Pos.
2019-10-07 17:18:18 -04:00
Rob Rix
8f11c4dae3
🔥 some commented-out fields.
2019-10-07 17:16:37 -04:00
Rob Rix
0b642f579d
Use semantic-source’s definition of Span.
2019-10-07 17:16:01 -04:00
Rob Rix
b082341704
Depend on semantic-source.
2019-10-07 17:14:32 -04:00
Rob Rix
03b12f2900
Define as a newtype wrapper around Text.
2019-10-07 17:10:24 -04:00
Patrick Thomson
651ec2a664
Merge pull request #315 from github/java-under-construction
...
Update Java support status in the README.
2019-10-07 17:09:45 -04:00
Patrick Thomson
998f04ee18
Update Java support status in the README.
...
Now that we’ve removed the Java syntax and assignment modules, parse/assign/diff capabilities for Java have, temporarily, regressed. Let’s inform people of this in the README.
2019-10-07 16:54:10 -04:00
Rob Rix
397dc43e84
Merge pull request #306 from github/precise-s-expressions
...
Precise s-expression output for precisely represented languages
2019-10-07 11:30:54 -04:00
Rob Rix
87b2779c78
Merge branch 'master' into precise-s-expressions
2019-10-07 10:55:53 -04:00
Rob Rix
b2352868ff
Merge pull request #293 from github/semantic-java
...
Java tagging support
2019-10-07 10:55:14 -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
Patrick Thomson
9ee99ef4b4
Merge pull request #309 from github/build-benchmarks-in-ci
...
Build, but don't run, the benchmarks in CI.
2019-10-05 09:06:43 -04:00
Rick Winfrey
964d53afe3
Merge pull request #310 from github/remove-haskell-syntax-modules
...
Remove Haskell language modules for now
2019-10-04 15:41:09 -07:00
Rick Winfrey
4729b5e677
Remove Haskell language modules for now
2019-10-04 15:00:58 -07:00
Patrick Thomson
43f0fd4140
Merge branch 'master' into build-benchmarks-in-ci
2019-10-04 17:36:43 -04:00
Patrick Thomson
590767697c
Merge pull request #308 from github/catfile-improvement
...
Speed up Semantic.Git.catFile and avoid crashes on non-UTF-8 input.
2019-10-04 17:36:14 -04:00
Patrick Thomson
a3f2816d4d
New version should be 0.0.1.0.
2019-10-04 17:16:34 -04:00
Patrick Thomson
532876705f
Build, but don't run, the benchmarks in CI.
...
Should address issues with the benchmarks bitrotting.
2019-10-04 16:48:49 -04:00
Patrick Thomson
e5841eb473
Squash warnings.
2019-10-04 15:49:34 -04:00
Patrick Thomson
2f91bad319
Fix tests.
2019-10-04 15:49:30 -04:00
Patrick Thomson
4684e3a798
Overhaul catFile.
2019-10-04 12:39:13 -04:00
Patrick Thomson
2aae2af79f
Add an NFData instance for Source.
2019-10-04 12:38:32 -04:00
Patrick Thomson
54394d61c8
Move around and correct benchmarks.
2019-10-04 12:37:24 -04:00
Patrick Thomson
284fc30f1c
Reorganize benchmarks.
2019-10-04 11:25:34 -04:00
Rob Rix
2791018ce0
Merge remote-tracking branch 'origin/semantic-java' into precise-s-expressions
2019-10-03 14:26:53 -04:00
Rob Rix
4eb0e76bee
Use square brackets for collections.
2019-10-03 14:24:00 -04:00
Rob Rix
722f8d3a18
Special-case empty collections.
2019-10-03 14:22:46 -04:00
Rob Rix
9439145b2b
Increase indentation.
2019-10-03 14:21:02 -04:00
Rob Rix
67e2909b05
Simplify the formatting of compositions.
2019-10-03 14:17:29 -04:00
Rob Rix
546c1d0e64
List the imports explicitly.
2019-10-03 14:15:47 -04:00
Rob Rix
7b74525d2f
Specialize for the wrapper types and format accordingly.
2019-10-03 14:11:51 -04:00
Rob Rix
7dabb9a972
Use a list literal.
2019-10-03 13:50:47 -04:00
Rob Rix
70c309aaec
Tweak to alignment.
2019-10-03 13:43:21 -04:00
Rob Rix
90341c1138
Merge branch 'master' into semantic-java
2019-10-03 13:24:52 -04:00
Timothy Clem
05edc308d0
Merge pull request #296 from github/proto-lens
...
Switch to proto-lens
2019-10-03 10:15:15 -07:00
Rob Rix
779b1154c6
Allow s-expr rendering for Java & precise Python.
2019-10-03 12:58:06 -04:00
Timothy Clem
f8c76b2329
Merge remote-tracking branch 'origin/master' into proto-lens
2019-10-03 09:48:06 -07:00
Rob Rix
88f9fc88c7
Define a SExprTerm instance for Precise python.
2019-10-03 12:47:18 -04:00