Anonymous avatar Anonymous committed 5ce1d46 Draft

Add license, remove exec perms from eg programs, update revision.

Comments (0)

Files changed (7)

+The contents of the SMITH distribution are distributed under the following
+four licenses.
+
+The documentation (in `README.markdown`) is covered by the following
+BSD-compatible license, modelled after the "Report on the Programming
+Language Haskell 98" license:
+
+-----------------------------------------------------------------------------
+
+  Copyright (c)2000-2012 Chris Pressey, Cat's Eye Technologies.
+
+  The authors intend this Report to belong to the entire SMITH
+  community, and so we grant permission to copy and distribute it for
+  any purpose, provided that it is reproduced in its entirety,
+  including this Notice.  Modified versions of this Report may also be
+  copied and distributed for any purpose, provided that the modified
+  version is clearly presented as such, and that it does not claim to
+  be a definition of the SMITH Programming Language.
+
+-----------------------------------------------------------------------------
+
+The source code for the reference interpreter and supporting tools (in the
+`src` subdirectory) is covered under the following BSD-style license:
+
+-----------------------------------------------------------------------------
+
+   Copyright (c)2000-2012, Chris Pressey, Cat's Eye Technologies.
+   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
+     notices, this list of conditions and the following disclaimer.
+
+     Redistributions in binary form must reproduce the above copyright
+     notices, this list of conditions, and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+
+     Neither the names of the copyright holders nor the names of their
+     contributors may 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 HOLDERS 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.
+
+-----------------------------------------------------------------------------
+
+The files `edit/smith.vim` and `eg/beer.smt` were contributed by
+Rafal M. Sulejman and Nathan Thern respectively, for distribution in the
+SMITH distribution; they are freely distributable unmodified for
+non-commercial purposes, and are thus covered under the following license:
+
+-----------------------------------------------------------------------------
+
+The files identified as "freely redistributable unmodified for non-commercial
+purposes" in this archive (hereinafter "the files") may be redistributed, but
+only if the following conditions are met:
+
+* The files must be distributed as part of the entire, original archive
+  in which they reside;
+* The files must not be modified in any way;
+* The files must not be distributed for commercial gain, or otherwise used
+  for commercial purposes.
+
+The files are copyrighted works; the copyright for each file is held by its
+original author.  Any use of the files beyond the conditions listed above
+must be by explicit written permission of the original author of the file.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+-----------------------------------------------------------------------------
+
+All other example sources in the `eg` directory were written by Chris Pressey,
+and are hereby placed in the public domain, as described in the following
+unlicense:
+
+-----------------------------------------------------------------------------
+
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org/>
 
 **S**elf-**M**odifying **I**ndecent **T**uring **H**ack
 
-Version 2.1-2011.0922. ©2000-2011 Cat's Eye Technologies. All rights
-reserved.
+Version 2.1-2012.0916.  
+Copyright ©2000-2012 Chris Pressey, Cat's Eye Technologies.
+All rights reserved.
 
 * * * * *
 
 
 SMITH v2 also added two directives:
 
-      ; arbitrary text composing a source comment               ; Kilroy was here
+      ; arbitrary text comprising a source comment              ; Kilroy was here
       REP int OPCODE [destination[, source[, length]]]          REP 50 STOP
 
 Explanation
 > > sequence-based version numbers. This version was also known as
 > > "version 2.1 revision 2007.0722" when we dropped that idea. The
 > > current version, which differs mainly in that its documentation
-> > contains this paragraph, is version **2.1-2011.0922**. Your
+> > contains this paragraph, is version **2.1-2012.0916**. Your
 > > knowledge is now complete. Go home.
 
 `BLA` is kind of a special version of `COR` that makes some programming

File contents unchanged.

File contents unchanged.

File contents unchanged.

File contents unchanged.

 
 ### smith.pl ###
 
-# SMITH - Self Modifying Indecent Turing Hack, v2.1-2012.0912
+# SMITH - Self Modifying Indecent Turing Hack, v2.1-2012.0916
 
 # Copyright (c)2000-2012, Chris Pressey, Cat's Eye Technologies.
 # All rights reserved.
 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 
-### SMITH Interpreter v2.1-2012.0912 ###
+### SMITH Interpreter v2.1-2012.0916 ###
 
   ##############################################################
   # "'Look outside,' I said.                                   #
 #          -x       Expand * even in strings (pre-2012 compat)
 #          -y       Use pre-2012-compatible "goofy string literals"
 
-# Changes in SMITH v2.1-2012.0912:
+# Changes in SMITH v2.1-2012.0916:
 # - Fixed a bug reported by Keymaker: creating a string literal
 #   where one of the characters of the string is written into
 #   the same register used in the indirect register reference, e.g.
 
 ### START ###
 
-print "SMITH Interpreter v2.1-2012.0912\n" if not $quiet;
+print "SMITH Interpreter v2.1-2012.0916\n" if not $quiet;
 
 die "No program filename given" if !defined($ARGV[0]) or $ARGV[0] eq '';
 die "Can't find/read file '$ARGV[0]'" if not -r $ARGV[0];
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.