diff --git a/index.html b/index.html
new file mode 100644
index 0000000000..92f766d013
--- /dev/null
+++ b/index.html
@@ -0,0 +1,150 @@
+
+
+
+
+
+
Js_of_ocaml
+
A compiler from OCaml bytecode to Javascript.
+
It allow to write OCaml programs that run on Web browsers. It is
+ easy to install as it works with an existing installation of OCaml,
+ with no need to recompile any library. It comes with bindings for a
+ large part of the browser APIs.
+
This web-based OCaml toplevel is compiled using Js_of_ocaml.
+
Command
+
+
+
+ Enter/Return |
+ Submit code |
+
+
+ Ctrl + Enter |
+ Newline |
+
+
+ Up / Down |
+ Browse history |
+
+
+ Ctrl + l |
+ Clear display |
+
+
+ Ctrl + k |
+ Reset toplevel |
+
+
+ Tab |
+ Indent code |
+
+
+
+
+
Try to execute samples
+
+
See the generated javascript code
+
+
+
+
+
diff --git a/toplevel.js b/toplevel.js
new file mode 100644
index 0000000000..3d5cf0c9a6
--- /dev/null
+++ b/toplevel.js
@@ -0,0 +1,31471 @@
+// This program was compiled from OCaml by js_of_ocaml 1.99dev
+(function(joo_global_object){"use strict";var
+cU=254,a2=16777215,Iq="ocamlmklib",HD="CamlinternalOO",re=0.5,k6="lor",ah4=293,aai=278,afz="add",aag="Rinherit\n",aah="Ptyp_any\n",xy="caml_js_get",acP="%a = mk_bool(%a >= %a)@.",aaf=":\n ",ru="!",fH=115,fA="[]",afy="