1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

11875 Commits

Author SHA1 Message Date
Rob Rix
ffbca016db Avoid revisiting anonymous nodes. 2017-04-26 11:47:53 -04:00
Rob Rix
e89ea96739 Test the specific error message we get for cascading children failures. 2017-04-26 11:45:58 -04:00
Rob Rix
d57df3f5fb Show a better error for symbol rules. 2017-04-26 11:44:53 -04:00
Rob Rix
61b3e3c71f Show a better error for symbol rules at end of input. 2017-04-26 11:40:59 -04:00
Rob Rix
6010bcb439 Show a better error for committed choice at end of input. 2017-04-26 11:39:32 -04:00
Rob Rix
b7d84470fb Extract how we show choices into the where clause. 2017-04-26 11:37:00 -04:00
Rob Rix
b7899248d5 🔥 a redundant FIXME. 2017-04-26 11:34:43 -04:00
Rob Rix
2154e4a4ad Construct committed choices using the Alternative interface. 2017-04-26 11:29:24 -04:00
Rob Rix
447412be86 Define committed choice as a map of alternatives. 2017-04-26 11:29:13 -04:00
Rob Rix
fe1a04dc91 Differentiate between success and errors with no messages. 2017-04-26 11:27:56 -04:00
Rob Rix
122558da3b Stub in a combinator for committed choice. 2017-04-26 10:44:06 -04:00
Rob Rix
1fe76ee24c Show the rest of assignments following Symbol rules. 2017-04-26 09:33:36 -04:00
Rob Rix
49f5e007da 🔥 Get assignment. 2017-04-25 15:09:41 -04:00
Rob Rix
7be5f34a38 🔥 range/sourceSpan. 2017-04-25 15:09:34 -04:00
Rob Rix
71515d73ae Reintroduce Symbol assignment. 2017-04-25 15:08:23 -04:00
Rob Rix
335cb3194f 🔥 State assignment. 2017-04-25 15:05:04 -04:00
Rob Rix
d5797eba16 Define location assignment. 2017-04-25 15:04:08 -04:00
Rob Rix
448bde4861 Merge pull request #1087 from github/a-la-carte-folds
À la carte folds
2017-04-25 13:57:39 -04:00
Rob Rix
c2607ffc4c 📝 Union’s constructors. 2017-04-25 13:53:18 -04:00
Rob Rix
03c57f2ef4 Merge branch 'master' into a-la-carte-folds 2017-04-25 12:47:47 -04:00
Rob Rix
8e2c1ffd5f Correct the docs of identifierAlg. 2017-04-25 12:39:05 -04:00
Rob Rix
4644bcc2ef Use Traversable as shorthand for Functor + Foldable.
This is not generally a good idea, but we strictly control these unions & syntax types, and it’s hard to imagine non-`Traversable` syntax.
2017-04-25 12:35:49 -04:00
Rob Rix
b6723c56f2 Panic! Our system. 2017-04-25 12:33:41 -04:00
Rob Rix
0db2c73a1e Replace the identifiable algebra with an identifier algebra. 2017-04-25 12:30:36 -04:00
Rob Rix
69bbc13da3 Methods must be part of the syntax. 2017-04-25 12:27:42 -04:00
Rob Rix
30e72f3344 Methods are declarations, not statements. 2017-04-25 12:27:27 -04:00
Timothy Clem
168444acb8 Merge pull request #1086 from github/clean-parse-and-diff-interface
Parse and diff interface that knows nothing about Git or the filesystem
2017-04-25 09:17:17 -07:00
Rob Rix
00200d7822 📝 some cases cyclomaticComplexityAlg doesn’t handle. 2017-04-25 12:17:17 -04:00
Rob Rix
a00ff68f32 Control exits methods at least once. 2017-04-25 12:15:28 -04:00
Rob Rix
390297aa56 📝 cyclomaticComplexityAlg. 2017-04-25 12:13:33 -04:00
Rob Rix
91366b0ba4 📝 CyclomaticComplexity. 2017-04-25 12:11:57 -04:00
Rob Rix
42d8b42f60 Merge branch 'a-la-carte-folds' of https://github.com/github/semantic-diff into a-la-carte-folds 2017-04-25 12:10:56 -04:00
Rob Rix
7bf60eb2ff 🔥 CVAlgebra handling.
We run the risk of making paramorphisms quadratic if we use histomorphisms to decorate, so we compromise on the added flexibility.
2017-04-25 12:10:48 -04:00
Rob Rix
2b703d1f31 Generalize decoratorWithAlgebra to take an R-algebra. 2017-04-25 12:09:10 -04:00
Timothy Clem
975304097c Remove TODO and leave readFile behavior alone for now 2017-04-25 09:07:51 -07:00
Timothy Clem
6be9b9c3cd 🔥 concurrently 2017-04-25 09:05:48 -07:00
Timothy Clem
12948181c5 Merge remote-tracking branch 'origin/master' into clean-parse-and-diff-interface 2017-04-25 09:02:41 -07:00
Rob Rix
68e5042155 Merge branch 'master' into a-la-carte-folds 2017-04-25 10:55:26 -04:00
Rob Rix
6c38ec2b77 Correct the deprecation pragma. 2017-04-24 19:16:50 -04:00
Rob Rix
22ac1e3441 Add a deprecation notice to rToCV. 2017-04-24 18:42:35 -04:00
Rob Rix
7e21c167e1 Define an adaptor from F-algebras to CV-algebras. 2017-04-24 18:35:22 -04:00
Rob Rix
22be6c30f0 Factor Base out of the algebra type synonyms to avoid ambiguity. 2017-04-24 18:34:28 -04:00
Rob Rix
4f7c9a9fa7 Merge pull request #1088 from github/remove-random-walk-similarity
Remove Data.RandomWalkSimilarity
2017-04-24 18:26:08 -04:00
Rob Rix
5b32f9d1b6 Note the awful complexity of rToCV. 2017-04-24 16:09:49 -04:00
Rob Rix
440cc2e792 📝 rToCV. 2017-04-24 16:00:06 -04:00
Rob Rix
4ac68417a2 Define the promotion of R-algebras into CV-algebras. 2017-04-24 15:58:29 -04:00
Rob Rix
bee4b4b06e Define a type synonym for course-of-value algebras. 2017-04-24 15:55:09 -04:00
joshvera
7395e88ab0 Remove Data.RandomWalkSimilarity 2017-04-24 15:53:11 -04:00
Rob Rix
bc3fc4b4af 📝 fToR. 2017-04-24 15:46:51 -04:00
Rob Rix
d6cb7890b9 Define a function to promote F-algebras into R-algebras. 2017-04-24 15:45:50 -04:00