joshvera
204a0918e7
Merge remote-tracking branch 'origin/master' into project-dir
2018-04-23 18:43:52 -04: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
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
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
Timothy Clem
625020a416
Fighting with the types in Util
2018-04-20 16:28:09 -07:00
Timothy Clem
7c2a8a464e
Couple of test fixes
2018-04-20 16:27:53 -07:00
Timothy Clem
24aa9debbb
Swap up order here
2018-04-20 16:27:44 -07:00
Timothy Clem
44e5dbb4fb
Don't do this
2018-04-20 16:27:31 -07:00
joshvera
ce0b95bb79
Take a Maybe Language in graphPackage
2018-04-20 19:14:50 -04:00
joshvera
85995afb99
Parse a language
2018-04-20 19:14:25 -04:00
joshvera
d568c9cf13
Add graphPackage function
2018-04-20 19:03:30 -04:00
joshvera
63f07fcee8
Merge remote-tracking branch 'origin/applicative-do' into project-dir
2018-04-20 18:27:51 -04:00
joshvera
4c3114957e
remove path dependency
2018-04-20 17:28:40 -04:00
Timothy Clem
0d05742b24
Remove listFiles
2018-04-20 14:16:03 -07:00
Timothy Clem
bdeb67d29f
WIP Utils
2018-04-20 14:15:55 -07:00
Timothy Clem
402172c0fb
Don't carry extensions in here
2018-04-20 14:15:51 -07:00
Timothy Clem
01703684cc
Remove evaluateModules
2018-04-20 14:15:23 -07:00
joshvera
00f41170c2
Use ApplicativeDo notation in arguments parser
2018-04-20 16:45:48 -04:00
Timothy Clem
7ef36ea18f
Slowly start to rework reading, parsing of a project to a package
2018-04-20 13:30:17 -07:00
joshvera
4c62bb9940
Add path
2018-04-20 15:06:27 -04:00
joshvera
17d2e4a13d
Merge remote-tracking branch 'origin/master' into project-dir
2018-04-20 14:24:29 -04:00
Timothy Clem
ede5773b24
Refactor how we build up a Package and eval the prelude
2018-04-20 11:11:06 -07:00
Timothy Clem
156246e477
Finding a need for a File datatype
2018-04-20 11:10:27 -07:00
Josh Vera
48e2b6bc7f
Merge pull request #1756 from github/charliesome/return
...
Implement early return
2018-04-20 13:58:14 -04:00