README.md (3580B)
1 # The Hare programming language 2 3 Hare is a systems programming language. 4 5 ## Installation 6 7 For information about bootstrapping a working Hare toolchain from scratch, see 8 [Hare Installation][5] on the website. 9 10 [5]: https://harelang.org/documentation/install/ 11 12 ## Contributing 13 14 All contributors are required to "sign-off" their commits (using `git commit 15 -s`) to indicate that they have agreed to the [Developer Certificate of 16 Origin][dco], reproduced below. 17 18 [dco]: https://developercertificate.org/ 19 20 ``` 21 Developer Certificate of Origin 22 Version 1.1 23 24 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 25 1 Letterman Drive 26 Suite D4700 27 San Francisco, CA, 94129 28 29 Everyone is permitted to copy and distribute verbatim copies of this 30 license document, but changing it is not allowed. 31 32 33 Developer's Certificate of Origin 1.1 34 35 By making a contribution to this project, I certify that: 36 37 (a) The contribution was created in whole or in part by me and I 38 have the right to submit it under the open source license 39 indicated in the file; or 40 41 (b) The contribution is based upon previous work that, to the best 42 of my knowledge, is covered under an appropriate open source 43 license and I have the right under that license to submit that 44 work with modifications, whether created in whole or in part 45 by me, under the same open source license (unless I am 46 permitted to submit under a different license), as indicated 47 in the file; or 48 49 (c) The contribution was provided directly to me by some other 50 person who certified (a), (b) or (c) and I have not modified 51 it. 52 53 (d) I understand and agree that this project and the contribution 54 are public and that a record of the contribution (including all 55 personal information I submit with it, including my sign-off) is 56 maintained indefinitely and may be redistributed consistent with 57 this project or the open source license(s) involved. 58 ``` 59 60 Please [send patches](https://git-send-email.io) to the [hare-dev][hare-dev] 61 mailing list to send your changes upstream. 62 63 [hare-dev]: https://lists.sr.ht/~sircmpwn/hare-dev 64 65 ## Licensing 66 67 We are not your lawyer, but here is a simple explanation of the intention behind 68 the Hare licenses. 69 70 The Hare standard library is available under the terms of the Mozilla Public 71 License (MPL). You can freely link to the standard library with software 72 distributed under any license, but if you modify the standard library, you must 73 release your derivative works under the MPL as well. 74 75 The executables - the build driver, hare, and the compiler, harec, are available 76 under the GPL 3.0 (but *not* any later version). This permits free use and 77 redistribution, but any changes to it require you to share the derivative work 78 under the terms of the GPL. It is stricter than the MPL; if you link to the 79 compiler or build driver code from a third-party program it will require you to 80 release the third-party code as well. 81 82 In short, you can write programs in Hare which use the standard library and 83 distribute those programs under any terms you wish. However, if you modify Hare 84 itself, you must share your changes as well. 85 86 The Hare specification is licensed much more strictly: CC-BY-ND. This license 87 allows free redistribution of the document, but prohibits derivative works 88 entirely. The purpose is to prevent the proliferation of vendor extensions to 89 the language itself. However, these terms only apply to the specification 90 itself: if you use the specification to write an implementation of the Hare 91 language, you are not restricted in how you license your work.