Timothy Clem
cf268a3ce3
Make Ruby assignment lenient: everything is an expression
2017-07-20 15:10:12 -07:00
Timothy Clem
19eb8f2706
Try to take some source for EmptyStatement
2017-07-20 11:06:34 -07:00
Timothy Clem
2880052c15
Remove sourceState from AssignmentState
2017-07-20 10:23:21 -07:00
Timothy Clem
1183c0265a
err no longer used in these specs
2017-07-20 09:36:41 -07:00
Timothy Clem
6b1a3b0efd
Fix zero width repetitions infinite loop
...
Introduces a stateCounter to detect progress and accepts one and only one zero width match.
Refactored tests a bit to not assert internal state unless specifically necessary.
2017-07-20 09:32:24 -07:00
Timothy Clem
ee0fb33a94
Demonstrate infinite loop with many (pure x)
2017-07-20 09:32:24 -07:00
Timothy Clem
0b23bf901f
Use const
2017-07-20 09:32:24 -07:00
Timothy Clem
4cdac77633
Test out catchError
2017-07-20 09:32:24 -07:00
Rob Rix
9befa439f6
Merge pull request #1233 from github/task-input-output
...
Task input output
2017-07-20 11:12:22 -04:00
Rob Rix
734e42802d
Correct the docs for parse
.
2017-07-20 10:23:35 -04:00
Rob Rix
f9ce0a9e63
Take the blob parameter explicitly.
2017-07-19 20:24:52 -04:00
Rob Rix
6f1cf00255
Move the implementations of readBlobs/readBlobPairs into Task.
2017-07-19 20:20:20 -04:00
Rob Rix
e6739b5430
📝 writeToOutput.
2017-07-19 20:18:44 -04:00
Rob Rix
89df488f78
Merge branch 'master' into task-input-output
2017-07-19 20:13:58 -04:00
Rob Rix
aaf39930b0
Simplify how the output is defaulted to stdout.
2017-07-19 20:07:17 -04:00
Rob Rix
201f9358f8
Correct the tests.
2017-07-19 20:01:59 -04:00
Rob Rix
2fe1c954cf
Merge pull request #1229 from github/cli-refactoring
...
CLI refactoring
2017-07-19 19:57:59 -04:00
Rob Rix
839c64b4a3
Rename Command.Files to Files.
2017-07-19 19:57:36 -04:00
Rob Rix
ebe21c348c
Merge branch 'master' into cli-refactoring
2017-07-19 19:55:03 -04:00
Rob Rix
8d73a83cdf
Bind instead of using do notation.
2017-07-19 17:41:06 -04:00
Rob Rix
71356ead42
Construct a single task.
2017-07-19 17:39:48 -04:00
Rob Rix
beb6c4788c
WriteToOutput takes a handle or a path.
2017-07-19 17:29:38 -04:00
Rob Rix
766f71ba90
🔥 the obsolete getOutputPath logic.
2017-07-19 17:26:52 -04:00
Rob Rix
aad5e2d396
Correct the docs.
2017-07-19 17:24:06 -04:00
Rob Rix
844b8d0dc3
Run tasks in the spec.
2017-07-19 17:23:44 -04:00
Rob Rix
1cb3541efe
Construct a task in the options parser.
2017-07-19 17:22:10 -04:00
Rob Rix
a85aa1f8ff
Carry the language in error declarations.
2017-07-19 17:17:39 -04:00
Rob Rix
c8416ee0fd
Pass blobs to the declaration algebras.
2017-07-19 17:16:51 -04:00
Rob Rix
c0f894162e
Derive an NFData instance for Language.
2017-07-19 17:15:44 -04:00
Rob Rix
4d5ffe7a11
🔥 ParseMode.
2017-07-19 15:46:49 -04:00
Rob Rix
fe21d792fe
Define runParse by composition.
2017-07-19 15:46:31 -04:00
Rob Rix
17af42e21e
Define runDiff by composition.
2017-07-19 15:46:27 -04:00
Rob Rix
2cce3dd671
Define a Task to write output.
2017-07-19 15:44:22 -04:00
Rob Rix
cbb6c885a4
Define Tasks to read blobs.
2017-07-19 15:41:40 -04:00
Rob Rix
8d43d19296
Construct Eithers for the input source(s).
2017-07-19 15:40:56 -04:00
Rob Rix
97a4f75ca8
Generalize readBlobPairs to lists of path/language pairs.
2017-07-19 15:37:01 -04:00
Rob Rix
6afe6a94a4
Define a high-level operation to read a pair of blobs
2017-07-19 15:28:26 -04:00
Rob Rix
90f4aa38a7
Define a high-level operation to read in blobs.
2017-07-19 15:24:55 -04:00
Rob Rix
ab7b39e771
Align the doc comments for AssignmentParser.
2017-07-19 15:17:02 -04:00
Rob Rix
abd0e5ab41
Correct the docs for readFile.
2017-07-19 15:14:21 -04:00
Rob Rix
446ee85894
Pass extant blobs’ paths to showPos.
2017-07-19 15:02:27 -04:00
Rob Rix
b11cf64103
Pass the blob to printError.
2017-07-19 14:59:42 -04:00
Rob Rix
4d62b8be3f
Merge branch 'master' into task-input-output
2017-07-19 14:47:53 -04:00
Rob Rix
97c8b90c83
runParser takes a Blob.
2017-07-19 14:47:07 -04:00
Rob Rix
e5f09b38fc
Merge pull request #1227 from github/language-toc-error-summary
...
Add language to JSON Error Summaries
2017-07-19 14:46:43 -04:00
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