Browse Source

Initial commit

norikawa 3 years ago
commit
04a381a2c9
2 changed files with 418 additions and 0 deletions
  1. 415
    0
      LICENSE
  2. 3
    0
      README.md

+ 415
- 0
LICENSE View File

@@ -0,0 +1,415 @@
1
+[Work Title]
2
+Copyright [Author] [Year]
3
+
4
+COOPERATIVE SOFTWARE LICENSE
5
+
6
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS
7
+COPYFARLEFT PUBLIC LICENSE ("LICENSE"). THE WORK IS PROTECTED BY
8
+COPYRIGHT AND ALL OTHER APPLICABLE LAWS. ANY USE OF THE WORK OTHER THAN
9
+AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. BY
10
+EXERCISING ANY RIGHTS TO THE WORK PROVIDED IN THIS LICENSE, YOU AGREE
11
+TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE
12
+MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
13
+CONTAINED HERE IN AS CONSIDERATION FOR ACCEPTING THE TERMS AND
14
+CONDITIONS OF THIS LICENSE AND FOR AGREEING TO BE BOUND BY THE TERMS
15
+AND CONDITIONS OF THIS LICENSE.
16
+
17
+1. DEFINITIONS
18
+
19
+          a. "Adaptation" means a work based upon the Work, or upon the
20
+          Work and other pre-existing works, such as a translation,
21
+          adaptation, derivative work, arrangement of music or other
22
+          alterations of a literary or artistic work, or phonogram or
23
+          performance and includes cinematographic adaptations or any
24
+          other form in which the Work may be recast, transformed, or
25
+          adapted including in any form recognizably derived from the
26
+          original, except that a work that constitutes a Collection will
27
+          not be considered an Adaptation for the purpose of this License.
28
+          For the avoidance of doubt, where the Work is a musical work,
29
+          performance or phonogram, the synchronization of the Work in
30
+          timed-relation with a moving image ("synching") will be
31
+          considered an Adaptation for the purpose of this License.
32
+
33
+          b. "Collection" means a collection of literary or artistic
34
+          works, such as encyclopedias and anthologies, or performances,
35
+          phonograms or broadcasts, or other works or subject matter other
36
+          than works listed in Section 1(f) below, which, by reason of the
37
+          selection and arrangement of their contents, constitute
38
+          intellectual creations, in which the Work is included in its
39
+          entirety in unmodified form along with one or more other
40
+          contributions, each constituting separate and independent works
41
+          in themselves, which together are assembled into a collective
42
+          whole. A work that constitutes a Collection will not be
43
+          considered an Adaptation (as defined above) for the purposes of
44
+          this License.
45
+
46
+          c. "Distribute" means to make available to the public the
47
+          original and copies of the Work or Adaptation, as appropriate,
48
+          through sale, gift or any other transfer of possession or
49
+          ownership.
50
+
51
+          d. "Licensor" means the individual, individuals, entity or
52
+          entities that offer(s) the Work under the terms of this License.
53
+
54
+          e. "Original Author" means, in the case of a literary or
55
+          artistic work, the individual, individuals, entity or entities
56
+          who created the Work or if no individual or entity can be
57
+          identified, the publisher; and in addition (i) in the case of a
58
+          performance the actors, singers, musicians, dancers, and other
59
+          persons who act, sing, deliver, declaim, play in, interpret or
60
+          otherwise perform literary or artistic works or expressions of
61
+          folklore; (ii) in the case of a phonogram the producer being the
62
+          person or legal entity who first fixes the sounds of a
63
+          performance or other sounds; and, (iii) in the case of
64
+
65
+          f. "Work" means the literary and/or artistic work offered under
66
+          the terms of this License including without limitation any
67
+          production in the literary, scientific and artistic domain,
68
+          whatever may be the mode or form of its expression including
69
+          digital form, such as a book, pamphlet and other writing; a
70
+          lecture, address, sermon or other work of the same nature; a
71
+          dramatic or dramatico-musical work; a choreographic work or
72
+          entertainment in dumb show; a musical composition with or
73
+          without words; a cinematographic work to which are assimilated
74
+          works expressed by a process analogous to cinematography; a work
75
+          of drawing, painting, architecture, sculpture, engraving or
76
+          lithography; a photographic work to which are assimilated works
77
+          expressed by a process analogous to photography; a work of
78
+          applied art; an illustration, map, plan, sketch or
79
+          three-dimensional work relative to geography, topography,
80
+          architecture or science; a performance; a broadcast; a
81
+          phonogram; a compilation of data to the extent it is protected
82
+          as a copyrightable work; or a work performed by a variety or
83
+          circus performer to the extent it is not otherwise considered a
84
+          literary or artistic work.
85
+
86
+          g. "You" means an individual or entity exercising rights under
87
+          this License who has not previously violated the terms of this
88
+          License with respect to the Work, or who has received express
89
+          permission from the Licensor to exercise rights under this
90
+          License despite a previous violation.
91
+
92
+          h. "Publicly Perform" means to perform public recitations of the
93
+          Work and to communicate to the public those public recitations,
94
+          by any means or process, including by wire or wireless means or
95
+          public digital performances; to make available to the public
96
+          Works in such a way that members of the public may access these
97
+          Works from a place and at a place individually chosen by them;
98
+          to perform the Work to the public by any means or process and
99
+          the communication to the public of the performances of the Work,
100
+          including by public digital performance; to broadcast and
101
+          rebroadcast the Work by any means including signs, sounds or
102
+          images.
103
+
104
+          i. "Reproduce" means to make copies of the Work by any means
105
+          including without limitation by sound or visual recordings and
106
+          the right of fixation and reproducing fixations of the Work,
107
+          including storage of a protected performance or phonogram in
108
+          digital form or other electronic medium.
109
+
110
+          j. "Software" means any digital Work which, through use of a
111
+          third-party piece of Software or through the direct usage of
112
+          itself on a computer system, the memory of the computer is
113
+          modified dynamically or semi-dynamically. "Software",
114
+          secondly, processes or interprets information.
115
+
116
+          k. "Source Code" means the human-readable form of Software
117
+          through which the Original Author and/or Distributor originally
118
+          created, derived, and/or modified it.
119
+
120
+          l. "Web Service" means the use of a piece of Software to
121
+          interpret or modify information that is subsequently and directly
122
+          served to users over the Internet.
123
+
124
+2. FAIR DEALING RIGHTS
125
+
126
+   Nothing in this License is intended to reduce, limit, or restrict any
127
+   uses free from copyright or rights arising from limitations or
128
+   exceptions that are provided for in connection with the copyright
129
+   protection under copyright law or other applicable laws.
130
+
131
+3. LICENSE GRANT
132
+
133
+   Subject to the terms and conditions of this License, Licensor hereby
134
+   grants You a worldwide, royalty-free, non-exclusive, perpetual (for the
135
+   duration of the applicable copyright) license to exercise the rights in
136
+   the Work as stated below:
137
+
138
+          a. to Reproduce the Work, to incorporate the Work into one or
139
+          more Collections, and to Reproduce the Work as incorporated in
140
+          the Collections;
141
+
142
+          b. to create and Reproduce Adaptations provided that any such
143
+          Adaptation, including any translation in any medium, takes
144
+          reasonable steps to clearly label, demarcate or otherwise
145
+          identify that changes were made to the original Work. For
146
+          example, a translation could be marked "The original work was
147
+          translated from English to Spanish," or a modification could
148
+          indicate "The original work has been modified.";
149
+
150
+          c. to Distribute and Publicly Perform the Work including as
151
+          incorporated in Collections; and,
152
+
153
+          d. to Distribute and Publicly Perform Adaptations. The above
154
+          rights may be exercised in all media and formats whether now
155
+          known or hereafter devised. The above rights include the right
156
+          to make such modifications as are technically necessary to
157
+          exercise the rights in other media and formats. Subject to
158
+          Section 8(g), all rights not expressly granted by Licensor are
159
+          hereby reserved, including but not limited to the rights set
160
+          forth in Section 4(h).
161
+
162
+4. RESTRICTIONS
163
+
164
+   The license granted in Section 3 above is expressly made subject to and
165
+   limited by the following restrictions:
166
+
167
+          a. You may Distribute or Publicly Perform the Work only under
168
+          the terms of this License. You must include a copy of, or the
169
+          Uniform Resource Identifier (URI) for, this License with every
170
+          copy of the Work You Distribute or Publicly Perform. You may not
171
+          offer or impose any terms on the Work that restrict the terms of
172
+          this License or the ability of the recipient of the Work to
173
+          exercise the rights granted to that recipient under the terms of
174
+          the License. You may not sublicense the Work. You must keep
175
+          intact all notices that refer to this License and to the
176
+          disclaimer of warranties with every copy of the Work You
177
+          Distribute or Publicly Perform. When You Distribute or Publicly
178
+          Perform the Work, You may not impose any effective technological
179
+          measures on the Work that restrict the ability of a recipient of
180
+          the Work from You to exercise the rights granted to that
181
+          recipient under the terms of the License. This Section 4(a)
182
+          applies to the Work as incorporated in a Collection, but this
183
+          does not require the Collection apart from the Work itself to be
184
+          made subject to the terms of this License. If You create a
185
+          Collection, upon notice from any Licensor You must, to the
186
+          extent practicable, remove from the Collection any credit as
187
+          required by Section 4(f), as requested. If You create an
188
+          Adaptation, upon notice from any Licensor You must, to the
189
+          extent practicable, remove from the Adaptation any credit as
190
+          required by Section 4(f), as requested.
191
+
192
+          b. Subject to the exception in Section 4(e), you may not
193
+          exercise any of the rights granted to You in Section 3 above in
194
+          any manner that is primarily intended for or directed toward
195
+          commercial advantage or private monetary compensation. The
196
+          exchange of the Work for other copyrighted works by means of
197
+          digital file-sharing or otherwise shall not be considered to be
198
+          intended for or directed toward commercial advantage or private
199
+          monetary compensation, provided there is no payment of any
200
+          monetary compensation in connection with the exchange of
201
+          copyrighted works.
202
+
203
+          c. If the Work meets the definition of Software, You may exercise
204
+          the rights granted in Section 3 only if You provide a copy of the
205
+          corresponding Source Code from which the Work was derived in digital
206
+          form, or You provide a URI for the corresponding Source Code of
207
+          the Work, to any recipients upon request.
208
+
209
+          d. If the Work is used as or for a Web Service, You may exercise
210
+          the rights granted in Section 3 only if You provide a copy of the
211
+          corresponding Source Code from which the Work was derived in digital
212
+          form, or You provide a URI for the corresponding Source Code to the
213
+          Work, to any recipients of the data served or modified by the Web
214
+          Service.
215
+
216
+          e. You may exercise the rights granted in Section 3 for
217
+          commercial purposes only if you statisy any of the following:
218
+
219
+                i. You are a worker-owned business or worker-owned
220
+                collective; and
221
+                ii.  after tax, all financial gain, surplus, profits and 
222
+                benefits produced by the business or collective are
223
+                distributed among the worker-owners
224
+		iii. You are not using such rights on behalf of a business
225
+		other than those specified in 4(e.i) and elaborated upon in
226
+                4(e.ii), nor are using such rights as a proxy on behalf of a
227
+                business with the intent to circumvent the aformentioned
228
+                restrictions on such a business.
229
+
230
+          f. Any use by a business that is privately owned and managed,
231
+          and that seeks to generate profit from the labor of employees
232
+          paid by salary or other wages, is not permitted under this
233
+          license.
234
+
235
+          g. If You Distribute, or Publicly Perform the Work or any
236
+          Adaptations or Collections, You must, unless a request has been
237
+          made pursuant to Section 4(a), keep intact all copyright notices
238
+          for the Work and provide, reasonable to the medium or means You
239
+          are utilizing: (i) the name of the Original Author (or
240
+          pseudonym, if applicable) if supplied, and/or if the Original
241
+          Author and/or Licensor designate another party or parties (e.g.,
242
+          a sponsor institute, publishing entity, journal) for attribution
243
+          ("Attribution Parties") in Licensor!s copyright notice, terms of
244
+          service or by other reasonable means, the name of such party or
245
+          parties; (ii) the title of the Work if supplied; (iii) to the
246
+          extent reasonably practicable, the URI, if any, that Licensor
247
+          specifies to be associated with the Work, unless such URI does
248
+          not refer to the copyright notice or licensing information for
249
+          the Work; and, (iv) consistent with Section 3(b), in the case of
250
+          an Adaptation, a credit identifying the use of the Work in the
251
+          Adaptation (e.g., "French translation of the Work by Original
252
+          Author," or "Screenplay based on original Work by Original
253
+          Author"). The credit required by this Section 4(f) may be
254
+          implemented in any reasonable manner; provided, however, that in
255
+          the case of a Adaptation or Collection, at a minimum such credit
256
+          will appear, if a credit for all contributing authors of the
257
+          Adaptation or Collection appears, then as part of these credits
258
+          and in a manner at least as prominent as the credits for the
259
+          other contributing authors. For the avoidance of doubt, You may
260
+          only use the credit required by this Section for the purpose of
261
+          attribution in the manner set out above and, by exercising Your
262
+          rights under this License, You may not implicitly or explicitly
263
+          assert or imply any connection with, sponsorship or endorsement
264
+          by the Original Author, Licensor and/or Attribution Parties, as
265
+          appropriate, of You or Your use of the Work, without the
266
+          separate, express prior written permission of the Original
267
+          Author, Licensor and/or Attribution Parties.
268
+
269
+          h. For the avoidance of doubt:
270
+
271
+                i. Non-waivable Compulsory License Schemes. In those
272
+                jurisdictions in which the right to collect royalties
273
+                through any statutory or compulsory licensing scheme
274
+                cannot be waived, the Licensor reserves the exclusive
275
+                right to collect such royalties for any exercise by You of
276
+                the rights granted under this License;
277
+
278
+                ii. Waivable Compulsory License Schemes. In those
279
+                jurisdictions in which the right to collect royalties
280
+                through any statutory or compulsory licensing scheme can
281
+                be waived, the Licensor reserves the exclusive right to
282
+                collect such royalties for any exercise by You of the
283
+                rights granted under this License if Your exercise of such
284
+                rights is for a purpose or use which is otherwise than
285
+                noncommercial as permitted under Section 4(b) and
286
+                otherwise waives the right to collect royalties through
287
+                any statutory or compulsory licensing scheme; and,
288
+                iii.Voluntary License Schemes. The Licensor reserves the
289
+                right to collect royalties, whether individually or, in
290
+                the event that the Licensor is a member of a collecting
291
+                society that administers voluntary licensing schemes, via
292
+                that society, from any exercise by You of the rights
293
+                granted under this License that is for a purpose or use
294
+                which is otherwise than noncommercial as permitted under
295
+                Section 4(b).
296
+
297
+          i. Except as otherwise agreed in writing by the Licensor or as
298
+          may be otherwise permitted by applicable law, if You Reproduce,
299
+          Distribute or Publicly Perform the Work either by itself or as
300
+          part of any Adaptations or Collections, You must not distort,
301
+          mutilate, modify or take other derogatory action in relation to
302
+          the Work which would be prejudicial to the Original Author's
303
+          honor or reputation. Licensor agrees that in those jurisdictions
304
+          (e.g. Japan), in which any exercise of the right granted in
305
+          Section 3(b) of this License (the right to make Adaptations)
306
+          would be deemed to be a distortion, mutilation, modification or
307
+          other derogatory action prejudicial to the Original Author's
308
+          honor and reputation, the Licensor will waive or not assert, as
309
+          appropriate, this Section, to the fullest extent permitted by
310
+          the applicable national law, to enable You to reasonably
311
+          exercise Your right under Section 3(b) of this License (right to
312
+          make Adaptations) but not otherwise.
313
+
314
+5. REPRESENTATIONS, WARRANTIES AND DISCLAIMER
315
+
316
+   UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
317
+   OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
318
+   KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
319
+   INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
320
+   FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
321
+   LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF
322
+   ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW
323
+   THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO
324
+   YOU.
325
+
326
+6. LIMITATION ON LIABILITY
327
+
328
+   EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL
329
+   LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL,
330
+   INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF
331
+   THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED
332
+   OF THE POSSIBILITY OF SUCH DAMAGES.
333
+
334
+7. TERMINATION
335
+
336
+          a. This License and the rights granted hereunder will terminate
337
+          automatically upon any breach by You of the terms of this
338
+          License. Individuals or entities who have received Adaptations
339
+          or Collections from You under this License, however, will not
340
+          have their licenses terminated provided such individuals or
341
+          entities remain in full compliance with those licenses. Sections
342
+          1, 2, 5, 6, 7, and 8 will survive any termination of this
343
+          License.
344
+
345
+          b. Subject to the above terms and conditions, the license
346
+          granted here is perpetual (for the duration of the applicable
347
+          copyright in the Work). Notwithstanding the above, Licensor
348
+          reserves the right to release the Work under different license
349
+          terms or to stop distributing the Work at any time; provided,
350
+          however that any such election will not serve to withdraw this
351
+          License (or any other license that has been, or is required to
352
+          be, granted under the terms of this License), and this License
353
+          will continue in full force and effect unless terminated as
354
+          stated above.
355
+
356
+8. MISCELLANEOUS
357
+
358
+          a. Each time You Distribute or Publicly Perform the Work or a
359
+          Collection, the Licensor offers to the recipient a license to
360
+          the Work on the same terms and conditions as the license granted
361
+          to You under this License.
362
+
363
+          b. Each time You Distribute or Publicly Perform an Adaptation,
364
+          Licensor offers to the recipient a license to the original Work
365
+          on the same terms and conditions as the license granted to You
366
+          under this License.
367
+
368
+          c. If the Work is classified as Software, each time You Distribute
369
+          or Publicly Perform an Adaptation, Licensor offers to the recipient
370
+          a copy and/or URI of the corresponding Source Code on the same
371
+          terms and conditions as the license granted to You under this License.
372
+
373
+          d. If the Work is used as a Web Service, each time You Distribute
374
+          or Publicly Perform an Adaptation, or serve data derived from the
375
+          Software, the Licensor offers to any recipients of the data a copy
376
+          and/or URI of the corresponding Source Code on the same terms and
377
+          conditions as the license granted to You under this License.
378
+
379
+          e. If any provision of this License is invalid or unenforceable
380
+          under applicable law, it shall not affect the validity or
381
+          enforceability of the remainder of the terms of this License,
382
+          and without further action by the parties to this agreement,
383
+          such provision shall be reformed to the minimum extent necessary
384
+          to make such provision valid and enforceable.
385
+
386
+          f. No term or provision of this License shall be deemed waived
387
+          and no breach consented to unless such waiver or consent shall
388
+          be in writing and signed by the party to be charged with such
389
+          waiver or consent.
390
+
391
+          g. This License constitutes the entire agreement between the
392
+          parties with respect to the Work licensed here. There are no
393
+          understandings, agreements or representations with respect to
394
+          the Work not specified here. Licensor shall not be bound by any
395
+          additional provisions that may appear in any communication from
396
+          You. This License may not be modified without the mutual written
397
+          agreement of the Licensor and You.
398
+
399
+          h. The rights granted under, and the subject matter referenced,
400
+          in this License were drafted utilizing the terminology of the
401
+          Berne Convention for the Protection of Literary and Artistic
402
+          Works (as amended on September 28, 1979), the Rome Convention of
403
+          1961, the WIPO Copyright Treaty of 1996, the WIPO Performances
404
+          and Phonograms Treaty of 1996 and the Universal Copyright
405
+          Convention (as revised on July 24, 1971). These rights and
406
+          subject matter take effect in the relevant jurisdiction in which
407
+          the License terms are sought to be enforced according to the
408
+          corresponding provisions of the implementation of those treaty
409
+          provisions in the applicable national law. If the standard suite
410
+          of rights granted under applicable copyright law includes
411
+          additional rights not granted under this License, such
412
+          additional rights are deemed to be included in the License; this
413
+          License is not intended to restrict the license of any rights
414
+          under applicable law.
415
+

+ 3
- 0
README.md View File

@@ -0,0 +1,3 @@
1
+# cryo
2
+
3
+A lisp-like language, implemented using Crystal

Loading…
Cancel
Save