From 49a5e4d7ed58ae5d8dc437a03a5653d219fb654e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 7 Mar 2017 12:16:58 -0500 Subject: Update manual for '-js' --- doc/manual.tex | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/manual.tex b/doc/manual.tex index b65809d0..f6d67f07 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -275,6 +275,8 @@ sqlite3 path/to/database/file Date: Fri, 17 Mar 2017 14:27:47 -0400 Subject: Extend license for tutorial code --- doc/LICENSE | 27 +++++++++++++++++++++++++++ doc/intro.ur | 2 +- doc/tlc.ur | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 doc/LICENSE (limited to 'doc') diff --git a/doc/LICENSE b/doc/LICENSE new file mode 100644 index 00000000..af0d8487 --- /dev/null +++ b/doc/LICENSE @@ -0,0 +1,27 @@ +The code in the tutorials files (intro.ur and tlc.ur), excluding comments, is additionally released under the following license (same as for Ur/Web itself): + +Copyright (c) 2008-2011, Adam Chlipala +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +- Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +- Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +- The names of contributors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/doc/intro.ur b/doc/intro.ur index b08e2395..88b76b38 100644 --- a/doc/intro.ur +++ b/doc/intro.ur @@ -4,7 +4,7 @@ val show_string = mkShow (fn s => "\"" ^ s ^ "\"") (* end *) -(* This tutorial by Adam Chlipala is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License. *) +(* This tutorial by Adam Chlipala is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License. The code, but not the accompanying prose, is also released under the same license as Ur/Web itself. *) (* This is a tutorial for the Ur/Web programming language.

diff --git a/doc/tlc.ur b/doc/tlc.ur index 630dcaab..dac3ce3d 100644 --- a/doc/tlc.ur +++ b/doc/tlc.ur @@ -4,7 +4,7 @@ val show_string = mkShow (fn s => "\"" ^ s ^ "\"") (* end *) -(* This tutorial by Adam Chlipala is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License. *) +(* This tutorial by Adam Chlipala is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License. The code, but not the accompanying prose, is also released under the same license as Ur/Web itself. *) (* The last chapter reviewed some Ur features imported from ML and Haskell. This chapter explores uncharted territory, introducing the features that make Ur unique. *) -- cgit v1.2.3 From da41c11a0f85f14558986710d4396ad71b21641f Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Wed, 12 Jul 2017 15:21:31 -0400 Subject: Document new 'jsModule' .urp directive --- doc/manual.tex | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/manual.tex b/doc/manual.tex index f6d67f07..3d73b948 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -155,6 +155,7 @@ Here is the complete list of directive forms. ``FFI'' stands for ``foreign func \item \texttt{include FILENAME} adds \texttt{FILENAME} to the list of files to be \texttt{\#include}d in C sources. This is most useful for interfacing with new FFI modules. \item \texttt{jsFile FILENAME} asks to serve the contents of a file as JavaScript. All such content is concatenated into a single file, included via a \texttt{