Rob Rix
|
a96a88cdf8
|
Document magnitude a little.
|
2015-10-02 12:58:34 -04:00 |
|
Rob Rix
|
bba8dacbc4
|
Some documentation comments.
|
2015-10-01 14:25:17 -04:00 |
|
Rob Rix
|
8961ee9168
|
Branch has only one child.
|
2015-10-01 14:08:13 -04:00 |
|
Rob Rix
|
0e7bc6b2b3
|
Stub in a ByIndex case for SES diffing.
|
2015-10-01 14:01:59 -04:00 |
|
Rob Rix
|
533e4578ea
|
Comma-separate.
|
2015-10-01 14:01:19 -04:00 |
|
Rob Rix
|
12663f1158
|
Add ByKey to Diff.
|
2015-10-01 13:54:23 -04:00 |
|
Rob Rix
|
fb247732cc
|
Move diff equality into Diff.swift.
|
2015-10-01 11:34:17 -04:00 |
|
Rob Rix
|
cdd05ab556
|
Extract the calculation of the magnitude of a syntax node into a function.
|
2015-10-01 10:45:23 -04:00 |
|
Rob Rix
|
97da6a15e4
|
Document Diff’s cases.
|
2015-10-01 10:45:06 -04:00 |
|
Rob Rix
|
18d74a9d9c
|
Diff is AlgebraicHashable.
|
2015-10-01 09:54:56 -04:00 |
|
Rob Rix
|
5dd80cb0ce
|
Diff is defined over Term<Info>.
This enables diffs to operate on categorized Terms.
|
2015-09-30 16:05:39 -04:00 |
|
Rob Rix
|
2d0991b91f
|
Abstract Term over a type parameter A.
|
2015-09-30 14:42:58 -04:00 |
|
Rob Rix
|
5fa07014a6
|
Replace all the other nodes with Branch.
|
2015-09-30 11:42:41 -04:00 |
|
Rob Rix
|
66141c95af
|
Replace Literal/Variable with Leaf.
|
2015-09-30 10:36:25 -04:00 |
|
Rob Rix
|
1f253f4e12
|
Add a phantom type parameter to Syntax.
|
2015-09-30 10:31:48 -04:00 |
|
Rob Rix
|
60821016a2
|
Revert "Empty terms are copied, not patched."
This reverts commit 788dbaa07ceafc084dc0f10f74efc2aa2a6841ec.
|
2015-09-29 12:54:42 -04:00 |
|
Rob Rix
|
dfbfb9fe79
|
Short-circuit for equal terms.
|
2015-09-29 12:54:32 -04:00 |
|
Rob Rix
|
7d36421d6a
|
Empty terms are copied, not patched.
|
2015-09-29 12:53:04 -04:00 |
|
Rob Rix
|
94bcc7d3f0
|
Remove empty diffs.
|
2015-09-29 12:50:34 -04:00 |
|
Rob Rix
|
35581fa6d9
|
Resume using .Empty for Terms.
|
2015-09-29 12:49:36 -04:00 |
|
Rob Rix
|
c3e8d9a801
|
Remove Term.Empty.
|
2015-09-29 12:48:53 -04:00 |
|
Rob Rix
|
c6765e052a
|
Replace the static bracket function.
|
2015-09-28 22:57:29 -04:00 |
|
Rob Rix
|
f4f5ad1e86
|
Rename DOC to Doc.
|
2015-09-28 22:36:22 -04:00 |
|
Rob Rix
|
d3b27cfba4
|
Add a DOC type which constructs Doc.
Following Wadler.
|
2015-09-28 17:06:52 -04:00 |
|
Rob Rix
|
a7ea2ae201
|
Avoid recomputing the magnitudes.
|
2015-09-28 14:21:13 -04:00 |
|
Rob Rix
|
b43a5eaf26
|
Revert "Diff using Vertex."
This reverts commit 881436e01d381b404c12e9c63a8634d6110d251a.
|
2015-09-28 14:17:55 -04:00 |
|
Rob Rix
|
7237ecd7e4
|
Diff using Vertex.
|
2015-09-28 14:17:48 -04:00 |
|
Rob Rix
|
a6473b9eff
|
Abstractions can have >1 elements in their body.
|
2015-09-22 17:23:48 -04:00 |
|
Rob Rix
|
5c7132a3bd
|
Rename Fix to Term.
|
2015-09-18 10:12:34 -04:00 |
|
Rob Rix
|
70d55b81dd
|
Full SES.
|
2015-09-17 15:57:04 -04:00 |
|
Rob Rix
|
1fd445c1ef
|
min-with-comparator.
|
2015-09-17 15:55:11 -04:00 |
|
Rob Rix
|
6e3d6a2209
|
Construct diffs from terms.
|
2015-09-17 15:55:01 -04:00 |
|
Rob Rix
|
8a4a205055
|
Recursive implementation.
|
2015-09-17 15:12:49 -04:00 |
|
Rob Rix
|
538bbf0c27
|
Extra line.
|
2015-09-17 09:07:27 -04:00 |
|
Rob Rix
|
911501c337
|
Diff is Comparable.
|
2015-09-16 15:47:03 -04:00 |
|
Rob Rix
|
d0d53d152a
|
Diff applications, abstractions, and groups as arrays.
|
2015-09-16 15:00:06 -04:00 |
|
Rob Rix
|
6a8915fc61
|
Approximate SES.
|
2015-09-16 14:58:53 -04:00 |
|
Rob Rix
|
8618d7bbca
|
Insert/Delete convenience constructors.
|
2015-09-16 13:52:53 -04:00 |
|
Rob Rix
|
0dfd3a5ecd
|
Diffs have a magnitude.
|
2015-09-16 12:23:24 -04:00 |
|
Rob Rix
|
6e5aacc988
|
SES is over [Fix], not [Diff].
|
2015-09-16 09:59:13 -04:00 |
|
Rob Rix
|
2fdff49711
|
Stub in SES.
|
2015-09-16 09:56:15 -04:00 |
|
Rob Rix
|
440ccb9444
|
Leave Doc implicit wherever possible.
|
2015-09-15 14:33:09 -04:00 |
|
Rob Rix
|
bf10dfca2d
|
Diff.debugDescription gets the debug strings for its contents.
|
2015-09-15 14:09:45 -04:00 |
|
Rob Rix
|
d3b82148b8
|
Diff is CustomDebugStringConvertible.
|
2015-09-15 14:08:59 -04:00 |
|
Rob Rix
|
cae54e2c95
|
Fix can be empty.
|
2015-09-15 14:07:35 -04:00 |
|
Rob Rix
|
d5d63a892d
|
Define Doc directly, not algebraically.
|
2015-09-15 13:55:09 -04:00 |
|
Rob Rix
|
93fd2acc81
|
Add 'prototype/' from commit 'a7fef6ced9d2b71dfdf5e6d8fb765ab0c0bc6be5'
git-subtree-dir: prototype
git-subtree-mainline: 0244ce39f68a04b515f32b2b8ea9a3e0228923c7
git-subtree-split: a7fef6ced9
|
2015-09-15 12:32:12 -04:00 |
|