1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

20489 Commits

Author SHA1 Message Date
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
Rob Rix
29159c7752 🔥 parentGraph. 2018-04-02 18:31:37 -04:00
Rob Rix
6d7b41170c Tweak the modify helper to append. 2018-04-02 18:30:21 -04:00
Rob Rix
a230af496b Wrap up definition edges in a new helper. 2018-04-02 18:28:40 -04:00
Rob Rix
b907fabbf0 Rename insertVertex to inclusion. 2018-04-02 18:20:51 -04:00
Timothy Clem
275d558843 Javascript import assignment changed - update fixtures 2018-04-02 15:20:31 -07:00
Rob Rix
92b4cb9168 Insert vertices rather than names. 2018-04-02 18:19:56 -04:00
Timothy Clem
64369758a6 qualified identifier changes changes ruby assignment here 2018-04-02 15:18:56 -07:00
Timothy Clem
e9b6887268 Python import assignment changed - update fixtures 2018-04-02 15:18:23 -07:00
Rob Rix
1d375d8d61 Compute the parent graph. 2018-04-02 18:17:58 -04:00
Rob Rix
40269c8fc5 Abstract the selection of the module graph. 2018-04-02 18:16:25 -04:00
Rob Rix
d2713eca19 Rename packageVertex to packageGraph. 2018-04-02 18:15:30 -04:00
Timothy Clem
1001e85173 Some other go changes due to lack of qualifedName 2018-04-02 15:14:59 -07:00
Timothy Clem
dfafcc983f Go import assignment changed - update fixtures 2018-04-02 15:14:05 -07:00
Rob Rix
a87fe24e2f Use the Vertex type to contextualize names. 2018-04-02 18:14:01 -04:00
Timothy Clem
568adc1477 TypeScript import syntax changed - update fixtures 2018-04-02 15:11:45 -07:00
Timothy Clem
74c195385e Disable specs for import graph output temporarily 2018-04-02 15:11:25 -07:00
Timothy Clem
b8cd98521f Simplify TS import assignment by putting from on the end 2018-04-02 15:09:47 -07:00
Rob Rix
4449a44cb3 📝 Vertex. 2018-04-02 18:08:26 -04:00
Rob Rix
9186742ba1 Define a Vertex datatype. 2018-04-02 18:08:02 -04:00
Rob Rix
3e991e8309 Merge branch 'master' into resolved-symbols-in-import-graph 2018-04-02 18:03:32 -04:00
Rob Rix
0e64794172 Merge pull request #1699 from github/package-abstraction
Package abstraction
2018-04-02 18:02:41 -04:00
Rob Rix
52009b0c89 Merge branch 'package-abstraction' into resolved-symbols-in-import-graph 2018-04-02 18:02:31 -04:00