1
1
mirror of https://github.com/github/semantic.git synced 2024-12-11 08:45:48 +03:00
Commit Graph

20081 Commits

Author SHA1 Message Date
Rob Rix
7cd0932197 Origins hold packages/modules/terms directly. 2018-03-30 13:28:48 -04:00
Rob Rix
fe8d855c1a Derive some instances. 2018-03-30 13:15:02 -04:00
Rob Rix
9c74435e45 Define Semigroup & Monoid instances for Package. 2018-03-30 11:50:20 -04:00
Rob Rix
e84747cd3d Package names are optional. 2018-03-30 11:49:36 -04:00
Rob Rix
4373928d38 Packages may have versions. 2018-03-30 11:45:05 -04:00
Rob Rix
3567ad1126 Entry points may have symbols. 2018-03-30 11:43:23 -04:00
Rob Rix
d9a33a1a8e Packages may have entry points. 2018-03-30 11:42:51 -04:00
Rob Rix
1c6c860f78 Define a PackageName synonym. 2018-03-30 11:40:34 -04:00
Rob Rix
63d252b2ad Packages have modules. 2018-03-30 11:39:45 -04:00
Rob Rix
a27d356072 Define a Package datatype. 2018-03-30 11:39:39 -04:00
Rob Rix
228ec0ea59 Stub in a module for a package abstraction. 2018-03-30 11:34:42 -04:00
Rob Rix
ee145328a6 🔥 redundant parens. 2018-03-30 11:00:14 -04:00
Rob Rix
9ab4f39223 Merge branch 'master' into symbol-resolution 2018-03-30 10:59:52 -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