<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Aug 23, 2014 at 8:43 PM, Tikhon Jelvis <span dir="ltr"><<a href="mailto:tikhon@jelv.is" target="_blank">tikhon@jelv.is</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>Perhaps <a href="http://tryhaskell.org" target="_blank">tryhaskell.org</a> matches what you're looking for? It comes with an interactive tutorial which might be a good place to start—or, if you want, I'm sure you could use it to set up your own tutorial just by changing the code. However, I think it's mainly interactive and doesn't support writing and loading modules.<br>

<br></div>It's a shame that <a href="http://paste.hskll.org" target="_blank">paste.hskll.org</a> is down, especially because it had support for the diagrams library.<br></div><div class=""><div class="h5"><div class="gmail_extra">
<br></div></div></div></blockquote><div><br></div><div>I moved the service to a new machine because a hard drive in the old one died, but unfortunately I had some trouble restarting the evaluation service (it has to be started in some special way, in an SELinux sandbox). I managed to get it up and running now.</div>
<div><br></div><div>Codeworld is quite cool, but unfortunately Chris' goal of teaching programming with a simplified variant of Haskell might not align with the course's goals of teaching Haskell.</div><div><br></div>
<div>I've mostly finished updating/completing the Gloss backend for GHCJS though. It supports keyboard and mouse input now, so you can really create games with it. The main loop is a bit glitchy still (sometimes draws older frames), it keeps hogging CPU even if the tab is in the background and sprites are not supported yet, so I still have a bit of work to do [1] [2] .</div>
<div><br></div><div>If anyone is interested in setting up a Codeworld instance that uses Gloss instead of Codeworld's own simplified Haskell graphics library, I'd be happy to help. Students should be able to copy/paste their working code in a local file and compile it unchanged with native Gloss to get an application that runs in a GLUT/OpenGL window (and it should be reasonably easy to install that even on Windows now that the Haskell Platform comes with freeglut).</div>
<div><br></div><div>At this point, it's unfortunately not yet possible to easily add a proper REPL easily to projects like Codeworld. Most of the infrastructure is already there (it's used for Template Haskell among other things), but it's missing a front end. Hopefully after GHCJS is (finally) released on Hackage and I've finished the new codegen and filled the biggest holes in the libraries I'll have some time to implement GHCJSi.</div>
<div><br></div><div>luite</div><div><br></div><div>[1] <a href="http://hdiff.luite.com/tmp/boids.jsexe/">http://hdiff.luite.com/tmp/boids.jsexe/</a> (from gloss-examples)</div><div>[2] <a href="http://hdiff.luite.com/tmp/pinhole.jsexe/">http://hdiff.luite.com/tmp/pinhole.jsexe/</a> (by Omar Rizman, posted here: <a href="http://rsnous.com/posts/2014-08-07-pinhole-a-falling-ball-demo.html">http://rsnous.com/posts/2014-08-07-pinhole-a-falling-ball-demo.html</a> )</div>
<div><br></div></div></div></div>