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

14430 Commits

Author SHA1 Message Date
Rob Rix
7f1ff76e4b Add the next set of productions to the state. 2017-08-03 13:13:49 -04:00
Rob Rix
adb84e33f4 Use the state nodes to indicate that we’ve advanced past nodes.. 2017-08-03 13:13:37 -04:00
Rob Rix
7ebd2765ea Compute the first sets of catchError rules. 2017-08-03 13:08:32 -04:00
Rob Rix
c74d313194 Compute the first sets of repetitions. 2017-08-03 13:07:54 -04:00
Rob Rix
f03fd85add Compute the first sets of alternations. 2017-08-03 13:07:14 -04: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
92a2f999ff Define a function computing the first sets for assignments. 2017-08-03 12:33:27 -04:00
Rob Rix
ccd7812e8d Run assignments using iterLookahead. 2017-08-03 12:26:07 -04:00
Rob Rix
69d0b55454 Bump freer-cofreer for iterLookahead. 2017-08-03 12:23:03 -04:00
Rob Rix
e8074d2955 Merge branch 'master' into delimited-control 2017-08-03 12:16:45 -04: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
Rob Rix
918aeb5301 Recur via the worker function. 2017-08-02 17:37:34 -04:00
Rob Rix
79467e3be7 Wrap the body of runParser up in a worker function. 2017-08-02 17:36:48 -04:00
Rob Rix
8454e187d4 Swap the order of the parser & blob params. 2017-08-02 17:36:04 -04:00
Rob Rix
35a431f794 blobFields closes over the blob. 2017-08-02 17:35:08 -04:00
Rob Rix
02ddc4eb65 Show missing languages as the empty string. 2017-08-02 17:34:34 -04:00
Rob Rix
0c1d08d89d Produce a term when assignment fails at the root. 2017-08-02 17:32:12 -04:00
Rob Rix
b619389ec6 Don’t showBlob. 2017-08-02 17:28:53 -04:00
Rob Rix
38387be114 Don’t include the language key when there is no language. 2017-08-02 17:28:09 -04:00
Rob Rix
2d5a1746ba Merge branch 'master' into delimited-control 2017-08-02 17:23:26 -04:00
Rob Rix
29597fa165 Log the blob fields. 2017-08-02 17:21:45 -04:00
Rob Rix
066465e4d1 Syntax.Error always has an Assignment.Error. 2017-08-02 17:20:55 -04:00
Rob Rix
37704d15f1 Let handleError pick up parse errors. 2017-08-02 17:13:48 -04:00
Rob Rix
beb64af235 Handle errors in JSON. 2017-08-02 16:26:43 -04:00
Rob Rix
c4ca401b5d Handle errors in Ruby expressions. 2017-08-02 16:26:10 -04:00
Rob Rix
f47447a509 Handle assignment errors in Markdown. 2017-08-02 16:26:02 -04:00
Rob Rix
773bf87130 Use the shared combinators in the language assignments. 2017-08-02 16:19:40 -04:00
Rob Rix
c05ff0dd59 🔥 unnecessary Eq instances. 2017-08-02 16:16:35 -04:00
Rob Rix
696219509a Define parseError in Data.Syntax. 2017-08-02 16:15:34 -04:00
Rob Rix
a94eaeffaa Define handleError in Data.Syntax. 2017-08-02 16:15:28 -04:00
Rob Rix
ece4e2de3a Define emptyTerm in Data.Syntax. 2017-08-02 16:15:09 -04:00
Rob Rix
d6f6b9d09c Define makeTerm in Data.Syntax. 2017-08-02 16:14:52 -04:00
Rob Rix
83c6797fa9 Extract a handleError combinator. 2017-08-02 15:59:47 -04:00