Licensing

LCCC uses a dual-license model to clearly separate original contributions from CCC-derived code.

LCCC Contributions

All code authored as part of LCCC — new files, substantial rewrites, benchmark tools, documentation — is licensed under your choice of:

This includes:

CCC-Derived Code

All code derived from the original CCC project is released under the CC0 1.0 Universal (public domain dedication):

CCC was itself released as CC0 by Anthropic.

Mixed Files

Some files in ccc/src/backend/regalloc.rs contain both CCC-original code and LCCC additions. In these files:

When in doubt, check git log --follow -p <file> to see which lines were introduced in which commit.

Using LCCC in Your Project

If you want to use live_range.rs or the regalloc changes in your own project, the MIT license is the most permissive and easiest to comply with. Just keep the copyright notice.

If you need Apache 2.0 (e.g. for explicit patent grant), use that instead.

The CCC-derived portions have no restrictions — CC0 is effectively public domain.