1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

20155 Commits

Author SHA1 Message Date
Rob Rix
7d911bde7c Define a toPairs eliminator for ModuleTable. 2018-03-30 18:18:44 -04:00
Rob Rix
7d2fa60ae3 Semigroup. 2018-03-30 18:16:33 -04:00
Rob Rix
ccbeb00eb0 Entry points are represented as a map of module names to symbols. 2018-03-30 18:15:30 -04:00
Rob Rix
0d3dadb143 Functor laws. 2018-03-30 18:14:39 -04:00
Rob Rix
a8d03f2f3e Rename the ModuleTable symbols. 2018-03-30 18:13:21 -04:00
Rob Rix
d63d956cc8 Set up the local module table. 2018-03-30 18:05:48 -04:00
Rob Rix
b32372e1bc Reuse ModuleTable for a package’s modules. 2018-03-30 18:04:35 -04:00
Rob Rix
06b59fe9da Push the package into scope. 2018-03-30 16:48:21 -04:00
Rob Rix
60f9fe4608 Stub in an evaluator for packages. 2018-03-30 16:44:00 -04:00
Rob Rix
88749f47ce 🔥 the Semigroup/Monoid instances for Package. 2018-03-30 16:42:46 -04:00
Rob Rix
0f3589b352 Merge branch 'symbol-resolution' into package-abstraction 2018-03-30 16:25:00 -04:00
Rob Rix
7375d18a6f Merge branch 'master' into symbol-resolution 2018-03-30 16:24:32 -04:00
Rob Rix
9499105dad Merge branch 'master' into package-abstraction 2018-03-30 16:19:45 -04:00
Rob Rix
ae52cca50a Merge pull request #1683 from github/evaluate-let
Evaluate let-clauses.
2018-03-30 16:18:59 -04:00
Rob Rix
f1a44db139 Merge modules’ packages. 2018-03-30 13:59:05 -04:00
Rob Rix
8796f915d4 Parameterize origin fields by () rather than term. 2018-03-30 13:55:21 -04:00
Rob Rix
3852a7207f Define a Functor instance for Package. 2018-03-30 13:47:24 -04:00
Rob Rix
f4d1d21e6e Align the constructors. 2018-03-30 13:46:35 -04:00
Rob Rix
1a37682084 🔥 MonadOrigin. 2018-03-30 13:42:49 -04:00
Rob Rix
754dfe7889 Use the origin effect for the current module. 2018-03-30 13:39:12 -04:00
Rob Rix
59c187c22f Merging copies the module from terms. 2018-03-30 13:38:24 -04:00
Rob Rix
7e4e01fee6 Define a projection of modules out of origins. 2018-03-30 13:37:07 -04:00
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
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