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

20376 Commits

Author SHA1 Message Date
Patrick Thomson
649999749b Merge branch 'master' into evaluate-let 2018-03-30 10:59:23 -04:00
Rob Rix
e34d8ce898 Merge pull request #1695 from github/simpler-analysis-types
Simpler analysis types
2018-03-30 10:59:10 -04:00
Rob Rix
743eaf0297 Rename the origin field. 2018-03-30 00:03:52 -04:00
Rob Rix
d3b2baa1b2 Define a single, universal instance of MonadOrigin. 2018-03-30 00:03:23 -04:00
Rob Rix
2ff1507410 Push the origin for the current term in analyzeTerm. 2018-03-29 23:58:10 -04:00
Rob Rix
2d22d9aa39 Define a HasOrigin typeclass which constructs an Origin from a term. 2018-03-29 23:57:34 -04:00
Rob Rix
424cac7ab2 Define a MonadOrigin instance for Evaluating. 2018-03-29 23:28:32 -04:00
Rob Rix
a0667d0414 Move MonadOrigin into the Origin module. 2018-03-29 23:27:23 -04:00
Rob Rix
c8829b39f3 Located is defined in terms of Origin. 2018-03-29 23:18:41 -04:00
Rob Rix
fcaffb4fbe Note a TODO about upstream dependencies. 2018-03-29 23:17:57 -04:00
Rob Rix
393636dc73 Local’s fields are strict. 2018-03-29 23:17:08 -04:00
Rob Rix
b9740a56c2 Origin is a Monoid. 2018-03-29 23:14:28 -04:00
Rob Rix
c2f4a9d5a5 Derive Eq, Ord, & Show instances for Origin. 2018-03-29 23:13:43 -04:00
Rob Rix
af4f2dd8b9 Origin is a Semigroup. 2018-03-29 23:13:28 -04:00
Rob Rix
ad85506741 Origins can be local. 2018-03-29 23:12:09 -04:00
Rob Rix
c3845ac457 Origins can be unknown. 2018-03-29 23:09:50 -04:00
Rob Rix
366120bd24 Stub in a module for an Origin datatype. 2018-03-29 23:08:59 -04:00
Rob Rix
f04e0aee74 Define a MonadAddressable instance for Located using a MonadProvenance interface. 2018-03-29 22:59:50 -04:00
Rob Rix
1b668e0c7f Define MonadAddressable in terms of an allocLoc method. 2018-03-29 22:48:25 -04:00
Rob Rix
f4754df717 Swap the order of the Located fields. 2018-03-29 22:44:27 -04:00
Rob Rix
9b9aa62d4e MonadFresh is a superclass constraint. 2018-03-29 22:35:49 -04:00
Rob Rix
065b95c7aa Show uninitialized addresses. 2018-03-29 22:33:18 -04:00
Rob Rix
fdb94b085d MonadAddressable depends on MonadFresh instead of MonadHeap. 2018-03-29 22:30:23 -04:00
Rob Rix
0e0f3a9d4b Fresh doesn’t refer to TName. 2018-03-29 22:24:18 -04:00
Rob Rix
63a3b8d642 Define MonadAddressable in terms of cell dereferencing. 2018-03-29 22:22:08 -04:00
Rob Rix
1b90003f6f 🔥 LocatedValue. 2018-03-29 22:11:58 -04:00
Rob Rix
65af3ad238 Decouple Type from Monovariant. 2018-03-29 22:05:18 -04:00
Rob Rix
cf00b9c1ed Decouple Value from Precise. 2018-03-29 22:03:21 -04:00
Rob Rix
8b4c6cf439 🔥 the value parameter from MonadAddressable. 2018-03-29 21:56:43 -04:00
Rob Rix
d3725cbab0 🔥 the *For type synonyms. 2018-03-29 21:41:38 -04:00
Rob Rix
b8d1369cc7 🔥 the re-exports of the *For synonyms. 2018-03-29 21:40:32 -04:00
Rob Rix
6fff428352 Parameterize ValueExc by the location type. 2018-03-29 21:39:34 -04:00
Rob Rix
7641b20d06 🔥 some obsolete comments referencing LocationFor. 2018-03-29 21:37:33 -04:00
Rob Rix
37ac53fdd8 🔥 a redundant constraint. 2018-03-29 21:37:23 -04:00
Rob Rix
1689b622ba Parameterize MonadAnalysis by the location type. 2018-03-29 21:36:11 -04:00
Rob Rix
c4fcb23601 Parameterize MonadValue by the location type. 2018-03-29 21:07:35 -04:00
Rob Rix
ceed6c844a Parameterize MonadEvaluator by the location type. 2018-03-29 20:58:36 -04:00
Rob Rix
cb2b38da08 Parameterize MonadModuleTable by the location type. 2018-03-29 20:50:08 -04:00
Rob Rix
0c57eca3e0 Parameterize MonadEnvironment by the location type. 2018-03-29 20:46:17 -04:00
Rob Rix
c6d06c632b Parameterize MonadHeap by the location type. 2018-03-29 20:38:23 -04:00
Rob Rix
a60682ee69 🔥 the constraint relating the location and value types. 2018-03-29 20:19:01 -04:00
Rob Rix
828bb29636 Rename the location type parameter. 2018-03-29 20:18:17 -04:00
Rob Rix
5ee3bf001e Merge branch 'simpler-analysis-types' into symbol-resolution 2018-03-29 20:00:01 -04:00
Rob Rix
8da7ec2374 Correct a documentation comment. 2018-03-29 19:39:59 -04:00
Timothy Clem
c1f4617af5 Refactor and start to sort out non relative module resolution 2018-03-29 16:02:15 -07:00
Rob Rix
749e366189 Sort another context. 2018-03-29 18:28:30 -04:00
Rob Rix
a10d71b152 Sort a context. 2018-03-29 18:27:47 -04:00
Rob Rix
3337a40517 Rename RequiredEffects to Effects. 2018-03-29 18:25:49 -04:00
Rob Rix
14b65fd32b Explicitly list the Control.Effect exports. 2018-03-29 18:13:48 -04:00
Rob Rix
de14ef7625 Align all the derived instances. 2018-03-29 18:07:00 -04:00