Correct a trivial typographical error in the guide
[jackhill/mal.git] / LICENSE
1 Copyright (C) 2015 Joel Martin <github@martintribe.org>
2
3 Mal (make-a-lisp) is licensed under the MPL 2.0 (Mozilla Public
4 License 2.0). The text of the MPL 2.0 license is included below and
5 can be found at https://www.mozilla.org/MPL/2.0/
6
7 Many of the implementations run or compile using a line editing
8 library. In some cases, the implementations provide an option in the
9 code to switch between the GNU GPL licensed GNU readline library and
10 the BSD licensed editline (libedit) library.
11
12
13 Mozilla Public License Version 2.0
14 ==================================
15
16 1. Definitions
17 --------------
18
19 1.1. "Contributor"
20 means each individual or legal entity that creates, contributes to
21 the creation of, or owns Covered Software.
22
23 1.2. "Contributor Version"
24 means the combination of the Contributions of others (if any) used
25 by a Contributor and that particular Contributor's Contribution.
26
27 1.3. "Contribution"
28 means Covered Software of a particular Contributor.
29
30 1.4. "Covered Software"
31 means Source Code Form to which the initial Contributor has attached
32 the notice in Exhibit A, the Executable Form of such Source Code
33 Form, and Modifications of such Source Code Form, in each case
34 including portions thereof.
35
36 1.5. "Incompatible With Secondary Licenses"
37 means
38
39 (a) that the initial Contributor has attached the notice described
40 in Exhibit B to the Covered Software; or
41
42 (b) that the Covered Software was made available under the terms of
43 version 1.1 or earlier of the License, but not also under the
44 terms of a Secondary License.
45
46 1.6. "Executable Form"
47 means any form of the work other than Source Code Form.
48
49 1.7. "Larger Work"
50 means a work that combines Covered Software with other material, in
51 a separate file or files, that is not Covered Software.
52
53 1.8. "License"
54 means this document.
55
56 1.9. "Licensable"
57 means having the right to grant, to the maximum extent possible,
58 whether at the time of the initial grant or subsequently, any and
59 all of the rights conveyed by this License.
60
61 1.10. "Modifications"
62 means any of the following:
63
64 (a) any file in Source Code Form that results from an addition to,
65 deletion from, or modification of the contents of Covered
66 Software; or
67
68 (b) any new file in Source Code Form that contains any Covered
69 Software.
70
71 1.11. "Patent Claims" of a Contributor
72 means any patent claim(s), including without limitation, method,
73 process, and apparatus claims, in any patent Licensable by such
74 Contributor that would be infringed, but for the grant of the
75 License, by the making, using, selling, offering for sale, having
76 made, import, or transfer of either its Contributions or its
77 Contributor Version.
78
79 1.12. "Secondary License"
80 means either the GNU General Public License, Version 2.0, the GNU
81 Lesser General Public License, Version 2.1, the GNU Affero General
82 Public License, Version 3.0, or any later versions of those
83 licenses.
84
85 1.13. "Source Code Form"
86 means the form of the work preferred for making modifications.
87
88 1.14. "You" (or "Your")
89 means an individual or a legal entity exercising rights under this
90 License. For legal entities, "You" includes any entity that
91 controls, is controlled by, or is under common control with You. For
92 purposes of this definition, "control" means (a) the power, direct
93 or indirect, to cause the direction or management of such entity,
94 whether by contract or otherwise, or (b) ownership of more than
95 fifty percent (50%) of the outstanding shares or beneficial
96 ownership of such entity.
97
98 2. License Grants and Conditions
99 --------------------------------
100
101 2.1. Grants
102
103 Each Contributor hereby grants You a world-wide, royalty-free,
104 non-exclusive license:
105
106 (a) under intellectual property rights (other than patent or trademark)
107 Licensable by such Contributor to use, reproduce, make available,
108 modify, display, perform, distribute, and otherwise exploit its
109 Contributions, either on an unmodified basis, with Modifications, or
110 as part of a Larger Work; and
111
112 (b) under Patent Claims of such Contributor to make, use, sell, offer
113 for sale, have made, import, and otherwise transfer either its
114 Contributions or its Contributor Version.
115
116 2.2. Effective Date
117
118 The licenses granted in Section 2.1 with respect to any Contribution
119 become effective for each Contribution on the date the Contributor first
120 distributes such Contribution.
121
122 2.3. Limitations on Grant Scope
123
124 The licenses granted in this Section 2 are the only rights granted under
125 this License. No additional rights or licenses will be implied from the
126 distribution or licensing of Covered Software under this License.
127 Notwithstanding Section 2.1(b) above, no patent license is granted by a
128 Contributor:
129
130 (a) for any code that a Contributor has removed from Covered Software;
131 or
132
133 (b) for infringements caused by: (i) Your and any other third party's
134 modifications of Covered Software, or (ii) the combination of its
135 Contributions with other software (except as part of its Contributor
136 Version); or
137
138 (c) under Patent Claims infringed by Covered Software in the absence of
139 its Contributions.
140
141 This License does not grant any rights in the trademarks, service marks,
142 or logos of any Contributor (except as may be necessary to comply with
143 the notice requirements in Section 3.4).
144
145 2.4. Subsequent Licenses
146
147 No Contributor makes additional grants as a result of Your choice to
148 distribute the Covered Software under a subsequent version of this
149 License (see Section 10.2) or under the terms of a Secondary License (if
150 permitted under the terms of Section 3.3).
151
152 2.5. Representation
153
154 Each Contributor represents that the Contributor believes its
155 Contributions are its original creation(s) or it has sufficient rights
156 to grant the rights to its Contributions conveyed by this License.
157
158 2.6. Fair Use
159
160 This License is not intended to limit any rights You have under
161 applicable copyright doctrines of fair use, fair dealing, or other
162 equivalents.
163
164 2.7. Conditions
165
166 Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
167 in Section 2.1.
168
169 3. Responsibilities
170 -------------------
171
172 3.1. Distribution of Source Form
173
174 All distribution of Covered Software in Source Code Form, including any
175 Modifications that You create or to which You contribute, must be under
176 the terms of this License. You must inform recipients that the Source
177 Code Form of the Covered Software is governed by the terms of this
178 License, and how they can obtain a copy of this License. You may not
179 attempt to alter or restrict the recipients' rights in the Source Code
180 Form.
181
182 3.2. Distribution of Executable Form
183
184 If You distribute Covered Software in Executable Form then:
185
186 (a) such Covered Software must also be made available in Source Code
187 Form, as described in Section 3.1, and You must inform recipients of
188 the Executable Form how they can obtain a copy of such Source Code
189 Form by reasonable means in a timely manner, at a charge no more
190 than the cost of distribution to the recipient; and
191
192 (b) You may distribute such Executable Form under the terms of this
193 License, or sublicense it under different terms, provided that the
194 license for the Executable Form does not attempt to limit or alter
195 the recipients' rights in the Source Code Form under this License.
196
197 3.3. Distribution of a Larger Work
198
199 You may create and distribute a Larger Work under terms of Your choice,
200 provided that You also comply with the requirements of this License for
201 the Covered Software. If the Larger Work is a combination of Covered
202 Software with a work governed by one or more Secondary Licenses, and the
203 Covered Software is not Incompatible With Secondary Licenses, this
204 License permits You to additionally distribute such Covered Software
205 under the terms of such Secondary License(s), so that the recipient of
206 the Larger Work may, at their option, further distribute the Covered
207 Software under the terms of either this License or such Secondary
208 License(s).
209
210 3.4. Notices
211
212 You may not remove or alter the substance of any license notices
213 (including copyright notices, patent notices, disclaimers of warranty,
214 or limitations of liability) contained within the Source Code Form of
215 the Covered Software, except that You may alter any license notices to
216 the extent required to remedy known factual inaccuracies.
217
218 3.5. Application of Additional Terms
219
220 You may choose to offer, and to charge a fee for, warranty, support,
221 indemnity or liability obligations to one or more recipients of Covered
222 Software. However, You may do so only on Your own behalf, and not on
223 behalf of any Contributor. You must make it absolutely clear that any
224 such warranty, support, indemnity, or liability obligation is offered by
225 You alone, and You hereby agree to indemnify every Contributor for any
226 liability incurred by such Contributor as a result of warranty, support,
227 indemnity or liability terms You offer. You may include additional
228 disclaimers of warranty and limitations of liability specific to any
229 jurisdiction.
230
231 4. Inability to Comply Due to Statute or Regulation
232 ---------------------------------------------------
233
234 If it is impossible for You to comply with any of the terms of this
235 License with respect to some or all of the Covered Software due to
236 statute, judicial order, or regulation then You must: (a) comply with
237 the terms of this License to the maximum extent possible; and (b)
238 describe the limitations and the code they affect. Such description must
239 be placed in a text file included with all distributions of the Covered
240 Software under this License. Except to the extent prohibited by statute
241 or regulation, such description must be sufficiently detailed for a
242 recipient of ordinary skill to be able to understand it.
243
244 5. Termination
245 --------------
246
247 5.1. The rights granted under this License will terminate automatically
248 if You fail to comply with any of its terms. However, if You become
249 compliant, then the rights granted under this License from a particular
250 Contributor are reinstated (a) provisionally, unless and until such
251 Contributor explicitly and finally terminates Your grants, and (b) on an
252 ongoing basis, if such Contributor fails to notify You of the
253 non-compliance by some reasonable means prior to 60 days after You have
254 come back into compliance. Moreover, Your grants from a particular
255 Contributor are reinstated on an ongoing basis if such Contributor
256 notifies You of the non-compliance by some reasonable means, this is the
257 first time You have received notice of non-compliance with this License
258 from such Contributor, and You become compliant prior to 30 days after
259 Your receipt of the notice.
260
261 5.2. If You initiate litigation against any entity by asserting a patent
262 infringement claim (excluding declaratory judgment actions,
263 counter-claims, and cross-claims) alleging that a Contributor Version
264 directly or indirectly infringes any patent, then the rights granted to
265 You by any and all Contributors for the Covered Software under Section
266 2.1 of this License shall terminate.
267
268 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
269 end user license agreements (excluding distributors and resellers) which
270 have been validly granted by You or Your distributors under this License
271 prior to termination shall survive termination.
272
273 ************************************************************************
274 * *
275 * 6. Disclaimer of Warranty *
276 * ------------------------- *
277 * *
278 * Covered Software is provided under this License on an "as is" *
279 * basis, without warranty of any kind, either expressed, implied, or *
280 * statutory, including, without limitation, warranties that the *
281 * Covered Software is free of defects, merchantable, fit for a *
282 * particular purpose or non-infringing. The entire risk as to the *
283 * quality and performance of the Covered Software is with You. *
284 * Should any Covered Software prove defective in any respect, You *
285 * (not any Contributor) assume the cost of any necessary servicing, *
286 * repair, or correction. This disclaimer of warranty constitutes an *
287 * essential part of this License. No use of any Covered Software is *
288 * authorized under this License except under this disclaimer. *
289 * *
290 ************************************************************************
291
292 ************************************************************************
293 * *
294 * 7. Limitation of Liability *
295 * -------------------------- *
296 * *
297 * Under no circumstances and under no legal theory, whether tort *
298 * (including negligence), contract, or otherwise, shall any *
299 * Contributor, or anyone who distributes Covered Software as *
300 * permitted above, be liable to You for any direct, indirect, *
301 * special, incidental, or consequential damages of any character *
302 * including, without limitation, damages for lost profits, loss of *
303 * goodwill, work stoppage, computer failure or malfunction, or any *
304 * and all other commercial damages or losses, even if such party *
305 * shall have been informed of the possibility of such damages. This *
306 * limitation of liability shall not apply to liability for death or *
307 * personal injury resulting from such party's negligence to the *
308 * extent applicable law prohibits such limitation. Some *
309 * jurisdictions do not allow the exclusion or limitation of *
310 * incidental or consequential damages, so this exclusion and *
311 * limitation may not apply to You. *
312 * *
313 ************************************************************************
314
315 8. Litigation
316 -------------
317
318 Any litigation relating to this License may be brought only in the
319 courts of a jurisdiction where the defendant maintains its principal
320 place of business and such litigation shall be governed by laws of that
321 jurisdiction, without reference to its conflict-of-law provisions.
322 Nothing in this Section shall prevent a party's ability to bring
323 cross-claims or counter-claims.
324
325 9. Miscellaneous
326 ----------------
327
328 This License represents the complete agreement concerning the subject
329 matter hereof. If any provision of this License is held to be
330 unenforceable, such provision shall be reformed only to the extent
331 necessary to make it enforceable. Any law or regulation which provides
332 that the language of a contract shall be construed against the drafter
333 shall not be used to construe this License against a Contributor.
334
335 10. Versions of the License
336 ---------------------------
337
338 10.1. New Versions
339
340 Mozilla Foundation is the license steward. Except as provided in Section
341 10.3, no one other than the license steward has the right to modify or
342 publish new versions of this License. Each version will be given a
343 distinguishing version number.
344
345 10.2. Effect of New Versions
346
347 You may distribute the Covered Software under the terms of the version
348 of the License under which You originally received the Covered Software,
349 or under the terms of any subsequent version published by the license
350 steward.
351
352 10.3. Modified Versions
353
354 If you create software not governed by this License, and you want to
355 create a new license for such software, you may create and use a
356 modified version of this License if you rename the license and remove
357 any references to the name of the license steward (except to note that
358 such modified license differs from this License).
359
360 10.4. Distributing Source Code Form that is Incompatible With Secondary
361 Licenses
362
363 If You choose to distribute Source Code Form that is Incompatible With
364 Secondary Licenses under the terms of this version of the License, the
365 notice described in Exhibit B of this License must be attached.
366
367 Exhibit A - Source Code Form License Notice
368 -------------------------------------------
369
370 This Source Code Form is subject to the terms of the Mozilla Public
371 License, v. 2.0. If a copy of the MPL was not distributed with this
372 file, You can obtain one at http://mozilla.org/MPL/2.0/.
373
374 If it is not possible or desirable to put the notice in a particular
375 file, then You may include the notice in a location (such as a LICENSE
376 file in a relevant directory) where a recipient would be likely to look
377 for such a notice.
378
379 You may add additional accurate notices of copyright ownership.
380
381 Exhibit B - "Incompatible With Secondary Licenses" Notice
382 ---------------------------------------------------------
383
384 This Source Code Form is "Incompatible With Secondary Licenses", as
385 defined by the Mozilla Public License, v. 2.0.
386
387