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

13933 Commits

Author SHA1 Message Date
Rob Rix
5e125c80bc Merge pull request #1223 from github/markdown-inline-html
Assign HTMLInline in markdown
2017-07-17 15:17:09 -04:00
Rob Rix
62d4522a60 Merge branch 'master' into markdown-inline-html 2017-07-17 15:11:54 -04:00
Rob Rix
7fd8e67941 Merge pull request #1222 from github/preserve-errors-in-repetition-assignment
Preserve errors in repetition assignment
2017-07-17 15:10:43 -04:00
Timothy Clem
902aa213f5 Assign HTMLInline in markdown 2017-07-17 10:50:02 -07:00
Rob Rix
9370addba1 Print the source in white. 2017-07-17 12:58:41 -04:00
Rob Rix
1c1349ef82 Apply the ShowS in putStrErr. 2017-07-17 12:56:40 -04:00
Rob Rix
1b117ef8b0 Add a newline after the callstack. 2017-07-17 12:55:39 -04:00
Rob Rix
dcb1794cfa Print the callstack in white. 2017-07-17 12:55:13 -04:00
joshvera
3f6c71b3a4 Add json grammar module 2017-07-17 12:52:50 -04:00
Rob Rix
d997779bdf Traverse the Maybe directly. 2017-07-17 12:52:17 -04:00
Rob Rix
36801584e0 Prefer the later error. 2017-07-17 12:51:42 -04:00
joshvera
7078fb84f8 Add json package dep 2017-07-17 12:34:14 -04:00
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
joshvera
7135cf0727 Add json project 2017-07-17 12:14:17 -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