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

20583 Commits

Author SHA1 Message Date
Charlie Somerville
edf925e6e1 Merge pull request #1701 from github/charliesome/remove-php-ns-fail
Remove fail in Evaluatable NamespaceName instance
2018-04-04 17:44:54 +10: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
Rob Rix
c81c6e873a Merge pull request #1702 from github/resolved-symbols-in-import-graph
Resolved symbols in import graph
2018-04-03 19:16:39 -04:00
Rob Rix
0ca31ebbee Rename the log/stat queue synonyms. 2018-04-03 19:12:12 -04:00
Rob Rix
341d36a0ce Factor the distribute effects into a new type. 2018-04-03 19:09:45 -04:00
Rob Rix
be9c27a32d Generalize go to eliminate TaskF. 2018-04-03 19:07:20 -04:00
Timothy Clem
869de12693 ++haskell-tree-sitter 2018-04-03 15:56:19 -07:00
Rob Rix
6f8fb5885b runParser operates in the underlying eff. 2018-04-03 18:53:42 -04:00
Timothy Clem
7dd2c2b0c4 With print in prelude, fix up these specs 2018-04-03 15:50:18 -07:00
Rob Rix
5fbd6f36b4 Define writeStat shallowly. 2018-04-03 18:49:43 -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
Rob Rix
8250cedcdc Define writeLog shallowly. 2018-04-03 18:45:44 -04:00
Timothy Clem
edc00cff27 Trace out the module table for easy debug/dev of import resolution 2018-04-03 15:44:57 -07:00
Rob Rix
40e152f0e7 Factor error logging out. 2018-04-03 18:43:21 -04:00
Timothy Clem
0d29d38c50 Implement .. and ..., etc python relative imports 2018-04-03 15:42:19 -07:00
Rob Rix
8eeb6dddec Simplify runParser. 2018-04-03 18:35:24 -04:00
Rob Rix
c377d2870b Get the options from the environment when we need them. 2018-04-03 18:33:09 -04:00
Rob Rix
4d27b1d72f Make the options available via a Reader. 2018-04-03 18:30:26 -04:00
Rob Rix
5d6c75188d Make the logger available via a Reader effect. 2018-04-03 18:29:10 -04:00
Rob Rix
9c7b695729 Embed time tasks shallowly. 2018-04-03 18:24:56 -04:00
Rob Rix
77c284c3b8 Make the statter available via a Reader. 2018-04-03 18:23:21 -04:00
Rob Rix
7e5f448027 Add type synonyms for the logging & statting queues. 2018-04-03 18:17:36 -04:00
joshvera
67504eec91 Add evaluateRubyProjectGraph 2018-04-03 18:15:01 -04:00
Rob Rix
5b5d5153a5 Generalize the Task smart constructors. 2018-04-03 18:08:47 -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
Rob Rix
0a587f0949 Interpret TaskF using a helper. 2018-04-03 17:54:29 -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
Patrick Thomson
e1b5c929cd forgot to call done in the decimal parser 2018-04-03 17:18:10 -04:00
Patrick Thomson
c36256e943 Standardize and fix floating-point parsing.
The existence of #1705 showed me that it's time to remove the bandaid
of a fix that was `normalizeFloatString` in #1537. This patch
introduces a proper Attoparsec parser for Scientific values that
handles the vaguaries of cross-language floating-point syntax. We
already depended on Attoparsec indirectly, so adding it as an explicit
dependency is fine.

A unit test is included, with examples taken from the tree-sitter corpora.
2018-04-03 17:02:56 -04: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