Patrick Thomson
c2685b81c3
Revert whitespace changes.
2019-12-06 14:52:49 -05:00
Patrick Thomson
dd5cf213d6
Derive HFoldable instances for syntax types.
2019-12-06 14:51:09 -05:00
Patrick Thomson
17d0b57f85
Preserve whitespace.
2019-12-06 14:05:20 -05:00
Patrick Thomson
1c735d46d0
Establish HTraversable instances for Core, Ann, and Failure.
2019-12-05 15:06:54 -05:00
Patrick Thomson
9fb876be84
Port over RightModule definitions for Core and Ann.
2019-11-08 10:36:43 -05:00
Patrick Thomson
35ea116f00
Bump various FE dependencies from 0.5 to 1.0.
2019-11-07 15:48:57 -05:00
Rob Rix
4ede4ae68b
Concretize values via the Domain effect.
2019-11-07 11:03:10 -05:00
Rob Rix
56cc4e1040
Construct Unit, Bool, & String via the Domain effect.
2019-11-07 11:01:41 -05:00
Rob Rix
7f6680d825
Specialize the Env effect to Name.
2019-11-05 12:08:13 -05:00
Rob Rix
02ae8de2ba
Specialize Analysis to Name.
2019-11-05 12:02:39 -05:00
Rob Rix
0e69c0a67a
Use Analysis.Name in Core.
2019-11-05 11:17:09 -05:00
Rob Rix
a3e7d51cfe
Fix a typo.
2019-11-04 14:30:45 -05:00
Rob Rix
07568e55a5
Use the Heap effect to define eval.
2019-11-04 14:00:05 -05:00
Rob Rix
6e1383d2de
Evaluate Core using the Env effect.
2019-11-01 15:25:49 -04:00
Rob Rix
a8333adae0
Derive the RightModule instance for Core.
2019-10-28 13:26:15 -04:00
Rob Rix
8d751c1dbc
Derive the RightModule instance for Ann.
2019-10-28 13:26:07 -04:00
Rob Rix
904b79b462
Derive the Effect instance for Core.
2019-10-28 12:01:13 -04:00
Rob Rix
b3308bc694
Derive the Effect instance for Ann.
2019-10-28 12:01:06 -04:00
Rob Rix
e139ec0a76
Fix the Effect instances in Core.Core.
2019-10-28 12:00:30 -04:00
Rob Rix
d3cb08c9cf
Fix the rest of semantic-core.
2019-10-28 11:10:34 -04:00
Rob Rix
c2a1a298a8
Fix Core.Core.
2019-10-28 11:09:41 -04:00
Rob Rix
f616dbeb78
🔥 a redundant copy of the Readline carrier.
2019-10-28 10:55:40 -04:00
Rob Rix
5372cfad51
Merge branch 'master' into fused-effects-one-dot-zero
2019-10-25 16:05:40 -04:00
Rob Rix
68d43468af
Merge pull request #361 from github/yes-comment
...
Support comments in the Core parser.
2019-10-25 13:06:31 -04:00
Patrick Thomson
fe468f2cda
Go with // for comments.
2019-10-25 10:54:35 -04:00
Patrick Thomson
65f6325668
simplify projection
2019-10-25 09:50:04 -04:00
Patrick Thomson
2d8819933a
Simplify derivations.
2019-10-25 09:35:08 -04:00
Patrick Thomson
1c039b786b
Kill unused function.
2019-10-23 16:05:57 -04:00
Patrick Thomson
bf1aebf1f3
Add comments to Core.
...
I went with the Haskell comment style (`--` for line comments, `{- -}`
for block comments, allowing nested multiline comments. This can be
changed pretty easily.
2019-10-23 15:27:13 -04:00
Patrick Thomson
14c3faf750
the tests pass now
2019-10-23 13:09:26 -04:00
Patrick Thomson
91558a7d65
Add generator for .? (this kills the crab^Wtests).
2019-10-23 12:24:35 -04:00
Patrick Thomson
8f0790ced2
Add pretty-printing support.
2019-10-23 12:05:40 -04:00
Patrick Thomson
9b56f60132
Add parsing support.
2019-10-23 12:05:35 -04:00
Patrick Thomson
b58132ba0e
Unused imports.
2019-10-23 12:05:28 -04:00
Patrick Thomson
cb783e6646
Make this a boolean operator pending resolution of #358 .
2019-10-23 11:59:23 -04:00
Patrick Thomson
5d5113ff69
fix brokenness that crept in overnight (?)
2019-10-23 10:31:55 -04:00
Patrick Thomson
559958d9cf
Define new :? type for checked lookups and try implementing it.
2019-10-22 17:27:54 -04:00
Rob Rix
6b9ba62c8c
Rename Core.Core.* to Core.*.
2019-10-11 13:50:40 -04:00
Rob Rix
740a3ca1a9
Core’s tests depend on semantic-analysis.
2019-10-11 12:55:23 -04:00
Rob Rix
9e31fc1f9b
semantic-core no longer has doctests.
2019-10-11 12:53:36 -04:00
Rob Rix
d20cbead89
Remove the Analysis.* and Control.* hierarchies from semantic-core.
2019-10-11 12:52:32 -04:00
Rob Rix
052eb88231
🔥 a couple of redundant dependencies.
2019-10-11 12:52:18 -04:00
Rob Rix
6bac8d2770
How did this ever work? What does it even do?
2019-10-11 12:42:21 -04:00
Rob Rix
85d09b5116
Rename Core.File to Analysis.File.
2019-10-11 12:37:11 -04:00
Rob Rix
5f9787f21c
Correct an import.
2019-10-11 12:22:12 -04:00
Rob Rix
6bfd33e7bc
Correct the import.
2019-10-11 12:21:04 -04:00
Rob Rix
3700cb5106
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 12:20:53 -04:00
Rob Rix
7c2ac87ff3
Correct the doctest.
2019-10-11 12:19:37 -04:00
Rob Rix
5ef4ecdde9
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 12:15:39 -04:00
Rob Rix
7554271e2d
toString.
2019-10-11 12:14:58 -04:00
Rob Rix
7d52293e13
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 12:12:35 -04:00
Rob Rix
f3b3a32f8a
Merge branch 'core-factoring' into eliminate-core-loc
2019-10-11 12:12:25 -04:00
Rob Rix
a278c9daab
Import eval.
2019-10-11 12:11:30 -04:00
Rob Rix
d78c3ddc9e
Merge branch 'eliminate-core-loc' into generalize-analysis-over-the-name-type
2019-10-11 11:51:46 -04:00
Rob Rix
37b723aa81
Merge branch 'core-factoring' into eliminate-core-loc
2019-10-11 11:51:34 -04:00
Rob Rix
b77a3b8058
Enable flexible contexts for the doctest.
2019-10-11 11:50:16 -04:00
Rob Rix
a160c0b7d5
Generalize typecheckingFlowInsensitive over the name type.
2019-10-11 11:47:39 -04:00
Rob Rix
ffc281f0f3
Generalize runFile over the name type.
2019-10-11 11:47:01 -04:00
Rob Rix
6efc7c7301
Generalizee typecheckingAnalysis over the name type.
2019-10-11 11:45:57 -04:00
Rob Rix
45dfc6ead1
Generalize solve over the name type.
2019-10-11 11:45:32 -04:00
Rob Rix
d184acfbfe
Generalize Solution over the name type.
2019-10-11 11:41:11 -04:00
Rob Rix
6d3d1751b6
Generalize unify over the name type.
2019-10-11 11:40:30 -04:00
Rob Rix
a17d0b57ff
Generalize meta over the name type.
2019-10-11 11:40:09 -04:00
Rob Rix
f87f7c0d0d
Generalize Constraint over the name type.
2019-10-11 11:39:32 -04:00
Rob Rix
7e51f43451
Generalize Substitution over the name type.
2019-10-11 11:38:38 -04:00
Rob Rix
6fa4a01c80
Generalize Type over the name type.
2019-10-11 11:37:49 -04:00
Rob Rix
7d8e8f27d4
Generalize Monotype over the name type.
2019-10-11 11:36:17 -04:00
Rob Rix
804e3c1020
Use the Type synonym more widely.
2019-10-11 11:35:03 -04:00
Rob Rix
5ae39b172d
Generalize scopeGraph over the name type.
2019-10-11 11:33:29 -04:00
Rob Rix
a4b016d3df
Generalize runFile over the name type.
2019-10-11 11:32:55 -04:00
Rob Rix
ee292476e2
Generalize scopeGraphAnalysis over the name type.
2019-10-11 11:31:59 -04:00
Rob Rix
5eff1ac7af
Generalize ScopeGraph over the name type.
2019-10-11 11:31:31 -04:00
Rob Rix
701937f7d2
🔥 a redundant type application.
2019-10-11 11:31:22 -04:00
Rob Rix
b739911580
Generalize Decl over the name type.
2019-10-11 11:29:23 -04:00
Rob Rix
0c1b7bc25f
Analysis expects term to be * -> *.
2019-10-11 11:28:44 -04:00
Rob Rix
3b33e7768f
Apply term in Semi at * -> *.
2019-10-11 11:28:18 -04:00
Rob Rix
a0a7d37797
Generalize importGraph over the name type.
2019-10-11 11:27:03 -04:00
Rob Rix
6a0f78699a
Generalize runFile over the name type.
2019-10-11 11:26:27 -04:00
Rob Rix
ccea885056
Generalize importGraphAnalysis over the name type.
2019-10-11 11:25:32 -04:00
Rob Rix
29caad2419
Generalize Value over the name type.
2019-10-11 11:24:41 -04:00
Rob Rix
adeec84cd8
Generalize Semi over the name type.
2019-10-11 11:23:44 -04:00
Rob Rix
462086e473
Concrete applies term at * -> *.
2019-10-11 11:19:26 -04:00
Rob Rix
56556d3d98
Generalize concrete over the name type.
2019-10-11 11:17:16 -04:00
Rob Rix
6e439f8f49
Generalize runFile over the name type.
2019-10-11 11:03:50 -04:00
Rob Rix
12739872c5
Generalize concreteAnalysis over the name type.
2019-10-11 11:02:31 -04:00
Rob Rix
d62dc3c5cf
Generalize lookupConcrete over the name type.
2019-10-11 11:01:38 -04:00
Rob Rix
e7aefb8186
Generalize addressStyle over the name type.
2019-10-11 11:00:14 -04:00
Rob Rix
0eb9edf2ef
Generalize heapAddressGraph over the name type.
2019-10-11 10:59:19 -04:00
Rob Rix
264d33816b
Generalize heapValueGraph over the name type.
2019-10-11 10:59:08 -04:00
Rob Rix
c0a995f612
Generalize heapGraph over the name type.
2019-10-11 10:58:51 -04:00
Rob Rix
b697d187c7
Generalize EdgeType over the name type.
2019-10-11 10:58:20 -04:00
Rob Rix
fd793d7d7d
Generalize Env over the name type.
2019-10-11 10:57:40 -04:00
Rob Rix
3cad92a4e1
Generalize Heap over the name type.
2019-10-11 10:56:45 -04:00
Rob Rix
5974e82819
Generalize Concrete over the name type.
2019-10-11 10:55:31 -04:00
Rob Rix
541ef22076
Parameterize Analysis by the type of names.
2019-10-11 10:49:32 -04:00
Rob Rix
b6a9eeaf6b
Rename Analysis.Eval to Core.Eval.
2019-10-11 10:46:59 -04:00
Rob Rix
253116a46f
Merge branch 'core-factoring' into eliminate-core-loc
2019-10-11 10:23:43 -04:00
Rob Rix
5b238d8c50
Don’t re-export Analysis.
2019-10-11 10:23:31 -04:00
Rob Rix
9c8350db48
Merge branch 'core-factoring' into eliminate-core-loc
2019-10-11 10:22:41 -04:00
Rob Rix
f06af1755b
📝 Analysis.
2019-10-11 10:21:30 -04:00