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 |
|
Rob Rix
|
306c4ee42e
|
Remove the redundant type parameter from Assignment.
|
2017-08-02 15:58:45 -04:00 |
|
Rob Rix
|
b6e064e187
|
Note that we should log assignment errors.
|
2017-08-02 15:50:22 -04:00 |
|
Rob Rix
|
69b66fcf21
|
Separate warnings for parsing & assignment errors in the tree.
|
2017-08-02 15:49:56 -04:00 |
|
Rob Rix
|
7d07624f4e
|
Add an error handler to the Python expression rule.
|
2017-08-02 15:42:13 -04:00 |
|
Rob Rix
|
c2e2aa9b7c
|
Log the details of assignment errors in the tree.
|
2017-08-02 15:35:06 -04:00 |
|
Rob Rix
|
6821e463d0
|
Add optional assignment errors to Syntax.Error.
|
2017-08-02 15:31:12 -04:00 |
|
Rob Rix
|
bc0df93593
|
Derive Foldable, Functor, & Traversable instances for Error.
|
2017-08-02 15:30:53 -04:00 |
|
Rob Rix
|
af6a3c8b75
|
Correct an obsolete comment.
|
2017-08-02 15:18:03 -04:00 |
|
Rob Rix
|
c8bedceabe
|
Rename the type parameter for the parent context.
|
2017-08-02 15:12:50 -04:00 |
|
Rob Rix
|
f9976fd144
|
🔥 more redundant parens.
|
2017-08-02 15:04:02 -04:00 |
|
Rob Rix
|
fe1d3cb4db
|
🔥 redundant parens.
|
2017-08-02 15:03:45 -04:00 |
|
Rob Rix
|
2cc13c427d
|
🔥 Capture & Escape.
|
2017-08-02 15:00:06 -04:00 |
|
Rob Rix
|
aef66153d9
|
Remove the capture/escape from the Python grammar.
|
2017-08-02 14:59:53 -04:00 |
|
Rob Rix
|
9b1bd71523
|
Change the result type to reflect the rest of iteration.
|
2017-08-02 14:45:57 -04:00 |
|
Rob Rix
|
f2ae2cadd9
|
Run the delimited assignment.
|
2017-08-02 14:16:51 -04:00 |
|
Rob Rix
|
6e2f3a4358
|
Stub in an attempt at resolving assignment errors in Python expressions.
|
2017-08-02 14:10:54 -04:00 |
|
Rob Rix
|
ced0c5bfa5
|
Define smart constructors for capture & escape.
|
2017-08-02 14:05:34 -04:00 |
|