Rob Rix
a07726fcf3
Preserve errors through repetitions.
2017-07-17 12:22:27 -04:00
Rob Rix
8354b701ae
Alternating results preserves errors.
2017-07-17 12:20:02 -04:00
Rob Rix
3a7c4a238f
Produce errors at the current node’s location instead of the end of the previous node.
...
This gives us better localization of errors, pointing at the start of the (guaranteed extant) current node instead of the state’s current location (which can be an arbitrary distance earlier in the source).
2017-07-17 12:19:15 -04:00
Josh Vera
55cfa89ddf
Merge pull request #1216 from github/parse-errors-as-maximal-symbol
...
Parse errors as maximal symbol
2017-07-14 15:10:18 -04:00
Rob Rix
b66cfcc52c
Select the lesser of the node symbol & the parse error symbol.
...
This effectively clamps the ERROR symbol (65535) to the maximal constructor.
2017-07-14 14:43:36 -04:00
Rob Rix
e2a629121e
Bump haskell-tree-sitter for ParseError as the maximal constructor.
2017-07-14 14:42:26 -04:00
Rob Rix
342711c532
Merge pull request #1207 from github/except-as-clauses
...
Final polish on Python assignment
2017-07-14 11:24:38 -04:00
Rick Winfrey
921be5bfca
Assign Let statements in Except clauses
2017-07-13 15:52:03 -07:00
Rick Winfrey
af8b0ffd2f
Add Catch record fields
2017-07-13 15:49:33 -07:00
Rick Winfrey
9c9f43d4e9
Assign Decorators with no ArgumentList
2017-07-13 15:22:01 -07:00
Rick Winfrey
08560875b6
uncurry
and swap
2017-07-13 15:15:36 -07:00
Rick Winfrey
c0e47ffd8a
🔥 old comment
2017-07-13 15:15:17 -07:00
Rick Winfrey
1efabaed9a
Merge pull request #1204 from github/python-slice-expressions
...
Assign slice expressions
2017-07-13 10:26:40 -07:00
Rick Winfrey
8a0e952a11
Merge branch 'master' into python-slice-expressions
2017-07-13 10:03:53 -07:00
Rick Winfrey
0999f42b96
Merge branch 'master' into python-slice-expressions
2017-07-13 10:02:57 -07:00
Rob Rix
61b8c821c9
Merge pull request #1201 from github/parse-error-symbols
...
Parse error symbols
2017-07-13 12:59:31 -04:00
Rick Winfrey
8b2f608221
🔥 toEnumeration
2017-07-13 09:50:19 -07:00
Rob Rix
8546dc80b7
Merge branch 'master' into parse-error-symbols
2017-07-13 11:03:15 -04:00
Rob Rix
97652b456c
Merge pull request #1205 from github/nested-decorators
...
Assign nested decorators
2017-07-13 11:03:00 -04:00
Rob Rix
b264246b93
Merge branch 'master' into nested-decorators
2017-07-13 11:01:10 -04:00
Rob Rix
7b888cd760
Merge branch 'master' into parse-error-symbols
2017-07-13 10:58:28 -04:00
Rob Rix
fa6047257a
Merge pull request #1166 from github/ruby-assignment
...
Ruby Assignment
2017-07-13 10:47:32 -04:00
Rick Winfrey
0e5a22da2b
Assign nested decorators
2017-07-12 18:51:14 -07:00
Rick Winfrey
67ad264125
Add slice test fixtures
2017-07-12 15:34:17 -07:00
Rick Winfrey
91d15699ce
Assign slice expressions
2017-07-12 15:31:41 -07:00
Rick Winfrey
6da98f3d34
Rename Literal.Range -> Expression.Enumeration
2017-07-12 15:28:05 -07:00
Rob Rix
47e8fdeef5
Represent Markdown nodes with the Node/AST types.
2017-07-12 17:03:57 -04:00
Rob Rix
3bd4fe5665
Assign parse errors in Ruby statements.
2017-07-12 16:20:42 -04:00
Rob Rix
d229ec2310
Assign parse errors in Python.
2017-07-12 16:20:37 -04:00
Rob Rix
1e4eb2d24e
Remove the error parameter from Syntax.Error.
2017-07-12 16:20:24 -04:00
Rob Rix
cf5794d9cc
🔥 a redundant import.
2017-07-12 15:57:14 -04:00
Rob Rix
ca2767ec10
Bump haskell-tree-sitter to master.
2017-07-12 15:56:33 -04:00
Rob Rix
e050a44cf4
Define a Node type for the intermediate representation of metadata.
2017-07-12 15:55:21 -04:00
Rob Rix
c4fc6e5c4a
Use the AST synonym.
2017-07-12 15:40:54 -04:00
Rob Rix
00221d421f
🔥 the ParseError ErrorCause.
2017-07-12 15:35:00 -04:00
Rob Rix
cf8148f804
Merge branch 'master' into parse-error-symbols
2017-07-12 14:58:40 -04:00
Rob Rix
a1b30f7524
Fix up the tests.
2017-07-12 14:51:38 -04:00
Rob Rix
8f26607ade
Bump haskell-tree-sitter for swapped toEnum/fromEnum definitions.
2017-07-12 14:46:10 -04:00
Rob Rix
e4a3e82c0b
Bump haskell-tree-sitter to 🔥 the derived Enum instance.
2017-07-12 14:43:39 -04:00
Timothy Clem
7fff9cc64a
Merge branch 'master' into ruby-assignment
2017-07-12 10:49:19 -07:00
Rick Winfrey
8ed4576b1d
Merge pull request #1198 from github/par-arg-eters
...
Assign parameters / arguments
2017-07-12 10:19:03 -07:00
Rick Winfrey
83fcc206f3
Merge branch 'master' into par-arg-eters
2017-07-12 10:09:06 -07:00
Rick Winfrey
934cb445b0
🔥 the >>=!
2017-07-12 10:02:55 -07:00
Rob Rix
230570c42b
Obviate the need for Maybe
around symbols.
2017-07-12 12:55:57 -04:00
Rob Rix
cdef77fba9
Bump haskell-tree-sitter for ParseError symbols.
2017-07-12 12:42:24 -04:00
Timothy Clem
b3ef7cbded
Fix up unary defined?, thanks @robrix
2017-07-12 09:06:50 -07:00
Timothy Clem
13644ca4c1
Merge pull request #1196 from github/markdown-headings
...
Handle === style markdown headings
2017-07-12 08:27:12 -07:00
Timothy Clem
f87a5039a7
Go back to original Syntax.Empty
2017-07-12 08:18:03 -07:00
Timothy Clem
4d70e1c358
Merge branch 'master' into markdown-headings
2017-07-12 08:12:47 -07:00
Jon Ruskin
40dd01031e
Merge pull request #1180 from github/jonabc/licensing
...
Add license caching
2017-07-12 07:48:45 -07:00