Rob Rix
ca84598b92
🔥 MonadControl.
2018-04-24 10:46:53 -04:00
Rob Rix
f16bf3e5ac
Weaken the conditions on the MonadEvaluator & MonadAnalysis instances for Evaluating.
2018-04-24 10:43:42 -04:00
Rob Rix
d79d17768b
🔥 the lens helpers in Evaluating.
2018-04-24 10:37:24 -04:00
Rob Rix
3039dcf8d0
🔥 a couple of redundant membership constraints on the origin.
2018-04-24 10:36:32 -04:00
Rob Rix
2688eee324
🔥 a redundant membership constraint.
2018-04-24 10:36:21 -04:00
Rob Rix
4978c8ce24
Define a single, universal instance of MonadModuleTable.
2018-04-24 10:34:50 -04:00
Rob Rix
7d39812ea3
Define a single, universal instance of MonadHeap.
2018-04-24 10:30:21 -04:00
Rob Rix
b109fcd51f
Define a single, universal instance of MonadEnvironment.
2018-04-24 10:27:59 -04:00
Rob Rix
880e5a6db1
Correct the functional dependency for MonadEnvironment.
2018-04-24 10:26:46 -04:00
Rob Rix
ddc06e6aeb
Define a single MonadControl instance once and for all.
2018-04-24 10:23:20 -04:00
Rob Rix
035c606dca
Move EvaluatingState into Evaluator and rename to EvaluatorState.
2018-04-24 10:18:14 -04:00
Rob Rix
584f3a7fc8
Sort the membership constraints.
2018-04-24 10:12:37 -04:00
Rob Rix
ed8bfe488b
Sort the language extensions around a little.
2018-04-24 10:10:17 -04:00
Rob Rix
489d09d7b2
Document the exported exception functions.
2018-04-24 10:06:49 -04:00
Rob Rix
47ba9a6d2b
🔥 a couple of dependencies on EvaluatingState.
2018-04-24 10:00:37 -04:00
joshvera
3fb3097c96
back to using Maybe Language in File
2018-04-23 19:47:13 -04:00
Patrick Thomson
36013b9bbe
Merge pull request #1765 from github/break-continue
...
Add support for break and continue inside loops.
2018-04-23 19:40:22 -04:00
Rob Rix
ac46e338f9
🔥 MonadExc & MonadResume.
2018-04-23 19:38:21 -04:00
joshvera
b087d7255c
Revert "Try catching ArithExceptions"
...
This reverts commit 93fb061a3b99b6f8ea7ea3bb50104233bf900e14.
2018-04-23 19:33:07 -04:00
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