1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00
Commit Graph

20222 Commits

Author SHA1 Message Date
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
Timothy Clem
215fa698a3 TypeScript gets it's own import path data type 2018-03-30 14:56:08 -07:00
Timothy Clem
ddfd66f9c6 Give go it's own import path data type too 2018-03-30 14:55:47 -07:00
Timothy Clem
3dba4c0d37 Don't worry about this for now 2018-03-30 14:54:59 -07:00
Timothy Clem
e499b2b843 Give Python it's own datatype for qualified module imports 2018-03-30 14:27:54 -07: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
Rick Winfrey
06a32b3d27 Remove now unneeded keyword assignment 2018-03-30 12:31:30 -07:00
Rick Winfrey
f9346d4c83 Bump haskell-tree-sitter to tree-sitter v 0.11 2018-03-30 12:31:14 -07:00
Timothy Clem
7d5047777d Specialize imports for Python and Go 2018-03-30 11:53:18 -07:00
Timothy Clem
4f9978c063 Disable this for now 2018-03-30 11:52:42 -07:00
Timothy Clem
fba2662f62 Helpful diagnostics (temporary) 2018-03-30 11:52:30 -07:00
Timothy Clem
2fb6e73e9a Move side effect imports to Go's syntax 2018-03-30 11:16:10 -07:00
Rob Rix
f1a44db139 Merge modules’ packages. 2018-03-30 13:59:05 -04:00
Timothy Clem
1f2aebe7d5 Few fixes to relative resolution 2018-03-30 10:56:13 -07:00
Timothy Clem
b7640d7649 Move over and implement qualified export with TS path resolution 2018-03-30 10:56:02 -07:00
Rob Rix
8796f915d4 Parameterize origin fields by () rather than term. 2018-03-30 13:55:21 -04:00
Timothy Clem
2ee234c627 Custom Show for Module so that I don't have to keep parsing through all those terms 2018-03-30 10:55:16 -07: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
Timothy Clem
4341363944 Resolve non-relative TS modules recursively 2018-03-30 10:16:43 -07: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