Rob Rix
3334ec81d3
🔥 OVERLAPPABLE.
2019-10-08 15:37:52 -04:00
Rob Rix
711ec1957d
📝 Prj.
2019-10-08 15:35:07 -04:00
Rob Rix
3051c8cace
Spacing.
2019-10-08 15:34:47 -04:00
Rob Rix
da227888ce
Rename Elem to Find.
2019-10-08 15:34:33 -04:00
Rob Rix
da890fa747
Redefine Element using a type family computing which side to recur on.
...
This avoids having to reassociate the tree, which is considerably more expensive for balanced trees.
2019-10-08 15:30:37 -04:00
Rob Rix
75ed50c574
List the imports from GHC.Generics.
2019-10-08 15:20:58 -04:00
Rob Rix
a307d0757a
Define a pattern synonym for matching out of sums.
2019-10-08 15:10:33 -04:00
Rob Rix
4e194a5943
📝 prj.
2019-10-08 15:08:37 -04:00
Rob Rix
ad1de17e64
📝 Element.
2019-10-08 15:08:17 -04:00
Rob Rix
49cba72090
Update semantic-java.
2019-10-08 15:04:00 -04:00
Rob Rix
51e74b9b1e
Update semantic-python.
2019-10-08 15:01:34 -04:00
Rob Rix
5e3afdb2da
Revert " 🔥 AST.Element for now."
...
This reverts commit ad43b0c1a2
.
2019-10-08 14:45:21 -04:00
Rob Rix
a67b67db6f
Merge branch 'master' into precise-json
2019-10-08 14:36:36 -04:00
Patrick Thomson
c33eed2da7
Merge pull request #317 from github/core-source-loc-name
...
Use semantic-source in semantic-core & represent Name as a newtype
2019-10-07 21:35:07 -04:00
Patrick Thomson
665429fa92
We have these JSON instances already.
2019-10-07 20:16:54 -04:00
Patrick Thomson
8d9c7b9277
Unnecessary parens.
2019-10-07 17:46:07 -04:00
Patrick Thomson
a001a02b5c
Formatting.
2019-10-07 17:46:06 -04:00
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
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
d530c57141
Re-export tree_sitter_python from Language.Python.
2019-10-07 14:21:57 -04:00
Rob Rix
72b64eaee0
🔥 semantic’s direct dependency on tree-sitter-java.
2019-10-07 14:18:57 -04:00
Rob Rix
223007c508
Get tree_sitter_java from Language.Java.
2019-10-07 14:18:46 -04:00
Rob Rix
5ff38b7296
Re-export tree_sitter_java from Language.Java.
2019-10-07 14:17:19 -04:00
Rob Rix
501ff24dbf
Add a bound on the tree-sitter-json constraint in the tests.
2019-10-07 14:14:32 -04:00
Rob Rix
dac1041e84
🔥 semantic’s direct dependency on tree-sitter-json.
2019-10-07 14:13:44 -04:00
Rob Rix
bb898a34e6
Get tree_sitter_json from Language.JSON.
2019-10-07 14:13:30 -04:00
Rob Rix
024ff089ed
Re-export tree_sitter_json from Language.JSON.
2019-10-07 14:13:12 -04:00
Rob Rix
ae5591437f
Bump the constraints on tree-sitter{,-java,-python}.
2019-10-07 14:07:44 -04:00
Rob Rix
40e83cab6b
📝 the ToTags instance.
2019-10-07 13:53:37 -04:00
Rob Rix
8073e854a1
Merge branch 'master' into precise-json
2019-10-07 11:58:24 -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
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