The Haxe project has several licenses, covering different parts of the projects. All of these licenses are well-known free open source software licenses. The intention of the licensing scheme is to permit everybody to use the Haxe language, while keeping the Haxe compiler free open source software.
These are the different licenses used by Haxe :
- The Haxe compiler is released under the GNU General Public License version 2 or any later version (sometimes referred to as GPLv2+). This is made to ensure that the Haxe compiler will remain free open source software.
The license requires the users distributing modified versions of the Haxe compiler to also distribute the source code, licensed under the same license. Therefore distributing proprietary/non-free versions of the Haxe compiler is not allowed.
The Haxe compiler is for the most part written by Nicolas Cannasse.
The license of the compiler does not affect the license of your own source code. If you use Haxe and the Haxe compiler it is not required that you release your work under a free open source software license.
- The Haxe libraries are released under a "two-clause" BSD license. This license grants you the right to use the libraries providing that you accompany your end-product by a copyright notice, a notice of the absence of warranty and the license itself. A less restrictive license than the GPL was chosen here, allowing you to use the libraries in proprietary/non-free software.
Some people within the Haxe community have argued that this license is too restrictive. Especially since virtually all Haxe code depends on these libraries, and therefore may only be built and distributed under the terms of the license (source). During the first Haxe community meeting, it was decided that the libraries will eventually be re-licensed under a different license. (source)
Update: Since Haxe 3, the libraries have been licensed under a more permissive MIT license, which does not require the notices to be reproduced anywhere outside of the actual library code.
- The Neko runtime, used by Haxe (how?), is licensed under the GNU Lesser General Public License version 2.1 or any later version (sometimes referred to as LGPLv2+). This license, like the GPL, requires the users distributing modified versions of the Neko runtime to also distribute the source code, licensed under the same license. However, in some cases the license allows a licensee to use an unmodified version of the licensed code in proprietary/non-free software.
- Nicolas Cannasse
Copyright (C)2005-2013 Haxe Foundation
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
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 OR COPYRIGHT HOLDERS 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.