We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4c900 commit cd64565Copy full SHA for cd64565
Interpreter.hs
@@ -5,7 +5,7 @@ import IServ.Remote.Message
5
import IServ.Remote.Interpreter
6
7
verbose :: Bool
8
-verbose = True
+verbose = False
9
10
main :: IO ()
11
main = do
local-example.sh
@@ -0,0 +1,20 @@
1
+#!/usr/bin/env bash
2
+
3
+set -e
4
+GHC="${GHC:-ghc}"
+port=5005
+cabal build -w "$GHC" iserv-proxy
+cabal run -w "$GHC" iserv-proxy-interpreter $port . &
+interpreter=$?
12
+proxy="$(cabal list-bin -w "$GHC" exe:iserv-proxy)"
13
+echo "print \"Hello world!\"" | \
14
+ "$GHC" \
15
+ --interactive \
16
+ -fexternal-interpreter \
17
+ -pgmi "$proxy" \
18
+ -opti 127.0.0.1 -opti$port
19
20
+kill $interpreter
0 commit comments