1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

20954 Commits

Author SHA1 Message Date
Patrick Thomson
9ca80fe933 Merge cruft + rename ControlThrow 2018-04-23 19:31:56 -04:00
Rob Rix
7e3cad0783 🔥 some PolyKinds. 2018-04-23 19:13:17 -04:00
Rob Rix
09c21259a2 Parameterize all the typeclasses by the effect type. 2018-04-23 19:12:55 -04:00
Patrick Thomson
930b7d513d Merge remote-tracking branch 'origin/master' into break-continue 2018-04-23 19:10:37 -04:00
Timothy Clem
e4822db228 Don't need this 2018-04-23 16:05:35 -07:00
Timothy Clem
ba2d2b6eb3 Changed the structure of ImportPath so I guess we diff differently 2018-04-23 15:53:53 -07:00
Timothy Clem
0da504a6e3 Exclude vendor directory from globbing 2018-04-23 15:47:56 -07:00
Timothy Clem
7f95a26720 Remove this traceM 2018-04-23 15:47:42 -07:00
Timothy Clem
c3bf5133c8 Support Go import graphing a bit better 2018-04-23 15:47:23 -07:00
Timothy Clem
50e359c5a5 Allow getting the current Package 2018-04-23 15:46:56 -07:00
joshvera
204a0918e7 Merge remote-tracking branch 'origin/master' into project-dir 2018-04-23 18:43:52 -04:00
Timothy Clem
4eba502448 non-relative python imports just start looking at the root 2018-04-23 14:10:01 -07:00
Timothy Clem
021786f0c4 Write out loaded project for debugging 2018-04-23 14:09:38 -07:00
joshvera
2edf4a6995 Try catching ArithExceptions 2018-04-23 16:31:57 -04:00
joshvera
7b0a17e27f Evaluate all files as entry points 2018-04-23 16:31:25 -04:00
Timothy Clem
faae1a1020 Track the paths we searched in resolution notfound errors 2018-04-23 13:26:21 -07:00
Timothy Clem
fe7c64e7ed Allow graphing python by resuming when module resolution fails 2018-04-23 13:19:17 -07:00
Timothy Clem
d5b67c0613 Use a single NotFoundError instead of language specific ResolutionErrors 2018-04-23 13:18:52 -07:00
Josh Vera
bfaac4d78f Merge pull request #1764 from github/lazy-parse
Read and evaluate projects in Task
2018-04-23 15:39:14 -04:00
joshvera
123d830ef0 Parse a directory given a language 2018-04-23 15:22:00 -04:00
Timothy Clem
79d05e820a Remove comment 2018-04-23 11:44:56 -07:00
Timothy Clem
56f7d6d168 Remove unused imports 2018-04-23 11:41:31 -07:00
Timothy Clem
9547f49759 Don't need this (yet) 2018-04-23 11:41:24 -07:00
Patrick Thomson
873091ed82 kill stray LANGUAGE pragma with which I was experimenting 2018-04-23 13:48:56 -04:00
Patrick Thomson
276234ed0d appease hlint 2018-04-23 13:30:17 -04:00
Patrick Thomson
061b6852a8 Add test cases. 2018-04-23 13:14:52 -04:00
Patrick Thomson
ab8dc613fd Fix tests. 2018-04-23 13:09:32 -04:00
Patrick Thomson
a57fd63da5 Add support for break and continue inside loops.
Similar to @charliesome's implementation of return, we throw a
non-resumable exception inside loop invocations, and handle these
cases inside MonadValue's `loop` function.
2018-04-23 12:46:57 -04:00
Timothy Clem
0ebf2185ab Merge remote-tracking branch 'origin/master' into lazy-parse 2018-04-23 09:23:58 -07:00
Josh Vera
d381721530 Merge pull request #1763 from github/revert-parens-fix
Remove explicit Paren node from syntax trees.
2018-04-23 12:06:17 -04:00
Patrick Thomson
1ffded4cd3 Merge branch 'master' into revert-parens-fix 2018-04-23 11:35:52 -04:00
Patrick Thomson
f7bde7cd25 Merge pull request #1760 from github/charliesome/return-exc
Use non-resumable exception for ControlThrow
2018-04-23 11:26:28 -04:00
Patrick Thomson
aee2d3494b Merge branch 'master' into revert-parens-fix 2018-04-23 11:20:14 -04:00
Patrick Thomson
af847899d9 Merge branch 'master' into charliesome/return-exc 2018-04-23 11:10:26 -04:00
Patrick Thomson
97a9ce718d Merge pull request #1758 from github/applicative-do
Use applicative do notation when parsing CLI arguments
2018-04-23 11:09:21 -04:00
Patrick Thomson
6f63463269 Remove explicit Paren node from syntax trees.
As @robrix pointed out, adding explicit parenthesis nodes to our ASTs
bloats them with no added gain in expressivity. A pretty-printing
solution should use something analogous to `showsPrec` to ensure that
parentheses are printed properly.
2018-04-23 11:00:10 -04:00
Patrick Thomson
33353d2800 Add a comment for Exc's RunEffect instance. 2018-04-23 10:44:34 -04:00
Timothy Clem
b41ee2df8e Appease hlint 2018-04-23 11:54:21 +10:00
Timothy Clem
35fb6c52b3 Give Exc a RunEffect instance 2018-04-23 11:54:21 +10:00
Charlie Somerville
2e21ecfd16 make ControlThrow a non-resumable exception 2018-04-23 11:54:20 +10:00
Charlie Somerville
c3b7458fe7 rename MonadThrow to MonadResume 2018-04-23 11:44:29 +10:00
Charlie Somerville
41fd599843 rename throwException to throwResumable, resumeException to resume 2018-04-23 11:44:29 +10:00
Timothy Clem
a75c75b214 Lint 2018-04-22 07:49:19 -07:00
Timothy Clem
373004bdf6 Fix docs 2018-04-22 07:48:04 -07:00
Timothy Clem
10d13cd424 Bring preludes back for testing, clean up Util 2018-04-22 07:47:59 -07:00
Timothy Clem
45386ed1ce Get the tests compiling again 2018-04-21 07:22:09 -07:00
Timothy Clem
773eef65ed Rename constructor to just file 2018-04-21 07:22:01 -07:00
Timothy Clem
e2722ea7e9 Construct File(s) here too 2018-04-20 16:34:37 -07:00
Timothy Clem
f96db32268 Few more test fixes 2018-04-20 16:30:06 -07:00
Timothy Clem
9d7a85cbda Expose EvaluatingEffects 2018-04-20 16:28:18 -07:00