1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00
Commit Graph

32334 Commits

Author SHA1 Message Date
Rob Rix
0a869110b6
Derive some instances for Generics. 2020-01-13 13:39:24 -05:00
Rob Rix
a23ea55bb8
Define a Generics newtype. 2020-01-13 13:39:06 -05:00
Rob Rix
a8f666ad5b
Define a foldMap1 convenience using traverse1. 2020-01-13 13:35:18 -05:00
Rob Rix
0c6e09849b
📝 traverse1. 2020-01-13 13:31:36 -05:00
Rob Rix
222c5642be
Give a default signature for traverse1. 2020-01-13 13:30:26 -05:00
Rob Rix
32dd435843
Reformat. 2020-01-13 13:29:21 -05:00
Rob Rix
bf3c17fada
Don’t align -#}s in LANGUAGE pragmas. 2020-01-13 13:29:17 -05:00
Rob Rix
45ec40f1c3
Reformat. 2020-01-13 13:28:44 -05:00
Rob Rix
03c017e590
Define a Traversable1 class. 2020-01-13 13:28:29 -05:00
Rob Rix
34114ef52d
📝 gtraverse1. 2020-01-13 13:27:03 -05:00
Rob Rix
04c3712f36
Define a GTraversable1 instance for Rec1. 2020-01-13 13:26:11 -05:00
Rob Rix
87db10b9b3
Define a GTraversable1 instance for U1. 2020-01-13 13:25:21 -05:00
Rob Rix
925158e717
Define a GTraversable1 instance for :.:. 2020-01-13 13:24:11 -05:00
Rob Rix
52f0c8b9bd
Define a GTraversable1 instance for Par1. 2020-01-13 13:23:21 -05:00
Rob Rix
22adcee7d3
Pass a parameter for mapping over annotation positions. 2020-01-13 13:21:28 -05:00
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