1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 21:01:35 +03:00
Commit Graph

14277 Commits

Author SHA1 Message Date
Rob Rix
898e119af9 Test that alternations of repetitions succeed. 2017-07-26 12:02:18 -04:00
Rob Rix
3cbedc59a2 Distribute alternation through overlapping choices. 2017-07-26 11:11:44 -04:00
Rob Rix
5c0d27c1a2 Test that overlapping choices match the right branch.
This currently fails due to the left-biased nature of how we merge committed choices.
2017-07-26 11:11:15 -04:00
Rob Rix
6e1be163b3 Test that overlapping choices match the left branch. 2017-07-26 11:09:52 -04:00
Rob Rix
2d264d4d44 Explicitly use the union operator. 2017-07-26 11:02:29 -04:00
Rob Rix
b0238bef98 Merge remote-tracking branch 'origin/master' into ghc-8.2.1 2017-07-26 10:29:11 -04:00
Timothy Clem
a09be783ae Merge pull request #1246 from github/python-assignment-fixes
Python assignment fixes
2017-07-24 10:57:57 -07:00
Timothy Clem
26f9b77e8e Merge branch 'master' into python-assignment-fixes 2017-07-24 10:45:05 -07:00
Timothy Clem
fbad9eb01b Alphabetize alternates 2017-07-24 10:44:50 -07:00
Rob Rix
d891836307 Merge branch 'master' into ghc-8.2.1 2017-07-24 13:27:28 -04:00
Rob Rix
c7bdff56c1 Merge pull request #1249 from github/simpler-monolithic-syntax
Simpler monolithic syntax
2017-07-24 13:26:20 -04:00
Rob Rix
62af1aef30 🔥 an obsolete documentation comment. 2017-07-24 13:20:57 -04:00
Rob Rix
2d606aa934 Merge branch 'master' into simpler-monolithic-syntax 2017-07-24 13:20:14 -04:00
Rob Rix
c2c2a61c66 Merge pull request #1245 from github/serialize-concurrent-logging
Serialize concurrent logging
2017-07-24 13:19:23 -04:00
Rob Rix
83e99044f5 Use freer-cofreer as a submodule. 2017-07-24 12:54:23 -04:00
Rob Rix
20cdc2d480 Merge branch 'master' into serialize-concurrent-logging 2017-07-24 12:45:48 -04:00
Rob Rix
ec8b23cfbf Merge pull request #1247 from github/run-assignment-worker-wrapper
runAssignment worker/wrapper refactoring
2017-07-24 12:44:38 -04:00
Rob Rix
5e469a398c 📝 why we capture toNode & source in the top-level definition, but assignment and state in a lambda. 2017-07-24 12:40:09 -04:00
Rob Rix
7a28acf858 Capture the assignment & state in a lambda. 2017-07-24 12:39:52 -04:00
Rob Rix
3ac3002273 Rewrite go in pointful style for better inlining behaviour. 2017-07-24 12:31:55 -04:00
Rob Rix
103c0b9d1d Backtrack with a lambda. 2017-07-24 12:30:36 -04:00
Rob Rix
b74a9bf16a Turn on MonoLocalBinds for a few modules to silence warnings. 2017-07-24 11:51:40 -04:00
Rob Rix
823a78aaf4 Fix a dodgy import. 2017-07-24 11:44:12 -04:00
Rob Rix
0a089e8639 Simplify the constraint for NFData on Diff. 2017-07-24 11:42:32 -04:00
Rob Rix
f364dd4a0b Merge branch 'simpler-monolithic-syntax' into ghc-8.2.1 2017-07-24 11:41:56 -04:00
Rob Rix
4b06647438 Merge branch 'serialize-concurrent-logging' into simpler-monolithic-syntax 2017-07-23 17:54:35 -04:00
Rob Rix
b83366c2d1 Revert "Revert "Lift the operations in Files to MonadIO.""
This reverts commit 8adcb0fba5275ecde11781256b69b43f601f1037.
2017-07-23 16:17:39 -04:00
Rob Rix
0c9bc34a1c Revert "Lift the operations in Files to MonadIO."
This reverts commit 11915d97bf6083c8f4cffaa5cb18b3341e89de48.
2017-07-23 16:16:52 -04:00
Rob Rix
145a1ad155 Revert "Revert "Lift the operations in Files to MonadIO.""
This reverts commit 2d5468e38a3050327654bf5251c16fb68660917c.
2017-07-23 16:16:38 -04:00
Rob Rix
1f4ba7e09d Revert "Lift the operations in Files to MonadIO."
This reverts commit 11915d97bf6083c8f4cffaa5cb18b3341e89de48.
2017-07-23 16:15:01 -04:00
Rob Rix
d6beb353fa 🔥 unused imports. 2017-07-23 16:08:05 -04:00
Rob Rix
f1295cfe0b 🔥 SplitSyntaxDiff. 2017-07-23 16:00:36 -04:00
Rob Rix
d09c1690d7 Remove the leaf type parameter from SplitSyntaxDiff. 2017-07-23 16:00:10 -04:00
Rob Rix
ba68f866fd Remove the leaf type parameter from SyntaxDiff. 2017-07-23 15:59:02 -04:00
Rob Rix
aa8ebfcd73 Remove the leaf type parameter from SyntaxTerm. 2017-07-23 15:56:08 -04:00
Rob Rix
0ba3264f32 Remove the leaf type parameter from Syntax. 2017-07-23 15:46:29 -04:00
Rob Rix
8c46ff8afb 🔥 Syntax record selectors. 2017-07-23 15:15:17 -04:00
Rob Rix
edcb55a686 Move the source adjacent to where it’s used. 2017-07-23 15:08:53 -04:00
Rob Rix
7902bf683d Pass blobs to parseToAST. 2017-07-23 15:06:21 -04:00
Rob Rix
ca68b834e1 Specify language lookup with a list. 2017-07-23 15:03:02 -04:00
Rob Rix
ec0c5420a3 Use the SyntaxTerm type synonym. 2017-07-23 15:00:46 -04:00
Rob Rix
cb90f2dd43 Don’t slice the Source down repeatedly.
Slicing Source is O(1).
2017-07-23 14:59:34 -04:00
Rob Rix
999d2d1efb Remove the Language from TreeSitterParsers. 2017-07-23 14:56:44 -04:00
Rob Rix
607e538588 Define a function selecting a Language for a Ptr TSLanguage. 2017-07-23 14:56:18 -04:00
Rob Rix
5b8015311f Show the language of sources with parse errors. 2017-07-23 14:44:12 -04:00
Rob Rix
86823f75ad Log a warning on parse error. 2017-07-23 14:42:51 -04:00
Rob Rix
8b3b6f36e2 Define a catamorphism determining whether a term contains parse errors. 2017-07-23 14:40:30 -04:00
Rob Rix
93f653b765 Bind the error fields. 2017-07-23 14:33:38 -04:00
Rob Rix
2fb501ab30 Bind the current time instead of using do notation. 2017-07-23 14:27:24 -04:00
Rob Rix
77e7ed0ba5 Spacing. 2017-07-23 14:24:05 -04:00