title: Can GHCJS/Haste compile themselves?
body: <p>If so, then I could let people play around with a project of mine by changing its (Haskell) configuration: recompiling it in the browser, and then rerunning it in the browser. I don't care about speed. I just want to be able to demo a hard-to-setup fundamentally-desktop project in the browser. So possible new users can see if they like it, within seconds and without setup.</p>
  
  <p>How cool would that be!</p>
  
  <p>from what I've read, GHCJS compiles STG into JavaScript. it says it uses the GHC API, so we should be able to compile that into JavaScript too, like any other Haskell library. (right?) Is it true that, while the GHC runtime has a lot of C, the compiler itself is pure Haskell?</p>
  
  <p>so:</p>
  
  <ol>
  <li>Can GHCJS compile itself into JavaScript?</li>
  <li>Can Haste compile itself into JavaScript?</li>
  <li>Have either of these been done? (is that how <a href="http://haste-lang.org/try/" rel="noreferrer">http://haste-lang.org/try/</a> works? It seems to need a network.)</li>
  </ol>