Patrick Thomson
712f10b5b5
Merge branch 'master' into fix-python-multiple-assignment
2019-09-30 11:40:41 -04:00
Patrick Thomson
d7b76d3be4
Don't set the handles to binary mode.
2019-09-29 18:57:35 -04:00
Patrick Thomson
b1b9a23cb3
Merge branch 'master' into semantic-tags
2019-09-29 18:23:51 -04:00
Patrick Thomson
a686344145
Add failing unit tests.
2019-09-29 16:57:11 -04:00
Patrick Thomson
4f67f76b8b
Merge pull request #286 from github/test-ls-tree
...
Add test for Semantic.Git.lsTree.
2019-09-29 15:47:42 -04:00
Patrick Thomson
79dcbfd1ca
Add test for Semantic.Git.lsTree.
...
I have a proposed speedup for lsTree, but since this resides on a
critical path for downstream systems, I want to make sure that I don't
break this while I'm at it.
I really should rewrite this test to use tasty-hspec, but it'd be a
long slog, and I have better things to do.
2019-09-29 13:44:14 -04:00
Patrick Thomson
af429a5933
Consolidate fmaps.
2019-09-28 09:44:55 -04:00
Rob Rix
7c44ebaa07
Missed one.
2019-09-27 20:45:14 -04:00
Rob Rix
23eb8ea78c
Call, not Send.
2019-09-27 20:00:12 -04:00
Rob Rix
e7dfd23548
Qualify the references to Module.
2019-09-27 19:53:22 -04:00
Rob Rix
88c132bf99
Don’t specialize for Program.
2019-09-27 19:51:55 -04:00
Rob Rix
76cb8480a0
Use the correct parser.
2019-09-27 19:51:45 -04:00
Rob Rix
f03000a6fb
Generalize renderPreciseToSymbols.
2019-09-27 19:42:37 -04:00
Timothy Clem
c0cce3b13b
First pass at switching from proto3 to proto-lens
2019-09-27 16:42:12 -07:00
Rob Rix
9585226bb7
Add precise tagging support for Java.
2019-09-27 19:09:09 -04:00
Rob Rix
c81f9660f4
Define a precise Java parser.
2019-09-27 19:08:14 -04:00
Rob Rix
5db7c6a6ee
Rename the import of Language.Python.
2019-09-27 19:07:05 -04:00
Rob Rix
ac0f15103f
Add a field for a Java mode.
2019-09-27 19:06:19 -04:00
Rob Rix
1ec65b4858
Define a constructor for the default language modes.
2019-09-27 19:02:14 -04:00
Rob Rix
3947c50a20
Another typo.
2019-09-27 18:55:26 -04:00
Rob Rix
9f82d6ad0e
Define a custom ToTagsBy instance for MethodInvocation.
2019-09-27 18:52:40 -04:00
Rob Rix
a4ebd26e25
Correct the kinds.
2019-09-27 18:51:12 -04:00
Rob Rix
074967337a
Define a custom ToTagBy instance for ClassDeclaration.
2019-09-27 18:48:48 -04:00
Rob Rix
1d8e0cdc3d
Factor out a helper to compute tags generically.
2019-09-27 18:45:40 -04:00
Rob Rix
0b7f87dc11
Define a custom ToTagsBy instance for Java.Program.
...
This is primarily to avoid having to set -freduction-depth=0 in Language.Java.
2019-09-27 18:43:29 -04:00
Rob Rix
3d93a5d947
Turn off the reduction depth limit.
2019-09-27 18:42:53 -04:00
Rob Rix
a0690fa224
Make semantic depend on semantic-java.
2019-09-27 18:35:50 -04:00
Rob Rix
a2cf763f3f
Define a custom ToTagBy instance for MethodDeclaration.
2019-09-27 18:35:01 -04:00
Rob Rix
2921c4ec73
Fix the top-level syntax type.
2019-09-27 18:32:36 -04:00
Rob Rix
a16240c112
Stub in a semantic-java package.
2019-09-27 18:21:06 -04:00
Patrick Thomson
de2c762d2c
Typo in comment.
2019-09-27 18:18:00 -04:00
Patrick Thomson
b11784f58a
Merge remote-tracking branch 'origin/master' into fix-python-multiple-assignment
2019-09-27 18:17:31 -04:00
Patrick Thomson
8e6a1395c0
w h i t e s p a c e
2019-09-27 18:16:42 -04:00
Rob Rix
36112e2785
Typo.
2019-09-27 18:14:50 -04:00
Rob Rix
52485e192e
Reformat the packages field.
2019-09-27 18:13:47 -04:00
Patrick Thomson
a51151afb5
Make sure chained assignments don't lose their location info.
2019-09-27 18:11:36 -04:00
Rob Rix
7d90dbd56a
Fix the Tags spec.
2019-09-27 18:03:20 -04:00
Patrick Thomson
794265d3a9
Even more comments.
2019-09-27 17:56:19 -04:00
Patrick Thomson
54bc5c7505
Move desugar into a monad.
2019-09-27 17:38:50 -04:00
Patrick Thomson
825726d37e
Add a lot of comments and some clarifying patterns.
2019-09-27 17:36:08 -04:00
Patrick Thomson
b1611e13e8
Initial stab at folding over multiple assignments.
2019-09-27 17:35:51 -04:00
Rob Rix
daefc921eb
Don’t export the Precise constructor.
2019-09-27 17:33:07 -04:00
Rob Rix
9b0187d53d
Fix a missing import of a symbol.
2019-09-27 17:32:38 -04:00
Rob Rix
a415d856d7
Merge branch 'master' into semantic-tags
2019-09-27 17:31:26 -04:00
Patrick Thomson
d59fab955d
Merge pull request #284 from github/fix-benchmarks
...
Make benchmarks operate and switch to `gauge`.
2019-09-27 16:56:20 -04:00
Rob Rix
379b9d4f75
Fix the tests.
2019-09-27 15:15:37 -04:00
Rob Rix
e1226efbbd
Mod unmarshalled tags to one-index them.
2019-09-27 15:14:32 -04:00
Rob Rix
bd73cd0e1d
Bump to the latest tree-sitter* packages.
2019-09-27 14:02:49 -04:00
Patrick Thomson
65060868bc
Make benchmarks operate and switch to gauge
.
...
I find myself wanting to benchmark some I/O code, so I decided to look
at our benchmark suite, to find that it had bitrotted somewhat. This
patch brings it back up to working status, switches to `gauge` (which
is more accurate than `criteron` and incurs fewer dependencies), and
sprinkles some typed paths on there.
2019-09-27 13:18:30 -04:00
Rob Rix
cf1320586d
🔥 Data.Tag.
2019-09-27 12:04:24 -04:00