1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00
Commit Graph

32319 Commits

Author SHA1 Message Date
Rob Rix
e8420faa01
Define a GTraversable1 instance for K1. 2020-01-13 13:13:14 -05:00
Rob Rix
c574d56e23
Define a GTraversable1 instance for :+:. 2020-01-13 13:07:43 -05:00
Rob Rix
eecace9024
Define a GTraversable1 instance for :*:. 2020-01-13 13:07:05 -05:00
Rob Rix
35f7094dab
Define a GTraversable1 instance for M1. 2020-01-13 13:05:55 -05:00
Rob Rix
e0f6462e78
Add a gtraverse1 method to GTraversable1. 2020-01-13 13:04:25 -05:00
Rob Rix
c6d658130d
Stub in a class for traversal of higher-order subterm positions. 2020-01-13 12:59:59 -05:00
Patrick Thomson
1f93cc02ff okay, now we just need to define Assignment 2020-01-13 12:43:57 -05:00
Patrick Thomson
92aa4bbd0b even more instances 2020-01-13 12:36:42 -05:00
Patrick Thomson
cc37a0c460 even more instances, and build onChildren helper 2020-01-13 12:26:02 -05:00
Patrick Thomson
79def2cb04 even more instances 2020-01-13 11:37:56 -05:00
Patrick Thomson
f7c27f8857 start defining some instances 2020-01-13 10:48:49 -05:00
Patrick Thomson
24053a1477 Sample definition for module stuff. Now to write some Generics code. 2020-01-13 10:33:29 -05:00
Patrick Thomson
bb01a368fb This reverts commit e7df755bb6. 2020-01-13 10:08:07 -05:00
Patrick Thomson
e7df755bb6 let's use pathtype. 2020-01-10 19:24:24 -05:00
Timothy Clem
993e9a3c36 Better sorting to line up symbols 2020-01-10 15:50:01 -08:00
Patrick Thomson
524fbba3ad move the Sketch effect into semantic-scope-graph 2020-01-10 18:48:40 -05:00
Patrick Thomson
4ac7d184f4 extract this function 2020-01-10 18:40:07 -05:00
Patrick Thomson
61f8f2e8ba This is nicer with proper use of Monoid and Semigroup. 2020-01-10 18:31:38 -05:00
Timothy Clem
d0450d2c4a Ignore tags in regexes and subshells for now 2020-01-10 15:24:41 -08:00
Timothy Clem
bc13ecac13 Track locals in operator assignment 2020-01-10 15:24:26 -08:00
Timothy Clem
aca2106862 Order we traverse matters due to tracking locals 2020-01-10 15:24:14 -08:00
Timothy Clem
90ae02b2ee Couple of assignment fixes for splats 2020-01-10 15:23:23 -08:00
Timothy Clem
779698c044 Continue to refine how we match precise and a la carte output 2020-01-10 15:23:11 -08:00
Patrick Thomson
f9aadbb895 Scope graphing DSL works. 2020-01-10 17:46:37 -05:00
Timothy Clem
99e9ee08aa Fix assignment double tagging 2020-01-10 14:05:30 -08:00
Timothy Clem
9f6da4eb47 Don't double tags with recursive intro locals 2020-01-10 14:02:46 -08:00
Timothy Clem
b192709c9e Updated notes 2020-01-10 14:01:54 -08:00
Timothy Clem
b05047c53f Blacklist __LINE__ to match assignment 2020-01-10 14:01:41 -08:00
Timothy Clem
3d04836a8a Don't detect locals on rhs 2020-01-10 13:01:55 -08:00
Patrick Thomson
da58e5c69c start creating sketch effect 2020-01-10 15:14:05 -05:00
Patrick Thomson
1906e7b1bb build a DSL for constructing graphs 2020-01-10 12:22:13 -05:00
Timothy Clem
8bdbaa7350 Keep tracking haskell-tree-sitter changes 2020-01-09 15:01:16 -08:00
Timothy Clem
dfd58dd5c8 Continue to track haskell-tree-sitter optimization work 2020-01-09 14:06:52 -08:00
Timothy Clem
72fb53b109 Use slightly different set of ruby files 2020-01-09 14:06:24 -08:00
Patrick Thomson
7fc6d08bf6 Implement Graph.Class for ScopeGraph 2020-01-08 16:58:38 -05:00
joshvera
1a94c25d32 Print out a scope graph
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 13:25:43 -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
3ec51a53f5 Simplify typeclasses
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:51:25 -05:00
joshvera
0c041b5fd8 Remove circular dependency
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-01-08 12:37:37 -05:00
joshvera
4ba5989776 Add a ToScopeGraph interface in semantic-python 2020-01-08 12:29:17 -05:00
Timothy Clem
c0309111d8 Targeting latest haskell-tree-sitter 2020-01-07 17:08:35 -08:00
Patrick Thomson
1eabf451e0 First haphazard attempt at doing scope graphing. 2020-01-07 13:10:58 -05:00
Timothy Clem
c4d83a8ff1 Add a ruby benchmark 2020-01-07 09:25:12 -08:00
Timothy Clem
04feec6182 Implement some basic benchmarks for tagging 2020-01-06 16:25:20 -08:00
joshvera
eaeb5b6219 stub out a scope graph effect 2020-01-06 18:12:42 -05:00
joshvera
f5e919ed2b stub in scopegraph project 2020-01-06 17:49:43 -05:00
Timothy Clem
9cd8717cc2
Merge pull request #414 from github/more-precise-parsing
More precise parsing
2020-01-06 13:38:35 -08:00
Rob Rix
4022643c42
Don’t shout about the HLINT pragma. 2020-01-06 16:38:00 -05:00