Permalink
Browse files

copyrights, miscellany

git-svn-id: http://ocamljs.googlecode.com/svn/trunk@158 27578800-e353-0410-a23a-a7c9f63c6ccd
  • Loading branch information...
1 parent 2fe400c commit fe7ebed005e239f6d029071c3e69ee76f9d58011 Jake Donham committed Mar 31, 2009
View
@@ -1,13 +1,13 @@
In the following, "the Library" refers to all files marked "Copyright
-(C) 2007 Skydeck, Inc" in the following directories and their
+(C) 2007-9 Skydeck, Inc" in the following directories and their
sub-directories:
- src/libs
+ src/ (excluding src/jscomp)
-and "the Compiler" refers to all files marked "Copyright (C) 2007
+and "the Compiler" refers to all files marked "Copyright (C) 2007-9
Skydeck, Inc" in the following directories and their sub-directories:
- src/ocamljs
+ src/jscomp
The Compiler is distributed under the terms of the Q Public License
version 1.0 with a change to choice of law (included below).
View
@@ -41,4 +41,4 @@ examples:
gcode:
rsync -a --delete --exclude '.svn/' doc/ ../doc/
- rsync -a --delete --exclude '.svn/' --include '*/' --include '*.html' --include '*.js' --include '*.css' --include '*.png' --exclude '*' examples/ ../examples/
+ rsync -a --delete --exclude '.svn/' --include '*/' --include '*.html' --include '*.ml' --include '*.js' --include '*.css' --include '*.png' --exclude '*' examples/ ../examples/
View
10 README
@@ -1,2 +1,8 @@
-This is ocamljs, a Javascript back-end for ocamlc, version 0.1. See
-doc/index.html for details and installation instructions.
+This is ocamljs, a Javascript back-end for ocamlc. See
+
+ http://code.google.com/p/ocamljs/
+
+for details and installation instructions.
+
+Ocamljs is written by Jake Donham with contributions from Haoyang Wang
+and Mike Wells.
View
3 TODO
@@ -43,7 +43,4 @@ jscomp
all
docs, wiki
- links to source in example index page
- IFDEF DEBUG console on all examples
check readmes and licenses
- clean up compile warnings
View
@@ -41,7 +41,7 @@ get_path () {
# defaults:
set_defaults () {
- srcdir="/usr/local/src/ocaml-3.10.2"
+ srcdir="/usr/local/src/ocaml-3.11.0"
bindir=`dirname $ocamlc`
libdir=`ocamlc -where`
}
View
@@ -11,12 +11,12 @@ <h3>Dom</h3>
<li>
<a href="dom/canvas/index.html">canvas</a>, a simple example taken from
the <a href="https://developer.mozilla.org/En/Canvas_tutorial">Mozilla
- canvas tutorial</a>.
+ canvas tutorial</a>. (<a href="dom/canvas/">source</a>)
</li>
<li>
<a href="dom/minesweeper/index.html">minesweeper</a>, adapted from
the <a href="http://www.pps.jussieu.fr/~canou/obrowser/examples/minesweeper/">O'Browser
- example</a>.
+ example</a>. (<a href="dom/minesweeper/">source</a>)
</li>
</ul>
@@ -28,24 +28,24 @@ <h3>Froc-dom</h3>
</p>
<ul>
<li>
- <a href="froc-dom/clicks/index.html">clicks</a>
+ <a href="froc-dom/clicks/index.html">clicks</a> (<a href="froc-dom/clicks/">source</a>)
</li>
<li>
<a href="froc-dom/wheres-the-mouse/index.html">wheres-the-mouse</a>,
adapted from
the <a href="http://www.flapjax-lang.org/demos/wheres-the-mouse/">Flapjax
- demo</a>.
+ demo</a>. (<a href="froc-dom/wheres-the-mouse/">source</a>)
</li>
<li>
<a href="froc-dom/follow-the-mouse/index.html">follow-the-mouse</a>,
adapted from
the <a href="http://www.flapjax-lang.org/demos/follow-the-mouse/">Flapjax
- demo</a>.
+ demo</a>. (<a href="froc-dom/follow-the-mouse/">source</a>)
</li>
<li>
<a href="froc-dom/orbit-mouse/index.html">orbit-mouse</a>, adapted from
the <a href="http://docs.plt-scheme.org/frtime/">FrTime</a>
- example.
+ example. (<a href="froc-dom/orbit-mouse/">source</a>)
</li>
</ul>
@@ -58,9 +58,9 @@ <h3>Gears</h3>
Gears <a href="http://code.google.com/apis/gears/sample.html">samples</a>.
</p>
<ul>
- <li><a href="gears/database/index.html">database</a></li>
- <li><a href="gears/file_system/index.html">file_system</a></li>
- <li><a href="gears/geolocation/index.html">geolocation</a></li>
+ <li><a href="gears/database/index.html">database</a> (<a href="gears/database/">source</a>)</li>
+ <li><a href="gears/file_system/index.html">file_system</a> (<a href="gears/file_system/">source</a>)</li>
+ <li><a href="gears/geolocation/index.html">geolocation</a> (<a href="gears/geolocation/">source</a>)</li>
</ul>
</body>
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
type interval_id
type timeout_id
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
(** Browser DOM binding *)
(**
[Dom] is a partial binding of the browser DOM, taken from Dynamic
View
@@ -1,3 +1,28 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
+(** Google Gears binding *)
+(**
+ [Gears] is a binding of the Google Gears API.
+*)
+
class type factory =
object
method create : string -> < .. >
@@ -1,6 +1,6 @@
(*
* This file is part of ocamljs, OCaml to Javascript compiler
- * Copyright (C) 2007 Skydeck, Inc
+ * Copyright (C) 2007-9 Skydeck, Inc
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -1,6 +1,6 @@
(*
* This file is part of ocamljs, OCaml to Javascript compiler
- * Copyright (C) 2007 Skydeck, Inc
+ * Copyright (C) 2007-9 Skydeck, Inc
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
type unop =
| Jdelete
| Jvoid
View
@@ -1,13 +1,21 @@
(*
* This file is part of ocamljs, OCaml to Javascript compiler
- * Copyright (C) 2007 Skydeck, Inc
+ * Copyright (C) 2007-9 Skydeck, Inc
*
- * This program is free software released under the QPL.
- * See LICENSE for more details.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
*
- * The Software is provided AS IS with NO WARRANTY OF ANY KIND,
- * INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE.
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
*)
open Camlp4.PreCast
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
type loc = Camlp4.PreCast.Loc.t
INCLUDE "../jslib_ast.incl"
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
(* adapted from CDuce parser/ulexer.ml and camlp4/Camlp4/Struct/Lexer.mll *)
open Camlp4.PreCast
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
(* adapted from CDuce parser/ulexer.mli *)
open Camlp4.Sig
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
module Gram = Camlp4.Struct.Grammar.Static.Make(Jslib_lexer)
open Jslib_lexer
View
@@ -1,3 +1,23 @@
+(*
+ * This file is part of ocamljs, OCaml to Javascript compiler
+ * Copyright (C) 2007-9 Skydeck, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA
+ *)
+
module Gram :
sig
module Loc :
Oops, something went wrong.

0 comments on commit fe7ebed

Please sign in to comment.