Yhc Web Service quietly opened for public testing

Hi, I finally got the Yhc Web Service (web-based front end to the compiler) running in public testing mode. There hasn't been any documentation written, and Haddock stuff not brought in order, but if anyone wants to just get a taste of it, please open this hpaste entry: http://hpaste.org/6094 and follow the instructions. In 10 steps, you'll get Haskell to work in your web browser* ;) No need to install anything. Feel free to edit the source code, and even deliberately make errors to see how error log looks. At the moment, I do not run automatic cleanup of failed compilations. This is one of my old tests, not showing any GUI interaction. However, both documents browser and new entry form were written in Haskell which gives some idea about what can be done. Sources of these forms are in the Yhc repo. Thanks. ----------- * Likely, your results will be better with Firefox than with MSIE. But MSIE should work as well. -- Dimitry Golubovsky Anywhere on the Web

Dimitry,
Wow, that is seriously impressive! I particularly love that the entire
MainGUI interface is written in Haskell with Yhc/Javascript goodness.
Thanks
Neil
On Tue, Mar 4, 2008 at 5:17 AM, Dimitry Golubovsky
Hi,
I finally got the Yhc Web Service (web-based front end to the compiler) running in public testing mode. There hasn't been any documentation written, and Haddock stuff not brought in order, but if anyone wants to just get a taste of it, please open this hpaste entry:
and follow the instructions.
In 10 steps, you'll get Haskell to work in your web browser* ;) No need to install anything.
Feel free to edit the source code, and even deliberately make errors to see how error log looks. At the moment, I do not run automatic cleanup of failed compilations.
This is one of my old tests, not showing any GUI interaction. However, both documents browser and new entry form were written in Haskell which gives some idea about what can be done. Sources of these forms are in the Yhc repo.
Thanks.
----------- * Likely, your results will be better with Firefox than with MSIE. But MSIE should work as well.
-- Dimitry Golubovsky
Anywhere on the Web _______________________________________________ Yhc mailing list Yhc@haskell.org http://www.haskell.org/mailman/listinfo/yhc

Neil,
On 3/4/08, Neil Mitchell
Wow, that is seriously impressive! I particularly love that the entire MainGUI interface is written in Haskell with Yhc/Javascript goodness.
And you may even try to paste its source http://darcs.haskell.org/yhc/src/yhcws/MainGUI.hs into the new entry form and compile. I did that once, and it worked. The only thing to fix is make paths to images and NewEntry.html absolute, e. g. condAtt "error.png" "error_log" "view error log" changes to condAtt "/static/yhcws/error.png" "error_log" "view error log" and so for all images and NewEntry.html. The thing is CouchDB based, and all its "fixed resources" are attachments to the "yhcws" document located in the "static" database, hence the path. Or, entirely different user interface can be written: the database itself just serves JSON objects, all rendering is at the client side. Even more, using the CouchDB module, one may write a submission command line utility. I am going to spend some time on documentation and better examples now. Have fun ;) -- Dimitry Golubovsky Anywhere on the Web
participants (2)
-
Dimitry Golubovsky
-
Neil Mitchell