Rob Rix
|
bb9bf71d17
|
Merge branch 'master' into sunshine-lollipops-and-rainbows-everywhere
# Conflicts:
# semantic-diff.cabal
|
2015-11-27 11:36:18 -05:00 |
|
Rob Rix
|
c77b0e088e
|
Remove Console.
|
2015-11-27 11:33:46 -05:00 |
|
Rob Rix
|
7a2ed62632
|
Don’t include Console.
|
2015-11-27 11:33:43 -05:00 |
|
Josh Vera
|
bbc4422199
|
Merge pull request #242 from github/tree-sitter-ffi
Tree sitter FFI
|
2015-11-27 11:32:57 -05:00 |
|
Rob Rix
|
afce15e01f
|
Use <> instead of mappend.
|
2015-11-27 11:32:31 -05:00 |
|
Rob Rix
|
3d65c325d1
|
We no longer need Console.
|
2015-11-27 11:31:35 -05:00 |
|
Rob Rix
|
5c295fdcec
|
Remove the Attribute stuff.
|
2015-11-27 11:31:24 -05:00 |
|
Rob Rix
|
be328aa0c2
|
Unified rendering produces ByteStrings using rainbow.
|
2015-11-27 11:31:03 -05:00 |
|
Rob Rix
|
1f0c240b0c
|
We don’t need to depend on these after all.
|
2015-11-27 11:30:31 -05:00 |
|
Rob Rix
|
b109418ede
|
We don’t need format after all.
|
2015-11-27 11:18:51 -05:00 |
|
Rob Rix
|
1b0aa372bf
|
Depend on bytestring.
|
2015-11-27 10:53:25 -05:00 |
|
Rob Rix
|
4e26e0dbf4
|
Depend on utf8-string.
|
2015-11-27 10:45:08 -05:00 |
|
Rob Rix
|
1010e10889
|
Add a binding to format a string.
|
2015-11-27 10:36:59 -05:00 |
|
Rob Rix
|
7b02760a8a
|
Depend on rainbow .
|
2015-11-27 10:27:48 -05:00 |
|
Rob Rix
|
40828018b9
|
Add the modules to other-modules.
|
2015-11-27 10:22:05 -05:00 |
|
Rob Rix
|
ab39e0b832
|
main-is does not take an array.
|
2015-11-27 10:22:00 -05:00 |
|
Rob Rix
|
99e383a644
|
Move Console and Unified into the exe.
|
2015-11-27 10:14:12 -05:00 |
|
Rob Rix
|
09642ae264
|
Alignment.
|
2015-11-27 10:13:14 -05:00 |
|
Rob Rix
|
45a865698b
|
Explicitly error if maybeInterpret’s assumptions are violated.
|
2015-11-27 10:04:53 -05:00 |
|
Rob Rix
|
edfc082a36
|
Single-line formatting.
|
2015-11-27 09:55:29 -05:00 |
|
Rob Rix
|
fe07b475e4
|
Use fromMaybe to unpack with a default value.
I was looking for exactly this! Very nice.
|
2015-11-27 09:53:37 -05:00 |
|
Rob Rix
|
982fe363d8
|
Sort imports.
|
2015-11-27 09:51:59 -05:00 |
|
Rob Rix
|
3be2d11b13
|
Remove the delete/insert costs.
|
2015-11-27 09:49:51 -05:00 |
|
Rob Rix
|
062d54d731
|
Use a better name for the argument to sum .
|
2015-11-27 09:49:32 -05:00 |
|
Rob Rix
|
53e3928b3d
|
Don’t close over the head of the list.
|
2015-11-27 09:46:51 -05:00 |
|
Rob Rix
|
1808f61221
|
Remove copyCost .
|
2015-11-27 09:46:38 -05:00 |
|
Rob Rix
|
3a52a5c2b6
|
Use minimumBy to implement the insert/delete choice too.
|
2015-11-27 09:45:23 -05:00 |
|
Rob Rix
|
63e3252129
|
Use minimumBy to implement the SES choice.
|
2015-11-27 09:44:49 -05:00 |
|
Rob Rix
|
ab05599dab
|
Sort imports.
|
2015-11-27 09:44:29 -05:00 |
|
Rob Rix
|
05fa421642
|
Document Syntax.
|
2015-11-27 09:41:43 -05:00 |
|
Rob Rix
|
df7d79bc62
|
This is also a Term.
|
2015-11-27 09:31:56 -05:00 |
|
Rob Rix
|
908d6b9de0
|
Ingest Keyed nodes.
|
2015-11-27 09:19:40 -05:00 |
|
Rob Rix
|
1ecad15128
|
Import Data.Map again.
|
2015-11-27 09:19:09 -05:00 |
|
Rob Rix
|
854e2f7013
|
withNamedChildren returns name/child pairs.
|
2015-11-27 09:19:02 -05:00 |
|
Rob Rix
|
2353cf3798
|
Rename the parameter.
|
2015-11-26 16:28:17 -05:00 |
|
Rob Rix
|
0e68767028
|
Close over the function.
|
2015-11-26 16:27:57 -05:00 |
|
Rob Rix
|
fdc2942411
|
Just return the result directly.
|
2015-11-26 16:27:22 -05:00 |
|
Rob Rix
|
3b24a3cd34
|
Parsing returns a Term.
|
2015-11-26 16:25:55 -05:00 |
|
Rob Rix
|
ae7235eb69
|
Use withCString instead of copying and freeing.
|
2015-11-26 16:24:57 -05:00 |
|
Rob Rix
|
4fd4c66f08
|
Rename parse to documentToTerm .
|
2015-11-26 16:22:27 -05:00 |
|
Rob Rix
|
253c461b12
|
Handle the alloca in parse .
|
2015-11-26 16:22:01 -05:00 |
|
Rob Rix
|
f27f35c683
|
Better error messages.
|
2015-11-26 16:21:54 -05:00 |
|
Rob Rix
|
ac470d3fbb
|
We no longer require a Storable instance for TSLength.
|
2015-11-26 16:17:25 -05:00 |
|
Rob Rix
|
8a2fac6816
|
Construct a singleton set.
|
2015-11-26 16:15:56 -05:00 |
|
Rob Rix
|
4505c0f7e3
|
Don’t qualify member and fromList .
|
2015-11-26 16:15:39 -05:00 |
|
Rob Rix
|
f6f4ea05ed
|
Don’t import Data.Map .
|
2015-11-26 16:14:34 -05:00 |
|
Rob Rix
|
54e931eabe
|
Handle the allocation within parseTreeSitterFile .
|
2015-11-26 16:09:16 -05:00 |
|
Rob Rix
|
be6dc5e627
|
Once more remove withAlloc.
|
2015-11-26 16:07:25 -05:00 |
|
Rob Rix
|
ab7fa792ed
|
Use alloca instead of withAlloc.
|
2015-11-26 16:07:21 -05:00 |
|
Rob Rix
|
018f4dcbd5
|
Operate strictly recursively.
This means we’re ensured of using allocations solely within the scopes
in which they are valid.
|
2015-11-26 16:07:04 -05:00 |
|