aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.html
blob: fe0453566775b7b809484e1c7fd4e45cb3d1bbee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<body>
<h2>Run the emscripten compiler in a web page, just for laughs</h2>
Open the web console to see stderr output
<hr>
<pre id="output"></pre>
<script>
  arguments = ['', '../freetype.ll'];
  //arguments = ['', '../tests/cases/phicubed.ll'];

  var outputElement = document.getElementById('output');
  print = function(x) {
    //outputElement.innerHTML += x;
  };
</script>
<script src="compiler.js">
</script>
</body>
</html>