
On Thu, Aug 30, 2007 at 08:21:41PM +0200, Andrea Rossato wrote:
Hi,
Hi, for the time being I'm working on the evaluation server. I thought to go with socket so this is the first attempt. Attached you'll find a new Heval. To compile: ghc --make Heval.hs -o heval -package ghc (requires the network package). This one will work with telnet (I didn't write the XPrompt side yet). To try it out: 1. run: ./heval & 2. connect with telnet: telnet localhost 10490 3. start interacting with your Haskell evaluator. To quit: :quit To stop the server: :stop The server will remember bound names between sessions. So: let f n = n ^ n will work after :quit (but not after :stop...;-). The server is quite basic so far: if you run something like: let x () = x () in x () it will get killed after 3 seconds. [1..] will work though. I'm using ghciu and hs-plugins code as examples. Please let me know what you think. Is it useful something like this (to be run from XMonad, I mean). Thanks for your kind attention. Andrea