1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 13:21:59 +03:00
Commit Graph

14235 Commits

Author SHA1 Message Date
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
Rick Winfrey
a2bb8479a3 Elide comments from comprehensions 2017-08-01 17:02:50 -07:00
Rick Winfrey
f486f2c41a Elide comments preceeding a binary operator but after the left hand expression 2017-08-01 16:54:12 -07:00
Rick Winfrey
a2dd9de441 Handle comments in problematic locations for conditional expressions 2017-08-01 16:52:38 -07:00
Rick Winfrey
09889b86d5 Capture expressions on right hand side of binary operator expressions 2017-08-01 16:52:19 -07:00
Rick Winfrey
61a5fd0200 Capture expressions on the right hand side (to include comments) 2017-08-01 16:51:39 -07:00
Rick Winfrey
ada6eb2d51 Not all expressions have WithItem the symbol 2017-08-01 16:51:12 -07:00
Timothy Clem
10ad4e29f6 Autodetect print source 2017-08-01 15:05:25 -07:00
Rick Winfrey
e6bcf3ac82 Allow comments after decorator line 2017-08-01 12:53:33 -07:00
Rick Winfrey
921bc1db2d Assign argument list 2017-08-01 12:47:45 -07:00
Rick Winfrey
61a34fe866 Assign comments in decorator definitions 2017-08-01 11:53:38 -07:00
Rick Winfrey
1d56e79950 Merge branch 'master' into bump-tree-sitter-python 2017-08-01 10:12:18 -07:00