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

13065 Commits

Author SHA1 Message Date
joshvera
4e8569ed01 add an asBool fail to MonadValue Type 2018-04-05 18:46:58 -04:00
joshvera
e927d5fd75 yield the env if there's a namespace error 2018-04-05 18:45:26 -04:00
joshvera
0997ee81e2 Add Numeric2Error and remove TypeError 2018-04-05 18:14:33 -04:00
joshvera
1d05cb1cfc Throw free variables errors 2018-04-05 12:52:27 -04:00
joshvera
d39a6e6284 Include a prelude in the ruby project graph 2018-04-04 15:20:04 -04:00
joshvera
8c7147c515 Add asBool and feed values to ifthenelse 2018-04-04 13:39:54 -04:00
joshvera
7dd6bb1865 Merge remote-tracking branch 'origin/module-resolution' into repo-import-graph 2018-04-04 13:03:21 -04:00
Timothy Clem
a34cc8766f Merge remote-tracking branch 'origin/master' into module-resolution 2018-04-04 09:42:39 -07:00
Timothy Clem
7df5567a92 newtype for free variable name instead of type synonym 2018-04-04 08:59:03 -07:00
Charlie Somerville
a8ba6263c8 php: use fmap rather than liftA to appease linter 2018-04-04 17:27:00 +10:00
Charlie Somerville
dbf2b365d9 php: extract common commentedTerm expression 2018-04-04 16:54:09 +10:00
Charlie Somerville
90961708e6 php: use foldl1 in Evaluatable NamespaceName definition 2018-04-04 16:54:09 +10:00
Charlie Somerville
b1edf0da4d php: add someTerm' returning NonEmpty and remove fromList call 2018-04-04 16:54:09 +10:00
Charlie Somerville
716c3ec5f4 php: pull inline lambda out of assignment expression 2018-04-04 16:54:09 +10:00
Charlie Somerville
3685e9d1c4 php: make NamespaceName's value a NonEmpty rather than list 2018-04-04 16:54:09 +10:00
joshvera
dd1c39dbd0 Resolve through ruby module resolution errors 2018-04-03 20:03:42 -04:00
joshvera
c759c065be Add another analysis to recover from RubyError 2018-04-03 19:59:39 -04:00
joshvera
a46a40c14c Rename ValueExc to ValueError 2018-04-03 19:33:12 -04:00
joshvera
f46a7f1ae6 Handle StringErrors 2018-04-03 19:32:51 -04:00
joshvera
929b11cba2 Handle call errors from call 2018-04-03 19:32:37 -04:00
joshvera
4c44a3eda4 Handle CallErrors 2018-04-03 19:32:20 -04:00
joshvera
2ca86df7c5 Store the filename as the entry point for now 2018-04-03 19:17:13 -04:00
Timothy Clem
218ef15860 Make it easier to test python locally with a dummy print in the prelude 2018-04-03 15:46:19 -07:00
Timothy Clem
edc00cff27 Trace out the module table for easy debug/dev of import resolution 2018-04-03 15:44:57 -07:00
Timothy Clem
0d29d38c50 Implement .. and ..., etc python relative imports 2018-04-03 15:42:19 -07:00
joshvera
67504eec91 Add evaluateRubyProjectGraph 2018-04-03 18:15:01 -04:00
joshvera
675f3390ea Remove import 2018-04-03 18:02:16 -04:00
joshvera
c81f57829a Remove evaluate helpers 2018-04-03 17:57:03 -04:00
joshvera
a291a5c3f6 Compose runAnalysis and project parsing 2018-04-03 17:53:40 -04:00
joshvera
633d20fa2a Add fromModulesWithEntryPoint 2018-04-03 17:53:05 -04:00
joshvera
b227289a0e Export evaluatePackageBody 2018-04-03 17:52:54 -04:00
Timothy Clem
a361ebd7a6 Assign and eval relative python imports 2018-04-03 14:51:00 -07:00
joshvera
bc91a5f320 Merge remote-tracking branch 'origin/module-resolution' into repo-import-graph 2018-04-03 16:35:33 -04:00
Rob Rix
532203621e 🔥 ><. 2018-04-03 16:35:03 -04:00
Rob Rix
5a4c9b3f91 📝 the helper functions. 2018-04-03 16:34:36 -04:00
Rob Rix
4d03abeab2 Rename/extract helpers. 2018-04-03 16:32:59 -04:00
Timothy Clem
cb1e06b457 Add a few notes 2018-04-03 13:24:09 -07:00
Timothy Clem
3cf9e67ab7 Assign relative python imports, deal only with nonempty lists 2018-04-03 13:23:54 -07:00
joshvera
7b9de5d151 Merge remote-tracking branch 'origin/master' into repo-import-graph 2018-04-03 16:19:22 -04:00
Timothy Clem
1d7d7df112 Remove comments 2018-04-03 11:11:13 -07:00
Timothy Clem
3bf3963c2b s/ModuleName/ModulePath 2018-04-03 10:34:10 -07:00
Timothy Clem
208d16e131 Disable import-graph specs for now 2018-04-03 10:12:20 -07:00
Timothy Clem
55cd6e4549 Dry up Ruby resolving 2018-04-03 09:00:07 -07:00
Timothy Clem
f98f7a403d Whitespace, remove extra import 2018-04-03 08:59:56 -07:00
Timothy Clem
fc5097a998 Fix up docstests 2018-04-03 08:03:29 -07:00
Timothy Clem
094359bb2d Bring back ability to get the currently evaluating module 2018-04-02 19:22:28 -07:00
Timothy Clem
69a46e4edc Merge remote-tracking branch 'origin/master' into module-resolution 2018-04-02 16:28:35 -07:00
Rob Rix
d8da29d42c Set edge attributes. 2018-04-02 18:59:29 -04:00
Rob Rix
e09c9e2ec7 Specialize the attributes for package/module vertices. 2018-04-02 18:50:18 -04:00
Rob Rix
1de632117b Extract the style. 2018-04-02 18:34:24 -04:00