aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.html
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-01 17:45:31 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-01 17:45:31 -0800
commit12e85d4ab3fb0447d60165c6ca00296ae0fce9ce (patch)
tree866ec6b3c85706d96af23dccec745336d25692a7 /src/compiler.html
parent40ba40ebb65f14bf51a229f4b799164f1c24caaf (diff)
support for running emscripten in the browser
Diffstat (limited to 'src/compiler.html')
-rw-r--r--src/compiler.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/compiler.html b/src/compiler.html
new file mode 100644
index 00000000..69724076
--- /dev/null
+++ b/src/compiler.html
@@ -0,0 +1,14 @@
+<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 = ['', '../tests/cases/phicubed.ll'];
+</script>
+<script src="compiler.js">
+</script>
+</body>
+</html>
+