1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

12218 Commits

Author SHA1 Message Date
Rob Rix
d524fa05bb Define Align-based GAlign instances for [] and Maybe. 2017-05-03 16:24:05 -04:00
Timothy Clem
c9f69c32b5 ++haskell-tree-sitter to use halt_on_error 2017-05-03 13:22:46 -07:00
Timothy Clem
9b3329b41a ++tree-sitter and friends 2017-05-03 13:14:21 -07:00
Rob Rix
116e5b0e08 Derive GAlign instances for all of the à la carte syntax types. 2017-05-03 16:05:27 -04:00
Rob Rix
c189e786c5 Define a GAlign instance for Identity. 2017-05-03 16:00:13 -04:00
Rob Rix
1f6d044994 Define GAlign instances for Unions. 2017-05-03 15:58:27 -04:00
Rob Rix
ce50d2da71 🔥 the Functor context for GAlign. 2017-05-03 15:56:16 -04:00
Rob Rix
eb18e2ef6e Move the GAlign instance for Syntax into Syntax’ module. 2017-05-03 15:45:07 -04:00
Rob Rix
028d760190 Revert "Reuse the canCompare parameter."
This reverts commit 2f4f50e8e41f64721f6e7cd887d22c16263b3e52.
2017-05-03 15:37:19 -04:00
Rob Rix
be3937cc42 Reuse the canCompare parameter. 2017-05-03 15:24:05 -04:00
Rob Rix
22e7e8ca3e Generalize decompose over the general term-diffing algorithm computation. 2017-05-03 15:17:59 -04:00
Rob Rix
a212fc628d s/cont/yield/. 2017-05-03 14:58:48 -04:00
Rob Rix
2e825ec90b Generalize runAlgorithm and runAlgorithmSteps to arbitrary functors in Freer. 2017-05-03 14:54:41 -04:00
Rob Rix
744f8cfe2e Generalize the algorithm running functions over arbitrary term/diff types. 2017-05-03 14:51:58 -04:00
Rob Rix
b7d5f03a1b 🔥 runAlgorithmStep. 2017-05-03 14:50:23 -04:00
Rob Rix
34807f26bb runAlgorithmSteps is parameterized by the decomposition operation. 2017-05-03 14:50:10 -04:00
Rob Rix
2e2ff9d614 runAlgorithm is parameterized by the decomposition operation. 2017-05-03 14:45:46 -04:00
Rob Rix
77bdda7b7e s/run/runAlgorithm/. 2017-05-03 14:38:11 -04:00
Rob Rix
cb7a5a7b57 runStep returns the continuation without wrapping in Either. 2017-05-03 14:35:54 -04:00
Rob Rix
459616e543 Merge branch 'master' into opt-in-anonymous-nodes 2017-05-03 14:27:03 -04:00
Rob Rix
f27c8eae98 Merge pull request #1098 from github/generalize-s-expression-rendering
Generalize s-expression rendering to arbitrary Foldables
2017-05-03 14:22:28 -04:00
Rob Rix
11ca3a902b 🔥 a redundant constraint. 2017-05-03 13:55:18 -04:00
Rob Rix
363d21b607 Generalize s-expression rendering to arbitrary Foldables. 2017-05-03 13:43:32 -04:00
Rob Rix
1d024aafc9 Assign regular = assignments. 2017-05-03 11:52:38 -04:00
Rob Rix
8cc0526b23 Move assignment out into a separate top-level binding. 2017-05-03 11:51:22 -04:00
Rob Rix
159cf5772b Assign ^=. 2017-05-03 11:50:01 -04:00
Rob Rix
53fde0b91b Assign <<=. 2017-05-03 11:49:16 -04:00
Rob Rix
64dc3c7ff4 Assign >>=. 2017-05-03 11:49:00 -04:00
Rob Rix
96fabf70d4 Assign %=. 2017-05-03 11:48:22 -04:00
Rob Rix
b2ae6515f6 Assign &=. 2017-05-03 11:47:36 -04:00
Rob Rix
05be6e2f98 Assign &&=. 2017-05-03 11:47:14 -04:00
Rob Rix
175ac88ac4 Reformat a bit. 2017-05-03 11:43:36 -04:00
Rob Rix
feb99c9d3a Assign |=. 2017-05-03 11:42:35 -04:00
Rob Rix
d215d0b597 Assign ||=. 2017-05-03 11:41:17 -04:00
Rob Rix
4b01c83fe3 Define bitwise operator syntax. 2017-05-03 11:40:14 -04:00
Rob Rix
82d2a73cf2 Define the modulus operation. 2017-05-03 11:38:18 -04:00
Rob Rix
417b990d00 Represent boolean operations with a single type. 2017-05-03 11:37:43 -04:00
Rob Rix
3db7c5ff4f Assign /=. 2017-05-03 11:35:36 -04:00
Rob Rix
7790ff6441 Represent arithmetic operations with a single type. 2017-05-03 11:35:00 -04:00
Rob Rix
f408214d85 Assign **=. 2017-05-03 11:31:36 -04:00
Rob Rix
6e51415cfb Assign *=. 2017-05-03 11:28:47 -04:00
Rob Rix
3b54a4ebf3 Assign -=. 2017-05-03 11:27:03 -04:00
Rob Rix
b8bd18e742 Define binary subtraction syntax. 2017-05-03 11:26:53 -04:00
Rob Rix
b4face5176 Clarify one of the test descriptions. 2017-05-03 11:23:31 -04:00
Rob Rix
2b9fb8552a Only drop anonymous nodes for choices where all symbols are regular. 2017-05-03 11:15:54 -04:00
Rob Rix
a96596b01c Update the tests. 2017-05-03 10:56:01 -04:00
Rob Rix
927ec1b2dc 🔥 stateTypes. 2017-05-03 10:55:52 -04:00
Rob Rix
acb8e7d693 Drop non-Regular symbols. 2017-05-03 10:50:36 -04:00
Rob Rix
4c5a5b56c6 🔥 withTokens. 2017-05-03 10:50:22 -04:00
Rob Rix
2a841a672b Don’t drop anonymous nodes for choices including anonymous symbols. 2017-05-03 10:50:11 -04:00