Skip to content

Commit

Permalink
Added installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
spockz committed Feb 17, 2012
1 parent 3f93a55 commit 9bc950f
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
34 changes: 34 additions & 0 deletions _site/index.html
Expand Up @@ -5,6 +5,17 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>The Utrecht Haskell Compiler JavaScript Backend Page</title>
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-28927322-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>

<body>
Expand Down Expand Up @@ -32,6 +43,29 @@ <h2 id='demo'>Demo</h2>

<p>Go to the <a href='http://jcu.chrisdone.com/login'>instance</a>. And log in with username &#8220;uhcjsdemo@example.com&#8221; and password &#8220;123456&#8221;. And check out the <a href='https://github.com/UU-ComputerScience/JCU'>source code</a>. For installation instructions please refer to the section &#8220;Locations and Setup&#8221; in &#8220;Getting Rid of JavaScript with Haskell&#8221;.</p>

<h2 id='installation_instructions'>Installation instructions</h2>

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

<p>Make sure you have the dependencies, also make sure you have GHC installed:</p>

<p><code>bash
cabal install uulib uuagc
</code></p>

<p>Now build the UHC:</p>

<p><code>bash
$&gt; cd somewhere
$&gt; svn co https://subversion.cs.uu.nl/repos/project.UHC.pub/branches/js/EHC ehc
$&gt; cd ehc
$&gt; autoconf
$&gt; ./configure
$&gt; make -j8 101/ehc &amp;&amp; make -j8 101/ehclib EHC_VARIANT_TARGET=js
</code></p>

<p>Optionally perform a <code>make install</code>.</p>

<h2 id='resources'>Resources</h2>

<ul>
Expand Down
25 changes: 25 additions & 0 deletions index.md
Expand Up @@ -34,6 +34,31 @@ code](https://github.com/UU-ComputerScience/JCU). For installation instructions
please refer to the section "Locations and Setup" in "Getting Rid of JavaScript
with Haskell".

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:

``` bash
cabal install uulib uuagc
```

Now build the UHC:

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

Optionally perform a `make install`.

Resources
---------

Expand Down

0 comments on commit 9bc950f

Please sign in to comment.