1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

9987 Commits

Author SHA1 Message Date
Rob Rix
5ab89d2850 Define a type family to select the strategy for a given type. 2017-10-04 12:34:34 -04:00
Rob Rix
29f112e379 The Custom strategy uses toDeclaration. 2017-10-04 12:33:48 -04:00
Rob Rix
5a44b078ce The Default strategy produces Nothing. 2017-10-04 12:33:26 -04:00
Rob Rix
d9921b34a2 Define a class to produce Declarations using a Strategy. 2017-10-04 12:32:49 -04:00
Rob Rix
533452f150 Define a type representing strategies for producing Declarations. 2017-10-04 12:30:22 -04:00
Rob Rix
f43ab13f7b Define a typeclass to produce Declarations. 2017-10-04 12:29:58 -04:00
Rob Rix
2813d221a6 Discard the Range & Span immediately for Syntax, too. 2017-10-04 11:11:06 -04:00
Rob Rix
dd4060ae36 Discard the Range & Span immediately. 2017-10-04 11:09:40 -04:00
Rob Rix
76bee8e693 🔥 keepConstructorLabel. 2017-10-04 11:09:09 -04:00
Rob Rix
3c38aea3a3 📝 ApplyAll. 2017-10-04 10:57:39 -04:00
Rob Rix
73fe3aa62c Explain the example. 2017-10-04 10:54:01 -04:00
Rob Rix
093acc84dd Note the Language. 2017-10-04 10:53:56 -04:00
Rob Rix
7738433555 📝 someParser. 2017-10-04 10:50:07 -04:00
Rob Rix
274b9edee0 📝 SomeParser. 2017-10-04 10:46:26 -04:00
Rob Rix
44d278bc35 🔥 the unused Language.Ruby module. 2017-10-04 10:34:24 -04:00
Rob Rix
a45d5d62f5 TreeSitter doesn’t depend on Ruby. 2017-10-04 10:33:36 -04:00
Rob Rix
48081853d5 Correct references to TypeScript term assignment & categories. 2017-10-04 10:33:28 -04:00
Rob Rix
27f92be70e 🔥 the unused Language.Python module. 2017-10-04 10:30:18 -04:00
Rob Rix
db082b8b5f Merge branch 'abstract-high-level-flow-over-syntax-types' of https://github.com/github/semantic-diff into abstract-high-level-flow-over-syntax-types 2017-10-04 09:40:10 -04:00
Rob Rix
fc4be0c778 Merge branch 'master' into abstract-high-level-flow-over-syntax-types 2017-10-04 09:25:16 -04:00
Timothy Clem
f80445945c Write some UDP packets 2017-10-03 20:38:36 -07:00
Timothy Clem
6abc878243 Basic stat rendering 2017-10-03 19:44:52 -07:00
Timothy Clem
78f98ce352 Introduce Task.Stat and general pattern for Task.Queue 2017-10-03 17:22:26 -07:00
Rob Rix
51928473a7 Spacing. 2017-10-03 17:23:21 -04:00
Josh Vera
03d528dda6 Merge branch 'master' into generic-term-comparability-and-equivalence 2017-10-03 14:10:25 -07:00
Rob Rix
abde14cd95 Combine the code paths for JSON diffs of à la carte terms. 2017-10-03 16:28:37 -04:00
Rob Rix
79395e9af3 Combine the code paths for patch diffs of à la carte terms. 2017-10-03 16:27:44 -04:00
Rob Rix
0c5b268530 Combine the code paths for s-expression diffs of à la carte terms. 2017-10-03 16:26:45 -04:00
Rob Rix
684af38fe9 Merge branch 'generic-term-comparability-and-equivalence' into simplified-high-level-flow 2017-10-03 16:23:50 -04:00
Rob Rix
d9a0a87531 📝 comparableTo on Union. 2017-10-03 16:04:22 -04:00
Rob Rix
0c1f0b0e46 Correct the docs for the Diffable instance for Unions. 2017-10-03 16:02:23 -04:00
Rob Rix
b4f0cee138 📝 Equivalence. 2017-10-03 16:00:35 -04:00
Rob Rix
2c7e901043 📝 equivalentTerms. 2017-10-03 15:58:52 -04:00
Rob Rix
8f09c1c1bc 📝 comparableTerms. 2017-10-03 15:55:12 -04:00
Rob Rix
e7306fa43e 📝 comparableTo. 2017-10-03 15:51:56 -04:00
Rob Rix
048f66dec8 📝 equivalentBySubterm. 2017-10-03 15:49:06 -04:00
Rob Rix
8e9158c7f0 🔥 subequivalenceTo. 2017-10-03 15:37:51 -04:00
Rob Rix
cceed47743 Determine subequivalence using Equivalence & subalgorithmFor. 2017-10-03 15:37:42 -04:00
Rob Rix
8c9be81e51 Define an Equivalence functor. 2017-10-03 15:37:17 -04:00
Rob Rix
2e2d32c985 Merge branch 'master' into generic-term-comparability-and-equivalence 2017-10-03 15:31:58 -04:00
Rob Rix
b0723ee027 Clarify the comment on the inclusion of Method in Python. 2017-10-03 15:31:18 -04:00
Rob Rix
1a10479af6 🔥 Declaration.Function, Declaration.Method, & Syntax.Context from JSON syntax. 2017-10-03 15:30:13 -04:00
Rob Rix
d2382539d1 🔥 Declaration.Function, Declaration.Method, & Syntax.Context from Markdown syntax. 2017-10-03 15:29:37 -04:00
Rob Rix
4717bde7a8 Generalize diffTerms over the syntax functor. 2017-10-03 15:28:40 -04:00
Rob Rix
d2c9faf96f 🔥 the membership constraints on diffTerms. 2017-10-03 15:27:36 -04:00
Rob Rix
0d790823ab Use comparableTerms as the comparability relation for à la carte terms. 2017-10-03 14:59:41 -04:00
Rob Rix
ecfb920291 🔥 the export of equivalentTerms from Interpreter. 2017-10-03 14:59:19 -04:00
Rob Rix
d453a7f2df Define a comparability relation for terms. 2017-10-03 14:58:14 -04:00
Rob Rix
adcaed3ec0 Define a Diffable method to determine comparability. 2017-10-03 14:57:06 -04:00
Rob Rix
22f5fd46d3 Rename the genericAlgorithmFor bindings. 2017-10-03 14:44:14 -04:00
Rob Rix
ced2396fde Lift subterm equivalence into Unions. 2017-10-03 14:38:10 -04:00
Rob Rix
59ee7e2251 Use the Diffable-generic definition of term equivalence for à la carte syntax. 2017-10-03 14:31:54 -04:00
Rob Rix
6536c4b06f Term equivalence falls back to recursively lifted equality. 2017-10-03 14:31:06 -04:00
Rob Rix
407d368c90 Determine equivalence by name for Declaration.Method. 2017-10-03 14:21:06 -04:00
Rob Rix
614c26749e Determine equivalence by name for Declaration.Function. 2017-10-03 14:20:45 -04:00
Rob Rix
6718a713e2 Determine equivalence by subject for Context. 2017-10-03 14:20:06 -04:00
Rob Rix
910c179bbe Determine equivalence by the nominated subterm first. 2017-10-03 14:19:26 -04:00
Rob Rix
aca3a2cf99 Add a Diffable method to select a subterm to compute equivalence by. 2017-10-03 14:18:55 -04:00
Rob Rix
8471486d1a Revert "Define subequivalence of Functions."
This reverts commit da65ddc832de7a61ba93e5463bc17128762e7600.
2017-10-03 14:12:41 -04:00
Rob Rix
1c5db3a82f Revert "Define subequivalence of Methods."
This reverts commit 902db7cde56b43143212ac9d491a63c64d8f8ff8.
2017-10-03 14:12:37 -04:00
joshvera
bd6a098f57 Merge remote-tracking branch 'origin/master' into typescript-cleanup 2017-10-03 10:55:41 -07:00
Rob Rix
695ceb7d62 Define equivalence in terms of lifted equality. 2017-10-03 13:33:04 -04:00
Rob Rix
82244515f8 Define a function computing the equivalence of terms based on subequivalence. 2017-10-03 13:27:02 -04:00
Rob Rix
98ac25fe84 Define subequivalence of Methods. 2017-10-03 13:26:29 -04:00
Rob Rix
e52e69e08b Define subequivalence of Functions. 2017-10-03 13:26:17 -04:00
Rob Rix
67cb2b3ea7 Define subequivalence of Context nodes. 2017-10-03 13:26:08 -04:00
Rob Rix
2fc976dd0e Define subequivalence of Unions. 2017-10-03 13:26:02 -04:00
Rob Rix
124e2b30a6 Define a subequivalence method on Diffable. 2017-10-03 13:25:27 -04:00
Rob Rix
fcc24d572f Rename the bindings in subalgorithmFor. 2017-10-03 13:25:17 -04:00
Rob Rix
1e14133272 Remove the suffix when we don’t know which side it’s on. 2017-10-03 12:40:24 -04:00
Rob Rix
9c49698894 Correct the docs for algorithmForTerms. 2017-10-03 12:40:24 -04:00
Rob Rix
b75fc8cc88 Name the variables in Diffable a1/a2 &c consistently. 2017-10-03 12:40:24 -04:00
Rick Winfrey
660610a349 Merge branch 'master' into go-assignment 2017-10-03 09:40:18 -07:00
Rob Rix
e6fbf274be Remove the suffix when we don’t know which side it’s on. 2017-10-03 12:28:15 -04:00
Rob Rix
8e4b3f807b Correct the docs for algorithmForTerms. 2017-10-03 12:22:23 -04:00
Rob Rix
15f220e5aa Name the variables in Diffable a1/a2 &c consistently. 2017-10-03 12:20:52 -04:00
Rob Rix
686da3aa42 🔥 the syntaxParser bindings. 2017-10-03 11:52:55 -04:00
Rob Rix
13b79db26e Reformat the diffBlobPair syntaxParser cases. 2017-10-03 11:49:14 -04:00
Timothy Clem
c34054322d Merge branch 'master' into enable-ruby-assignment 2017-10-03 08:38:57 -07:00
Rob Rix
eedceb2a7f Reformat the guard clause for ToC term rendering. 2017-10-03 11:01:00 -04:00
Rob Rix
b179269ed6 Combine the cases for s-expression term rendering. 2017-10-03 11:00:22 -04:00
Rob Rix
d6c98092bc Combine the cases for JSON term rendering. 2017-10-03 11:00:14 -04:00
Rob Rix
7a6d92ce15 Combine the à la carte JSON term rendering paths. 2017-10-03 10:53:28 -04:00
Rob Rix
afa7f82fd7 Render s-expression terms without Kleisli composition. 2017-10-03 10:49:15 -04:00
Rob Rix
7d48a98814 Discard locations early. 2017-10-03 10:46:44 -04:00
Rob Rix
186dad2642 Reformat. 2017-10-03 10:44:53 -04:00
Rob Rix
f9c0a2d730 Combine the à la carte s-expression rendering paths. 2017-10-03 10:43:41 -04:00
Rob Rix
1325e429d0 Generalize SomeParser over a set of typeclasses that must hold. 2017-10-03 10:41:05 -04:00
Rob Rix
c33eea3f4f Parameterize SomeParser by the typeclass. 2017-10-03 10:33:44 -04:00
Rob Rix
0d605da704 Export the ConstructorName typeclass. 2017-10-03 10:32:56 -04:00
Rob Rix
36bb7c42b1 Stub in a SomeParser type & constructor. 2017-10-03 10:11:00 -04:00
Rob Rix
a965c12dd8 Rename parserForLanguage to syntaxParserForLanguage. 2017-10-03 10:04:59 -04:00
Rob Rix
4a8ac5dd47 Merge branch 'master' into all-the-ord-instances 2017-10-02 17:23:47 -04:00
joshvera
57f1b39cf0 Merge remote-tracking branch 'origin/master' into typescript-cleanup 2017-10-02 13:53:41 -07:00
joshvera
123105bb71 Reuse import in Declaration 2017-10-02 13:33:25 -07:00
joshvera
eca3b8c120 Move TypeAliasDeclaration to Declaration 2017-10-02 13:32:00 -07:00
joshvera
d8a6a3a423 Move cast to expression 2017-10-02 13:29:40 -07:00
Timothy Clem
a82ff300e6 Merge branch 'master' into all-the-ord-instances 2017-10-02 13:28:32 -07:00
joshvera
a3d0a5dfc9 Move await and new to Expression 2017-10-02 13:28:08 -07:00
Timothy Clem
49b0d55ee5 Always use assignment parser for Ruby 2017-10-02 13:25:33 -07:00
joshvera
3b59f693f2 Move NonNullExpression to Expression 2017-10-02 13:20:25 -07:00
Timothy Clem
dfc7de34e7 Merge branch 'master' into contextualize-ruby-comments 2017-10-02 13:19:02 -07:00
joshvera
232a702f6f Move InterfaceDeclaration to Declaration.hs 2017-10-02 13:18:38 -07:00
joshvera
9f62cadd9b Remove unused expressions 2017-10-02 13:04:49 -07:00
joshvera
5166c376b0 type errors 2017-10-02 13:04:36 -07:00
joshvera
ada80709a5 Move TypeAnnotation back since it's different that Type.Annotation 2017-10-02 13:02:36 -07:00
joshvera
235eeadb2f Move VariableDeclaration and PublicFieldDefinition to Declaration 2017-10-02 13:01:48 -07:00
joshvera
ad26dfeb7d Move SequenceExpression to Expression 2017-10-02 12:55:51 -07:00
joshvera
7c355ad9e4 Remove typescript TypeAnnotation 2017-10-02 12:53:20 -07:00
joshvera
81fbfa9f8c Merge remote-tracking branch 'origin/master' into typescript-cleanup 2017-10-02 12:07:23 -07:00
Timothy Clem
68e9fada3f Contextualize comments in Ruby assignment again 2017-10-02 11:02:26 -07:00
Rob Rix
4ba8dc5a89 🔥 the commented-out diffRecursively. 2017-10-02 10:29:54 -04:00
Rob Rix
1f6a1fcc0f Migrate TOCSpec off of IdentityDiffRenderer. 2017-10-02 10:11:31 -04:00
joshvera
9200735745 Make fields private 2017-10-01 07:41:11 -07:00
Rick Winfrey
19c4d422ee Update Go renderer expressions 2017-09-29 14:11:32 -07:00
Rick Winfrey
ca7af35ebc Update Go.Syntax for post-TypeScript 2017-09-29 14:11:07 -07:00
Rick Winfrey
e56fcfe122 Remove unnecessary instance 2017-09-29 14:10:40 -07:00
Rick Winfrey
16e4a33dd4 Merge branch 'master' into go-assignment 2017-09-29 13:37:01 -07:00
Rob Rix
d7b72d71e0 🔥 IdentityDiffRenderer. 2017-09-29 15:33:43 -04:00
Rob Rix
5621830b41 Define a function to parse and diff a pair of blobs. 2017-09-29 15:33:02 -04:00
Rob Rix
c3a6912a14 🔥 Identity diff rendering. 2017-09-29 15:26:31 -04:00
Rob Rix
da671c56fc 🔥 a redundant import. 2017-09-29 15:25:45 -04:00
Rob Rix
c0e846ec73 🔥 IdentityTermRenderer. 2017-09-29 15:20:56 -04:00
Rob Rix
0592a6bdb7 🔥 handling of IdentityTermRenderer. 2017-09-29 15:20:25 -04:00
Rob Rix
e452c2f567 🔥 lineByLineParser. 2017-09-29 15:02:02 -04:00
Rob Rix
0f1acfbddd 🔥 LineByLineParser. 2017-09-29 15:01:40 -04:00
Rob Rix
b4d4cf5c0a Throw an error when diffing files we don’t have a parser for. 2017-09-29 15:00:56 -04:00
Rob Rix
d6d9b84e81 Include the path for no parser exceptions. 2017-09-29 14:53:16 -04:00
Rob Rix
104cca21a1 Derive an Ord instance for Language. 2017-09-29 14:42:37 -04:00
Rob Rix
2b4465d1d0 Throw an exception when we don’t have a parser for a language. 2017-09-29 14:36:16 -04:00
joshvera
1ca518ca62 remove commented out diffRecursively 2017-09-29 11:33:46 -07:00
Rob Rix
37839d56b1 parserForLanguage never returns LineByLineParser. 2017-09-29 14:27:49 -04:00
Rob Rix
2f05a32997 parserForLanguage does not take its argument in Maybe. 2017-09-29 14:25:39 -04:00
Rob Rix
eef03d275f Define Mergeable, Ord, & Ord1 instances for all the datatypes in TypeScript. 2017-09-29 12:57:32 -04:00
Rob Rix
a063b796b9 Define Mergeable, Ord, & Ord1 instances for all the datatypes in Data.Syntax. 2017-09-29 12:50:05 -04:00
Rob Rix
096be2b08e Define an ErrorStack wrapper for call stacks. 2017-09-29 12:49:17 -04:00
Rob Rix
9d29eac636 Define Mergeable, Ord, & Ord1 instances for the datatypes in Declaration. 2017-09-29 12:47:36 -04:00
Rob Rix
07c9c6d1b7 Define Mergeable & Ord1 instances for Ellipsis & Redirect. 2017-09-29 12:36:33 -04:00
Rob Rix
3f638a0ab1 Define Ord1 & in many cases Mergeable instances for the various syntax types. 2017-09-29 12:34:54 -04:00
Rob Rix
42e45705e5 🔥 the non-generic GShow1 instances. 2017-09-29 11:51:06 -04:00
Rob Rix
06f795d3b8 🔥 the non-generic GEq1 instances. 2017-09-29 11:50:43 -04:00
Rob Rix
0097915a01 🔥 the GEq1 instance for Cofree. 2017-09-29 11:50:19 -04:00
Rob Rix
66fd99c83b Give a generic definition of Ord1. 2017-09-29 11:46:29 -04:00
Rob Rix
1ffaa0a682 Don’t export gliftEq. 2017-09-29 11:43:28 -04:00
Rob Rix
045dc992cd Don’t export the GShow1 methods. 2017-09-29 11:43:13 -04:00
Rob Rix
0624c9af74 Explicitly export genericLiftCompare & re-export Ord1. 2017-09-29 11:42:05 -04:00
Rob Rix
2ba30e3fee Give a generic derivation suitable for liftCompare. 2017-09-29 11:41:43 -04:00
Rob Rix
fe53309b05 Define a generically-derivable lifting of Ord to * -> *. 2017-09-29 11:41:24 -04:00
Rob Rix
f1e89b647d Stub in a module for a generic Ord1 implementation. 2017-09-29 11:37:18 -04:00
joshvera
9c9c66537a remove disambiguation 2017-09-28 17:05:44 -07:00
joshvera
c4abe09827 Rename Function to FunctionType 2017-09-28 16:48:37 -07:00
joshvera
f42f0b9f0e remove strictness annotations 2017-09-28 15:11:18 -07:00
joshvera
8ed09e3af7 newtype javascript expressions 2017-09-28 15:10:08 -07:00
joshvera
b3667104fb Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-28 14:24:57 -07:00
Rob Rix
9c664e5460 Merge branch 'master' into musical-chairs 2017-09-28 11:36:02 -04:00
Rob Rix
c5cf4ee6a4 Define a mergeF operator for a single level of a term. 2017-09-28 11:24:12 -04:00
Rob Rix
46b98c3ec2 Define a merging operator for Diff. 2017-09-28 10:29:02 -04:00
Rob Rix
d6873820dc Merge branch 'master' into substructural-diffing 2017-09-28 10:25:29 -04:00
Josh Vera
337816f63c Merge branch 'master' into typescript-assignment 2017-09-27 16:33:59 -06:00
Rob Rix
26d44ae2f0 Merge the Decorators module into Data.Syntax.Algebra. 2017-09-27 12:54:01 -04:00
Rob Rix
bdc020dd5a Move the Syntax identifier algebra into Data.Syntax.Algebra. 2017-09-27 12:53:25 -04:00
Rob Rix
e7a402b29d Spacing. 2017-09-27 12:48:01 -04:00
Rob Rix
1cab700d82 Rename the SplitDiff module to Data.SplitDiff. 2017-09-27 12:43:11 -04:00
Rob Rix
b31043a3eb Rename the Diff module to Data.Diff. 2017-09-27 12:41:41 -04:00
Rob Rix
9bd0b02ac9 Rename the Term module to Data.Term. 2017-09-27 12:37:37 -04:00
Rob Rix
e8b7e89dca Rename the Patch module to Data.Patch. 2017-09-27 12:29:07 -04:00
Rob Rix
d74c83fd9e Diff one or more pairs of files. 2017-09-27 11:02:11 -04:00
Rob Rix
de1acea9fc 📝 runAlgorithm. 2017-09-26 13:20:47 -04:00
Rob Rix
d853a2d7ee 📝 subalgorithmFor. 2017-09-26 13:03:49 -04:00
Rob Rix
1e7f9b8862 📝 algorithmFor. 2017-09-26 13:03:44 -04:00
Rob Rix
d54f8b34c2 Export comparableByConstructor & equivalentTerms again. 2017-09-26 09:44:25 -04:00
Rob Rix
b937c38c0e 🔥 the unused Leaf & Branch types. 2017-09-26 09:23:42 -04:00
Rob Rix
0fa57d60c2 Merge branch 'master' into substructural-diffing 2017-09-26 09:13:22 -04:00
Rob Rix
a9c3317758 Derive Mergeable instances for pretty much everything. 2017-09-25 19:51:52 -04:00
Rob Rix
267eab6e75 🔥 the old generic mergeable module. 2017-09-25 19:50:47 -04:00
Rob Rix
da14b3c24a Rework the Rec instance & add a (bad) NonEmpty instance. 2017-09-25 19:49:20 -04:00
Rob Rix
600e05a09d Merge Data.Mergeable.Generic into Data.Mergeable. 2017-09-25 19:44:00 -04:00
Rob Rix
f6efded7d0 Define a Mergeable instance for Unions. 2017-09-25 19:25:21 -04:00
Rob Rix
c0a526c264 Simplify the context for comparableByConstructor. 2017-09-25 18:27:09 -04:00
joshvera
de7b3852e3 fix up computed property names 2017-09-25 18:10:17 -04:00
joshvera
846d236fda postContextualize memberExpression 2017-09-25 18:09:22 -04:00
joshvera
11774c3f74 remove import 2017-09-25 17:44:14 -04:00
Rob Rix
4c4ae14bf8 Sort the context. 2017-09-25 16:00:37 -04:00
Rob Rix
093a02dc88 🔥 a redundant Functor constraint. 2017-09-25 15:56:31 -04:00
joshvera
4eef25d9a7 don't contextualize otherwise diffing can change 2017-09-25 15:43:48 -04:00
joshvera
1d8fe40267 newline 2017-09-25 15:18:44 -04:00
joshvera
d059c26fbc bring old typescript term assignment back 2017-09-25 14:07:35 -04:00
joshvera
fe816c4100 missed one 2017-09-25 14:06:01 -04:00
joshvera
65912d8387 remove redundant pattern matches 2017-09-25 14:02:53 -04:00
joshvera
44d895388d Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-25 13:47:46 -04:00
joshvera
bd440ea8d0 Merge remote-tracking branch 'origin/master' into typescript-assignment 2017-09-25 13:40:10 -04:00
Rob Rix
c7685757d1 Reformat genericAlgorithmFor’s type signature. 2017-09-25 12:24:42 -04:00
Rob Rix
e528bd3c6c Export the comparability relation driver. 2017-09-25 12:11:29 -04:00
Timothy Clem
0642755c35 Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw 2017-09-25 09:08:14 -07:00
Rob Rix
e142157ab9 Pass decoratingWith the comparability & equivalence relations. 2017-09-25 12:05:31 -04:00
Rob Rix
fb56d8b604 Merge branch 'master' into substructural-diffing 2017-09-25 11:59:14 -04:00
Timothy Clem
289b342ba0 Merge branch 'master' into toc-assignment 2017-09-25 08:47:30 -07:00
Rob Rix
c7c1161310 Merge branch 'master' into substructural-diffing 2017-09-25 11:47:26 -04:00
Rob Rix
5d812f3a03 Merge branch 'master' into alternative-algorithms 2017-09-25 11:44:17 -04:00
Rob Rix
8babcb9579 🔥 Symmetrical. 2017-09-25 11:35:10 -04:00
Rob Rix
8975856504 Merge branch 'alternative-algorithms' into substructural-diffing 2017-09-25 11:30:58 -04:00
Rob Rix
76037c08b2 Merge branch 'master' into alternative-algorithms 2017-09-25 11:29:44 -04:00
Rob Rix
7786e35bfe Opt Context nodes into comparisons. 2017-09-25 11:28:19 -04:00
Timothy Clem
ddebcc044d Make it really clear where we are headed 2017-09-25 08:24:48 -07:00
Rob Rix
c3e7c62fcf Limit the Interpreter exports. 2017-09-25 11:24:21 -04:00
Rob Rix
67a6071245 Revert "Provide a diffThese wrapper which falls back by replacing."
This reverts commit 3a34cd01481bd0aab038faf41c8aaf613e5e3773.
2017-09-25 11:06:56 -04:00
Timothy Clem
0290e63095 Whoops, these need to be tuples 2017-09-25 08:06:11 -07:00
Rob Rix
6df6c80202 Spacing. 2017-09-25 11:02:07 -04:00
Rob Rix
919f166f7a Move diffRecursively into Interpreter & rename. 2017-09-25 10:55:44 -04:00
Rob Rix
e075cf491d Provide a diffThese wrapper which falls back by replacing. 2017-09-25 10:33:59 -04:00
Rob Rix
3c09621891 Eta-reduce algorithmFor. 2017-09-25 09:10:44 -04:00
Rob Rix
bee5470602 Fix some more indentation. 2017-09-23 09:12:58 -04:00
Rob Rix
345d0d910f Fix some indentation. 2017-09-23 09:12:19 -04:00
Rob Rix
28c318900d 🔥 redundant parens. 2017-09-23 09:04:19 -04:00
Rob Rix
c9311c0607 Generalize runAlgorithm to produce any result type. 2017-09-23 08:52:11 -04:00
Rob Rix
aa8fe13355 Correct the indentation of the runAlgorithm signature. 2017-09-23 08:51:22 -04:00
Rob Rix
dd9b811aeb Linearly operates on terms once more. 2017-09-22 23:07:41 -04:00
Rob Rix
528728d01c Redefine GAlign to merge into an Alternative context. 2017-09-22 23:02:08 -04:00
Rob Rix
af5fc79ed5 Simplify the flow a little. 2017-09-22 22:30:16 -04:00
Rob Rix
9c1ef71a78 Re-abstract Algorithm over the term and result types. 2017-09-22 22:24:50 -04:00
Rob Rix
88b52bed3d Recur via diff. 2017-09-22 22:24:36 -04:00
Rob Rix
9c5b669fbb Generalize Linear to operate on the syntax functor. 2017-09-22 22:00:00 -04:00
Rob Rix
dc32dfdcd9 Generalize subalgorithmFor over arbitrary Alternative functors. 2017-09-22 21:35:37 -04:00
Rob Rix
1aa96e3a0e 🔥 the default sig for subalgorithmFor. 2017-09-22 21:33:25 -04:00
Rob Rix
aff0542ff3 Parameterize Algorithm by the syntax and annotation types. 2017-09-22 20:18:48 -04:00
Timothy Clem
18421aa07f Merge branch 'master' into ruby-assignment-ftw 2017-09-22 10:29:13 -07:00
Timothy Clem
bdb71f23d0 Merge branch 'master' into log-tags 2017-09-22 10:28:57 -07:00
Timothy Clem
0c6d04ff60 Merge branch 'master' into toc-assignment 2017-09-22 10:28:48 -07:00
Timothy Clem
6a0636ac5f Tag log entries so we can sort, filter, and stat 2017-09-22 10:09:29 -07:00
joshvera
1c7962b4a1 addDependentFileRelative for json 2017-09-22 12:59:17 -04:00
Timothy Clem
b83914a860 Merge branch 'toc-assignment' into ruby-assignment-ftw 2017-09-22 09:45:04 -07:00
Timothy Clem
7172d8ac0d New --toc-assignment flag 2017-09-22 09:31:51 -07:00
joshvera
8b185490cf Add addDependentFileRelative call to json grammar 2017-09-22 12:21:16 -04:00
joshvera
8184675381 newline 2017-09-22 10:50:44 -04:00
joshvera
9df6f07c79 Remove Visibility 2017-09-21 12:36:46 -04:00
joshvera
7c1474cdd9 Turn a bunch of typescript terms into newtypes 2017-09-21 12:20:39 -04:00
joshvera
c4ba556433 Remove expressionStatement' from Syntax 2017-09-21 12:20:16 -04:00
joshvera
f76461382a Fix indentation 2017-09-21 12:04:15 -04:00
joshvera
82eb35661a Hide ExpressionStatement from tree 2017-09-21 12:03:00 -04:00
joshvera
cbced30373 Rename Annotation field to annotationType 2017-09-21 12:02:52 -04:00
joshvera
930826f674 Regenerate template haskell grammar when parser.c changes 2017-09-21 11:37:08 -04:00
joshvera
4f674ed622 Revert "Fail instead of die"
This reverts commit d55ba538acbd7683128edb3ebce3c7255d38ae12.
2017-09-20 15:01:45 -04:00
joshvera
22b8b7cac2 Fail instead of die 2017-09-20 14:59:09 -04:00
joshvera
d789eb2b18 Add computed property names 2017-09-20 14:13:15 -04:00
joshvera
8a6ed607e4 Parse ArrayPattern 2017-09-20 13:30:40 -04:00
joshvera
302202e08a expression is a term 2017-09-20 13:23:50 -04:00
joshvera
6fb2b9c65b Alternate to parseError in assignment 2017-09-20 13:23:41 -04:00
joshvera
e857aa3fe1 simplify switchCase 2017-09-20 13:10:07 -04:00
joshvera
0e8e9d17ba use term anywhere we use many or some 2017-09-20 13:08:01 -04:00
joshvera
b6b828a3e8 Parse comments in objects and arrays 2017-09-20 12:48:38 -04:00