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