Wed, 11 Jun 2003 18:03:53 +0100
We are using a web server written in Haskell in a production
environment... It only serves dynamic pages - it is
a bit like Tomcat for Haskell... It uses the ghci linker interface to
load object files... but does not compile automatically.
I think it sould be possible to embed ghc into an application, although
I haven't looked at the interface.
Carsten Schultz wrote:
>Ghci and Template Haskell show that it is possible to compile and load
>a module into a running program. Is there a user interface to do
>that? Would one be possible? Would that make a Haskell analog of
>Yaws (yaws.hyber.org) possible?
>For those who don't know Yaws: It is a web server written in Erlang
>that can compile and load Erlang code embedded in HTML files to
>produce dynamic pages. I have played with it a bit, and it seems
>useful to me, but I would prefer Haskell over Erlang.