1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00
Commit Graph

251 Commits

Author SHA1 Message Date
Rob Rix
039148aa89
Define a smart constructor for concretizing lambdas. 2019-12-19 11:14:01 -05:00
Rob Rix
9f2a2fc819
Define a smart constructor for constructing lambdas. 2019-12-19 11:11:47 -05:00
Rob Rix
a60380ad09
Revert "Parameterize terms by addresses."
This reverts commit 1d292b0395.
2019-12-19 11:06:44 -05:00
Rob Rix
1d292b0395
Parameterize terms by addresses. 2019-12-19 11:06:40 -05:00
Rob Rix
f85c31c127
Merge branch 'master' into analysis-effects 2019-12-19 10:54:29 -05:00
Rob Rix
443b4ca8e1
Add lambdas to Intro. 2019-12-18 15:13:38 -05:00
Rob Rix
63427b9d60
Alignment. 2019-12-18 15:12:15 -05:00
Patrick Thomson
7f1190abaf Delete old implementations. 2019-12-18 11:23:38 -05:00
Patrick Thomson
1d9b5d29e6 Depend on it in semantic-analysis. 2019-12-18 11:23:19 -05:00
Rob Rix
cfc8bdfe38
🔥 Ignored. 2019-12-18 10:54:54 -05:00
Rob Rix
6485f858ed
Move Named & Ignored into Analysis.Name. 2019-12-18 10:51:02 -05:00
Rob Rix
667f894ec3
Merge branch 'ghcide-is-painless' into analysis-effects 2019-12-18 09:49:08 -05:00
Patrick Thomson
6bebd84deb Officially require GHC 8.8. 2019-12-13 15:48:49 -05:00
Patrick Thomson
77a1b4697e More import fixes. 2019-12-13 11:47:34 -05:00
Rob Rix
aac1c92dc9
🔥 string/asString from Analysis. 2019-12-13 11:46:04 -05:00
Rob Rix
0fc9f5dc6d
🔥 unit from Analysis. 2019-12-13 11:44:57 -05:00
Rob Rix
a8d670cd19
Define smart constructors for concretization at specific types. 2019-12-13 11:42:58 -05:00
Rob Rix
9a3e06b070
Define smart constructors for unit, bool, & string construction. 2019-12-13 11:36:49 -05:00
Rob Rix
a468a66e9e
🔥 bool/asBool. 2019-12-13 11:33:58 -05:00
Patrick Thomson
dc69714053 Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8 2019-12-13 11:23:36 -05:00
Rob Rix
34a0afbfba
Merge branch 'fused-effects-one-dot-zero' into analysis-effects 2019-12-12 12:53:27 -05:00
Rob Rix
b726bf8702
🔥 ConstraintKinds. 2019-12-12 11:41:06 -05:00
Rob Rix
e0c47f11bc
🔥 an unnecessary Effect instance for Monotype. 2019-12-12 11:32:01 -05:00
Rob Rix
5ae742cf1c
🔥 unnecessary scoped type variables. 2019-12-12 11:31:24 -05:00
Rob Rix
22b6c3bab3
🔥 some redundant language extensions. 2019-12-12 11:31:15 -05:00
Patrick Thomson
68ab3cbb97 semantic:exe now compiles 2019-12-10 13:32:56 -05:00
Patrick Thomson
0ceba4a160 Ensure Readline is an HFunctor. 2019-11-08 10:24:54 -05:00
Patrick Thomson
f1a5f0439d Fix state type in concrete analysis. 2019-11-08 10:24:18 -05:00
Patrick Thomson
df98749bd0 Fix Analysis.ImportGraph. 2019-11-08 10:23:39 -05:00
Patrick Thomson
e6bf975ee8 Fix state type in runFile. 2019-11-08 10:22:58 -05:00
Patrick Thomson
cac8047ee0 Fix Typecheck analysis.
Had to write this RightModule instance by hand. It typechecks, so I
guess it works?
2019-11-08 10:21:48 -05:00
Patrick Thomson
3feec0e5ee Correct Algebra instance for FailC. 2019-11-08 10:16:34 -05:00
Patrick Thomson
e041d2440d 🔥 state types in FlowInsensitive. 2019-11-08 10:16:20 -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
99184605bd
Run the domain effect during convergence. 2019-11-07 13:11:38 -05:00
Rob Rix
38e42c0cd9
Align. 2019-11-07 12:49:05 -05:00
Rob Rix
ee8017d8dd
Define a Domain carrier for typechecking. 2019-11-07 11:44:42 -05:00
Rob Rix
27559f8f0e
Specialize the Domain effect to Intro. 2019-11-07 10:53:49 -05:00
Rob Rix
4185f213e3
Remove everything but the primitives from Intro. 2019-11-07 10:37:34 -05:00
Rob Rix
4a0aa126fd
Spacing. 2019-11-06 12:48:09 -05:00
Rob Rix
fd19464be5
Rename the parameters to Domain. 2019-11-06 12:47:40 -05:00
Rob Rix
445737a92c
🔥 the old Domain effect. 2019-11-06 12:46:39 -05:00
Rob Rix
34f32970cd
Define a smart constructor for concretization. 2019-11-06 12:44:52 -05:00
Rob Rix
0dd17dcc36
Define a smart constructor for abstracting domain values. 2019-11-06 12:44:03 -05:00
Rob Rix
d4a1080563
Align. 2019-11-06 12:40:50 -05:00
Rob Rix
180af3f1dc
Define an Effect instance for Domain. 2019-11-06 12:39:44 -05:00
Rob Rix
6e1503c1ef
Define an HFunctor instance for Domain. 2019-11-06 12:39:39 -05:00
Rob Rix
7b9e1c0d88
Derive a Generic1 instance for Domain. 2019-11-06 12:39:05 -05:00
Rob Rix
e8a4749653
Stub in a Domain effect with abstraction & concretization operations. 2019-11-06 12:37:58 -05:00
Rob Rix
374f90dc7e
Re-export some stuff. 2019-11-06 12:35:07 -05:00
Rob Rix
903e73cba8
Stub in a module for the Domain effect. 2019-11-06 12:33:15 -05:00
Rob Rix
812a123d8a
Sort Name down. 2019-11-06 12:32:39 -05:00
Rob Rix
ef44b29574
Define a constructor for Lam using Var. 2019-11-06 11:55:28 -05:00
Rob Rix
14ff797594
Define an eliminator for lambdas using Fin. 2019-11-06 11:51:52 -05:00
Rob Rix
f8b1b28a2c
Move lamFin under unlam. 2019-11-06 11:47:40 -05:00
Rob Rix
daa24d1e31
🔥 a redundant handler. 2019-11-05 12:09:19 -05:00
Rob Rix
7f6680d825
Specialize the Env effect to Name. 2019-11-05 12:08:13 -05:00
Rob Rix
23c65d5eb4
Specialize Domain to Name. 2019-11-05 12:02:43 -05:00
Rob Rix
02ae8de2ba
Specialize Analysis to Name. 2019-11-05 12:02:39 -05:00
Rob Rix
f8c26e72d3
🔥 FrameId. 2019-11-05 12:00:32 -05:00
Rob Rix
56b30e4793
🔥 FrameId. 2019-11-05 11:59:59 -05:00
Rob Rix
e9b6658b5e
Specialize flow-insensitive caching to Name addresses. 2019-11-05 11:59:23 -05:00
Rob Rix
1b61ce56ec
Sort explicit quantifiers. 2019-11-05 11:56:22 -05:00
Rob Rix
b33c694094
Sort constraints. 2019-11-05 11:55:54 -05:00
Rob Rix
d06d73c81b
Rename a bunch of type parameters. 2019-11-05 11:55:42 -05:00
Rob Rix
f03de00aec
🔥 ScopedTypeVariables. 2019-11-05 11:54:41 -05:00
Rob Rix
611ae5fb0b
🔥 quantifiers. 2019-11-05 11:53:46 -05:00
Rob Rix
6191f2e1be
Specialize the scope graph analysis to Name. 2019-11-05 11:52:21 -05:00
Rob Rix
4962104008
Specialize Value to Name. 2019-11-05 11:50:32 -05:00
Rob Rix
a3775a1248
Specialize the import graph analysis to Name. 2019-11-05 11:48:42 -05:00
Rob Rix
630759d1d7
Specialize Monotype to Name. 2019-11-05 11:47:01 -05:00
Rob Rix
18bc19a04e
Specialize Type, Constraint, Solution, & Substitution to Name. 2019-11-05 11:45:59 -05:00
Rob Rix
814f6fe8cf
🔥 quantifiers. 2019-11-05 11:38:24 -05:00
Rob Rix
50e123a110
Specialize the typechecking analysis to Name. 2019-11-05 11:37:47 -05:00
Rob Rix
71e4981805
Specialize EdgeType to Name. 2019-11-05 11:34:00 -05:00
Rob Rix
535ec0576a
🔥 some quantifiers. 2019-11-05 11:33:33 -05:00
Rob Rix
2f676e892e
Specialize the Env synonym to Name. 2019-11-05 11:32:55 -05:00
Rob Rix
398d377e35
Specialize Concrete to Name. 2019-11-05 11:32:22 -05:00
Rob Rix
29b117033b
Move Edge down. 2019-11-05 11:29:05 -05:00
Rob Rix
924e0d0129
🔥 Frame. 2019-11-05 11:28:18 -05:00
Rob Rix
98acd3adb7
Specialize concrete analysis to Name. 2019-11-05 11:26:01 -05:00
Rob Rix
9672556476
Move Name into its own module. 2019-11-05 11:13:15 -05:00
Rob Rix
9f26a4c13e
Stub in a module for Name. 2019-11-05 11:11:39 -05:00
Rob Rix
cd5165ce00
Strengthen to Fin without Var. 2019-11-04 16:36:31 -05:00
Rob Rix
4811adddae
Define a smart constructor for Lam binding with Fin. 2019-11-04 16:29:08 -05:00
Rob Rix
ea2b679049
Export Name. 2019-11-04 16:07:02 -05:00
Rob Rix
23d1c84342
Define a RightModule instance for Intro. 2019-11-04 16:03:14 -05:00
Rob Rix
20591377da
Define an HFunctor instance for Intro. 2019-11-04 16:02:19 -05:00
Rob Rix
a5e1d5e0cb
Derive a Generic1 instance for Intro. 2019-11-04 16:02:12 -05:00
Rob Rix
4b0af27dde
Rename Domain to Intro. 2019-11-04 15:53:54 -05:00
Rob Rix
e5bfa87d86
Derive Foldable, Functor, & Traversable instances for Domain. 2019-11-04 15:52:40 -05:00
Rob Rix
3bafe21a23
Define an eliminator for Lam. 2019-11-04 15:38:27 -05:00
Rob Rix
2d362d9874
Define a smart constructor for multiple lambdas. 2019-11-04 15:36:55 -05:00
Rob Rix
9822b4eed7
Define a smart constructor for Lam. 2019-11-04 14:48:59 -05:00
Rob Rix
ca3bb15353
Define a smart constructor for Record. 2019-11-04 14:47:43 -05:00
Rob Rix
c9161d51d1
Define a smart constructor for String. 2019-11-04 14:47:19 -05:00
Rob Rix
6b6581dbbe
Define a smart constructor for Bool. 2019-11-04 14:46:41 -05:00
Rob Rix
722e40571c
Define a smart constructor for Unit. 2019-11-04 14:46:14 -05:00
Rob Rix
20555fcf84
Lam’s name is in Maybe. 2019-11-04 14:44:21 -05:00
Rob Rix
99a84e5646
Specialize Domain to Name. 2019-11-04 14:43:15 -05:00