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

14246 Commits

Author SHA1 Message Date
Rob Rix
711dcdb203 Define GAlign over Union non-inductively. 2017-08-06 16:35:53 -04:00
Rob Rix
ba895fec3f Define ToJSONFields over Union non-inductively. 2017-08-06 16:32:17 -04:00
Rob Rix
eed5934a21 Define the Diffable instance for Unions without induction. 2017-08-06 16:25:58 -04:00
Rob Rix
0e19a8ed7b Define ConstructorName without reference to union decomposition. 2017-08-06 16:25:13 -04:00
Rob Rix
07c81f114f Move the ConstructorName instance over sums up. 2017-08-06 16:25:04 -04:00
Rob Rix
1fa09cebe3 Constrain the types in the union instead of constraining the Union. 2017-08-06 16:23:27 -04:00
Rob Rix
9d4ab1a878 Bump effects for faster compilation.
https://github.com/joshvera/effects/pull/10
2017-08-06 16:21:58 -04:00
Timothy Clem
8bb4fe3a44 Merge pull request #1279 from github/the-great-tree-sitter-update
The great tree sitter update
2017-08-03 16:30:38 -07:00
Timothy Clem
f5cfed5ee9 ++tree-sitter-json for negative numbers 2017-08-03 15:47:50 -07:00
Timothy Clem
632536d6d1 Ruby changes landed on master 2017-08-03 15:31:08 -07:00
Timothy Clem
653fab5eb1 Except ruby still needs this 2017-08-03 15:28:21 -07:00
Timothy Clem
39178494a1 ++tree-sitter and friends to master 2017-08-03 15:20:37 -07:00
Timothy Clem
6b01580dbb Merge remote-tracking branch 'origin/master' into the-great-tree-sitter-update 2017-08-03 15:09:35 -07:00
Rick Winfrey
2929f160d6 Merge pull request #1277 from github/bump-tree-sitter-python
Bump tree-sitter-python and make Python assignment more robust
2017-08-03 15:03:37 -07:00
Rick Winfrey
f7efacca73 🔥 comment 2017-08-03 14:34:24 -07:00
Rick Winfrey
b1f843679f Add import for swap 2017-08-03 14:22:49 -07:00
Rick Winfrey
1c72b23cea Merge branch 'master' into bump-tree-sitter-python 2017-08-03 14:15:44 -07:00
Timothy Clem
28815031eb No reason to test parse failures here 2017-08-03 13:59:05 -07:00
Timothy Clem
6bc00b46d7 Merge remote-tracking branch 'origin/master' into the-great-tree-sitter-update 2017-08-03 09:50:27 -07:00
Timothy Clem
c001b7bc2a Bump tree-sitter-ruby, only use c++98 2017-08-03 09:35:51 -07:00
Rob Rix
dc7b0a5110 Merge pull request #1265 from github/requiem-for-a-protolude
Requiem for a protolude
2017-08-03 12:08:24 -04:00
Rob Rix
d041dad599 Fix some missing imports. 2017-08-03 12:06:03 -04:00
Rob Rix
ca9340c5f3 Add hlint rules to error on partial list functions. 2017-08-03 12:04:17 -04:00
Rob Rix
2529288f87 Merge branch 'master' into requiem-for-a-protolude 2017-08-03 11:51:09 -04:00
Timothy Clem
9f41276e3b Update for TypeScript grammar changes 2017-08-03 08:49:20 -07:00
Timothy Clem
f38dc3f578 Update for Ruby grammar changes 2017-08-03 08:19:23 -07:00
Timothy Clem
6563a69ebc Update for Golang grammar changes 2017-08-03 08:00:20 -07:00
Timothy Clem
1ebe08c81d Update tree-sitter and all languages 2017-08-03 07:59:00 -07:00
Rob Rix
d1d4e35192 Merge pull request #1278 from github/cmark-gfm
Use cmark-gfm package
2017-08-03 09:51:51 -04:00
Yuki Izumi
134aebe418 Fix my bad Haskell style 2017-08-03 17:26:53 +10:00
Yuki Izumi
bcf6b5b45e Use cmark-gfm package 2017-08-03 17:22:40 +10:00
Rick Winfrey
0dd16d83c1 Fix comment 2017-08-02 17:46:48 -07:00
Rick Winfrey
947102e996 📝 many comment problem for conditional expressions 2017-08-02 17:45:05 -07:00
Rick Winfrey
5858d210b6 This allows for catching a comment, but not greedily matching expressions
Using `many comment` will consume anonymous nodes (including the `+` in a binary operator expression).
2017-08-02 17:27:43 -07:00
Rick Winfrey
12e5d30723 Merge branch 'master' into bump-tree-sitter-python 2017-08-02 16:24:22 -07:00
Rick Winfrey
dc1d724696 Merge pull request #1267 from github/parse-jsx
Enable .jsx file parsing with the TypeScript parser
2017-08-02 15:59:17 -07:00
Rick Winfrey
4204df6003 Merge branch 'master' into parse-jsx 2017-08-02 15:51:45 -07:00
Timothy Clem
2564a48dd1 Merge pull request #1273 from github/print-source
Autodetect print source
2017-08-02 11:01:28 -07:00
Timothy Clem
1a5ffa9bcd Merge branch 'master' into print-source 2017-08-02 10:44:31 -07:00
Rob Rix
ae41d562ae Merge pull request #1275 from github/fix-assignment-error-traces
Fix assignment error traces
2017-08-02 12:29:53 -04:00
Rob Rix
c82bf8f033 Test that error call stacks point at the failing assignments. 2017-08-02 12:21:56 -04:00
Rob Rix
941dbe4d8a Define a function to retrieve the callstack from errors. 2017-08-02 12:19:17 -04:00
Rob Rix
19850efea1 Add callstacks to the spec rules. 2017-08-02 12:11:14 -04:00
Rob Rix
a017b27781 Factor out the construction of the error. 2017-08-02 12:07:47 -04:00
Rob Rix
2093e85a76 Produce the callstacks from the assignment constructors. 2017-08-02 11:58:20 -04:00
Rick Winfrey
9f791d877b Shim for handling comments when they are siblings to decorators 2017-08-01 18:20:30 -07:00
Rick Winfrey
9937b5371d Restrict decorated definition final expressions (for better errors) 2017-08-01 18:19:56 -07:00
Rick Winfrey
462bccb66e Assign comments in concatenated strings as empty string 2017-08-01 18:19:18 -07:00
Rick Winfrey
ef907b81d7 Many comment is too greedy (and not necessary here) 2017-08-01 17:21:56 -07:00
Rick Winfrey
51d3298282 Elide comments from boolean operator expressions 2017-08-01 17:07:31 -07:00