This page is currently under construction. In the mean time please consider looking at the reports Improving the UHC JavaScript Backend (Jurriën Stutterheim) and Getting Rid of JavaScript with Haskell (Alessandro Vermeulen). Also take a look at Haskell: The JavaScript Problem.

A short introduction: how to get started

Please report bugs in the UHC-JS backend or in the UHC-JS library in the GitHub Issue Tracker. Please note that UHC related issues will eventually get their own issue tracker once the UHC has been moved to GitHub. Also consider joining #uhcjs on FreeNode.

Demo

The JCU app discussed in “Getting Rid of JavaScript with Haskell” has been put online by Chris Done.

Go to the instance. And log in with username “uhcjsdemo@example.com” and password “123456”. And check out the source code. For installation instructions please refer to the section “Locations and Setup” in “Getting Rid of JavaScript with Haskell”.

Resources

Installation instructions

Checkout the latest version of the JavaScript branch of UHC. This is somewhat risky but new features will be found here first.

Make sure you have the dependencies, also make sure you have GHC installed:

cabal install uulib uuagc

Now build the UHC:

1 $> cd somewhere
2 $> svn co https://subversion.cs.uu.nl/repos/project.UHC.pub/branches/js/EHC ehc
3 $> cd ehc
4 $> autoconf
5 $> ./configure
6 $> make -j8 101/ehc && make -j8 101/ehclib EHC_VARIANT_TARGET=js

Optionally perform a make install.

Installation script for JCU-HS

An installation script for installing the JCU app together with its dependencies is available from this gist. Currently the script does not build nor install UHC for you.

If you trust us you may run the following command directly from your shell. It will run the installer in your current working directory:

ruby <(curl -s https://raw.github.com/gist/1902090/e2a0508cea4bd4bc3abeed87b054e32e1c99931e/install.rb)

Follow the on screen instructions when running the installer.