Patrick Thomson
2cbc52804b
Merge remote-tracking branch 'origin/master' into semantic-scope-graph
2020-01-15 16:30:42 -05:00
Patrick Thomson
52d916e280
Move the shared SingleIdentifier pattern to its own module.
2020-01-15 15:43:41 -05:00
Patrick Thomson
d5bec1bf7a
No more orphan instances.
2020-01-15 15:00:01 -05:00
Patrick Thomson
bf5656e75b
Somehow I dropped every single dependency here.
2020-01-15 11:35:59 -05:00
Timothy Clem
cc8d71d4cf
Use newly released versions of tree-sitter with optimizations
2020-01-14 12:41:53 -08:00
Patrick Thomson
d6326dfe90
Neither are these
2020-01-14 15:14:39 -05:00
Patrick Thomson
0048017d03
Run this on CI.
2020-01-14 15:04:18 -05:00
Patrick Thomson
b38631c7b5
add version bounds
2020-01-14 15:03:06 -05:00
Patrick Thomson
f94e6c5431
get our first test cases up
2020-01-14 14:53:10 -05:00
Patrick Thomson
c8989c323a
move this to an actual unit test
2020-01-14 14:48:58 -05:00
Patrick Thomson
bb01a368fb
This reverts commit e7df755bb6
.
2020-01-13 10:08:07 -05:00
Patrick Thomson
524fbba3ad
move the Sketch effect into semantic-scope-graph
2020-01-10 18:48:40 -05:00
Patrick Thomson
61f8f2e8ba
This is nicer with proper use of Monoid and Semigroup.
2020-01-10 18:31:38 -05:00
Patrick Thomson
da58e5c69c
start creating sketch effect
2020-01-10 15:14:05 -05:00
joshvera
6ff8abbe41
spit out a python tree
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:13:48 -05:00
joshvera
2ec9dc5595
Replace Graph with unlabeled graph
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:02:53 -05:00
joshvera
d9a51bef2d
Add a semantic-python stub executable
...
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:51:37 -05:00
joshvera
4ba5989776
Add a ToScopeGraph interface in semantic-python
2020-01-08 12:29:17 -05:00
Timothy Clem
12428e4988
Try to always use tree-sitter 0.7.2
2019-12-18 10:59:52 -08:00
Patrick Thomson
266a720fa9
Use PVP operator.
2019-12-16 12:20:05 -05:00
Patrick Thomson
6bebd84deb
Officially require GHC 8.8.
2019-12-13 15:48:49 -05:00
Patrick Thomson
dc69714053
Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8
2019-12-13 11:23:36 -05:00
Patrick Thomson
810d28f615
Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8
2019-12-11 12:31:30 -05:00
Timothy Clem
ec19540425
++tree-sitter 0.7
...
Also bumps parsers that changed
2019-12-10 16:34:26 -05:00
Rob Rix
a461c72ae4
Bump a few tree-sitter-* versions.
2019-12-10 15:10:25 -05:00
Rob Rix
df43078a65
Merge branch 'master' into fused-effects-one-dot-zero
2019-12-10 14:48:48 -05:00
Timothy Clem
5926b47438
++tree-sitter 0.7
...
Also bumps parsers that changed
2019-12-10 11:04:02 -08:00
Patrick Thomson
68ab3cbb97
semantic:exe now compiles
2019-12-10 13:32:56 -05:00
Timothy Clem
285ba19b2b
Bump to latest tree-sitters
2019-12-09 09:52:42 -08:00
Patrick Thomson
14d7ba5b0b
Add failure syntax.
2019-11-13 14:33:39 -05:00
Patrick Thomson
35ea116f00
Bump various FE dependencies from 0.5 to 1.0.
2019-11-07 15:48:57 -05:00
Patrick Thomson
630f2fcb3d
Initial version of this before I go on a refactoring spree.
2019-10-30 13:13:53 -04:00
Rob Rix
32c1c79022
Bump the tested-with version to 8.6.5 for semantic & semantic-python.
2019-10-21 13:31:06 -04:00
Rob Rix
3a464355bd
semantic-python’s tests depend on semantic-analysis.
2019-10-11 12:56:44 -04:00
Rob Rix
f4c4a37c44
Fix imports.
2019-10-10 17:59:50 -04:00
Rob Rix
ae5591437f
Bump the constraints on tree-sitter{,-java,-python}.
2019-10-07 14:07:44 -04:00
Rob Rix
d07cc5508a
Move Language.Python & Language.Python.Tags into semantic-python.
2019-10-03 01:13:41 -04:00
Rob Rix
bd73cd0e1d
Bump to the latest tree-sitter* packages.
2019-09-27 14:02:49 -04:00
Patrick Thomson
3926742c1d
Improve parsing of FileCheck-style tags.
...
This used to operate via some fast-and-loose (ab)use of the Trifecta
API. A simpler way to do things is to use streaming-bytestring to load
a file line by line and parse directives until we encounter program text.
2019-09-23 22:00:44 -04:00
Patrick Thomson
a89cd0dad9
Eliminate inefficient RelPath->String->Text conversion.
2019-09-19 15:31:04 -04:00
Patrick Thomson
8dc4db0e21
No more filepath dependency.
2019-09-18 15:03:16 -04:00
Patrick Thomson
328d1ac251
Everyone gets to depend on text.
2019-09-18 14:50:28 -04:00
Patrick Thomson
0dc0a534c6
Start using typed paths in tests.
2019-09-18 14:41:58 -04:00
Patrick Thomson
7d0f817409
Merge branch 'bump-to-tree-sitter-0.2.1' into sempy-early-returns
2019-09-17 10:49:12 -04:00
Patrick Thomson
05d84ea500
Update to latest round of tree-sitter packages.
2019-09-17 10:46:20 -04:00
Patrick Thomson
8b66533c3b
Bump to tree-sitter-python 0.3.0.0.
2019-09-16 13:36:52 -04:00
Patrick Thomson
b3ecc9fb56
Bump to tree-sitter-0.2.1.
2019-09-11 18:24:15 -04:00
Patrick Thomson
584e8721f1
Show more and prettier information in the failure dump.
2019-09-11 11:45:21 -04:00
Patrick Thomson
7f833f08f5
Bump tree-sitter versions.
2019-09-09 11:39:29 -04:00
Patrick Thomson
5bae778b14
Move warnings into shared haskell component.
2019-09-03 13:35:33 -04:00