Rob Rix
6dd56e5bd9
Parse tasks take blobs.
2017-07-19 14:42:02 -04:00
Rob Rix
5481883b9f
🔥 Command.
2017-07-19 14:14:07 -04:00
Rob Rix
1c51f23ef4
Import all the symbols from Command.Files instead of Command.
2017-07-19 14:13:22 -04:00
Rob Rix
1fa7b11cc5
🔥 the obsolete import of Arguments.
2017-07-19 14:09:19 -04:00
Rob Rix
0b32ff0a3b
🔥 DiffFixture.
2017-07-19 14:09:11 -04:00
Rob Rix
b630a11b6e
🔥 Arguments.
2017-07-19 14:08:38 -04:00
Rob Rix
7aa8ea1150
Export the DiffMode/ParseMode constructors.
2017-07-19 14:08:32 -04:00
Rob Rix
be5de7acaf
Move DiffMode into SemanticCmdLine.
2017-07-19 14:07:18 -04:00
Rob Rix
4df9192d02
Move ParseMode into SemanticCmdLine.
2017-07-19 14:05:23 -04:00
Rob Rix
2cd59243a0
🔥 DiffArguments.
2017-07-19 14:04:39 -04:00
Rob Rix
b74cc92213
🔥 ParseArguments.
2017-07-19 14:04:33 -04:00
Rob Rix
30d4c6a6e8
🔥 ProgramMode.
2017-07-19 14:04:17 -04:00
Rob Rix
5e13616358
🔥 Arguments.
2017-07-19 14:03:51 -04:00
Rob Rix
1a3708a462
Format the export list.
2017-07-19 14:02:22 -04:00
Rob Rix
9d4737048d
Correct the specs.
2017-07-19 14:01:56 -04:00
Rob Rix
e03ba6b0e4
Define diffing/parsing CLI parsers in terms of SomeRenderer and the action to be performed.
2017-07-19 14:00:30 -04:00
Rob Rix
5ea5b7fb05
Export SomeRenderer.
2017-07-19 13:59:20 -04:00
Rob Rix
0722f09626
Define a SomeRenderer type to abstract type indices away.
2017-07-19 13:54:48 -04:00
Rob Rix
e0013c3a23
Merge pull request #1226 from github/constructor-name
...
Syntax constructor labels
2017-07-18 15:30:50 -04:00
Timothy Clem
74d7bc9d36
Merge branch 'master' into constructor-name
2017-07-18 11:34:54 -07:00
Timothy Clem
28a3313d12
Rename constructorLabelWithSource => constructorNameAndConstantFields
2017-07-18 11:33:28 -07:00
Timothy Clem
31a2e6a08d
Return a ConstructorLabel instead of a ByteString
2017-07-18 11:32:59 -07:00
Timothy Clem
b0e98bd6b5
Reduce language pragmas needed
2017-07-18 11:23:37 -07:00
Timothy Clem
49100a7479
Use Generic1 to get conName for syntax constructor labels
2017-07-18 10:03:32 -07:00
Rob Rix
22f70ecc31
Merge pull request #1224 from github/result-refactor
...
Better reporting of assignment errors
2017-07-18 10:25:42 -04:00
Timothy Clem
64d2175f58
Fix up assignment specs
2017-07-17 14:39:08 -07:00
Timothy Clem
a6f375859f
Update Parser to use Either instead of Result
2017-07-17 14:39:08 -07:00
Timothy Clem
039e019551
Track errors in AssignmentState, Result => Either
2017-07-17 14:39:03 -07:00
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
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
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