Skip to content
Browse files

Added installation instructions

  • Loading branch information...
1 parent 3f93a55 commit 9bc950fde213027715f0297f1763a9c7c9f5dac6 @spockz spockz committed
Showing with 59 additions and 0 deletions.
  1. +34 −0 _site/index.html
  2. +25 −0 index.md
View
34 _site/index.html
@@ -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>
@@ -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>
View
25 index.md
@@ -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
---------

0 comments on commit 9bc950f

Please sign in to comment.
Something went wrong with that request. Please try again.