hanki

Licensing

Hanki is licensed under the Zero-Clause BSD license (0BSD). The full text is in LICENSE.

One license covers everything: the compiler, the bytecode VM, the AOT runtime, the standard library, the tools, the documentation, the grammar, the examples, and the site. There are no exceptions.

The Hanki name is not part of the grant. The license covers the code and the prose; it does not grant permission to use the project's name to identify something else.

What this means for your programs

Nothing is asked of you.

An AOT binary statically links the Hanki runtime and the standard library, and a program run by the VM reaches that same standard library through its bindings. Under 0BSD this changes nothing: there is no notice to reproduce, no source to make available, and no license file to ship next to a binary.

That is true of every way a program leaves your machine:

Your own files carry whatever license you choose, a proprietary one included.

Third-party code

That is true of Hanki's own code. A binary built by hanki build also links Rust dependencies under their own permissive licenses, and those ask for their notices to travel with them; deny.toml is the enforced list of which licenses may appear. Inside this tree, editor/tree-sitter-hanki/src/tree_sitter/parser.h bears tree-sitter's own MIT header.

Contributions

Contributions submitted for inclusion in Hanki are accepted under 0BSD, the same license the project grants, without additional terms.