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
Timothy Clem
3cf9e67ab7
Assign relative python imports, deal only with nonempty lists
2018-04-03 13:23:54 -07:00
Rob Rix
a71c3ffaea
📝 rethrowing.
2018-04-03 16:23:19 -04:00
Rob Rix
01c6d93111
📝 catchException.
2018-04-03 16:22:28 -04:00
joshvera
7b9de5d151
Merge remote-tracking branch 'origin/master' into repo-import-graph
2018-04-03 16:19:22 -04:00
Rob Rix
1c4a8d3d9b
Rename catchDynE to catchException.
2018-04-03 16:18:59 -04:00
Rob Rix
c31e523473
Define Task using Eff.
2018-04-03 16:07:38 -04:00
Rob Rix
be84d40302
Generalize Stat over MonadIO.
2018-04-03 14:18:34 -04:00
Rob Rix
3b2c8577a4
More beautification.
2018-04-03 14:16:36 -04:00
Rob Rix
0ce1bdcaeb
Generalize Semantic.Log to MonadIO.
2018-04-03 14:11:30 -04:00
Timothy Clem
1d7d7df112
Remove comments
2018-04-03 11:11:13 -07:00
Rob Rix
a63efe7c78
Further beautification.
2018-04-03 13:58:18 -04: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
Rob Rix
3d9727c3f4
Beautify.
2018-04-03 11:49:52 -04: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