Rob Rix
6a04e3843b
Sort the import of Files down.
2017-07-21 11:42:06 -04:00
Rob Rix
e2a21addf2
Log messages to stderr.
2017-07-21 11:38:17 -04:00
Rob Rix
6c272105a4
Format messages as ByteStrings.
2017-07-21 11:38:02 -04:00
Rob Rix
03862a33f5
Define a Message type for logging.
2017-07-21 11:37:54 -04:00
Rob Rix
d1b3cc5c06
🔥 runAlgorithm/runAlgorithmSteps.
...
These have been subsumed by freer-cofreer’s runFreer & freerSteps.
2017-07-21 11:08:01 -04:00
Rob Rix
07edce5bfc
Bump freer-cofreer to master
.
2017-07-21 11:05:58 -04:00
Rick Winfrey
dc0d6ed90b
Fix typo
2017-07-20 17:34:19 -07:00
Rick Winfrey
e1460fadc1
Clarify "rest" in terms of Union
2017-07-20 17:25:27 -07:00
Rick Winfrey
74c6714be1
📝 the Diffable instances
2017-07-20 17:21:20 -07:00
Timothy Clem
cf268a3ce3
Make Ruby assignment lenient: everything is an expression
2017-07-20 15:10:12 -07:00
Rick Winfrey
16ed7e704a
Merge branch 'master' into diff-assignment-by-syntax
2017-07-20 14:50:52 -07:00
Timothy Clem
ad7342b93f
Merge branch 'master' into catch-error-specs
2017-07-20 14:25:23 -07:00
Rick Winfrey
ad70ccb97d
🔥 Diffable for old Syntax
2017-07-20 14:21:59 -07:00
Rick Winfrey
ec5ec8ebb5
Replace diffLinearly -> diffRecursively
2017-07-20 14:17:01 -07:00
Rick Winfrey
b6396fbd51
Derive Diffable instances for Syntax constructors
2017-07-20 14:16:18 -07:00
Rick Winfrey
c8da38ddc2
Add Diffable class and instances
2017-07-20 14:15:01 -07:00
Timothy Clem
9618db2cdb
Produce program syntaxes (for ruby at least)
2017-07-20 13:52:10 -07:00
Timothy Clem
fc9851334f
Introduce expressions and declarations to Python assignment to cleanup code
2017-07-20 11:54:41 -07:00
Timothy Clem
6bf440d240
Python elif and else need to take multiple statements too
2017-07-20 11:42:56 -07:00
Timothy Clem
996b8fbf30
Fix python assignment for multiple statements in if body
2017-07-20 11:39:07 -07:00
Timothy Clem
2ca5412769
Python ExpressionStatement can have one or more declarations
2017-07-20 11:26:26 -07:00
Timothy Clem
2c00461f23
Allow assignment of <> operator in Python
2017-07-20 11:15:50 -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
Josh Vera
dec0de378c
Merge pull request #1232 from github/json
...
Add a JSON Parser
2017-07-20 12:48:35 -04:00
Josh Vera
974e4a3068
Merge branch 'master' into json
2017-07-20 12:41:32 -04:00
Timothy Clem
1183c0265a
err no longer used in these specs
2017-07-20 09:36:41 -07:00
joshvera
de2146a1cd
Merge 'master' into json
2017-07-20 12:35:34 -04: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
joshvera
f7a7a2c180
Add parseError to value Assignment in the JSON parser
2017-07-20 11:12:08 -04:00
joshvera
0b497fb8a2
Remove JSON from ToCTermRenderer since it doesn't have functions
2017-07-20 11:06:19 -04:00
joshvera
fb84ec83f5
Add JSON to parseBlob
2017-07-20 11:06:19 -04:00
joshvera
00205c3d26
Sort Syntax in JSON parser
2017-07-20 11:06:19 -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
Josh Vera
83e816b04f
Merge branch 'master' into json
2017-07-19 18:35:39 -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