The CX+AI licence

The full text ships in every download and is reproduced below, exactly as the bundles carry it. The short version — and the licence text, not this summary, governs:

The five lines above are a plain-words summary and are not binding: the licence text below governs.

The full text, exactly as it ships

This is the same file you will find in the download, reproduced here without a character changed. It is version 1.1, which predates the project's public name, so the text calls the software CX rather than CX+AI — they are the same software. The name in the licence changes at the next release, in the download and on this page together, because a page that read better than the file in the zip would leave two different licences in the world.

CX ("Prelate") SOFTWARE LICENSE
Version of this document: 1.1 (2026-07-24)

This License governs your use of the CX software release identified by its
version string (the "Software" -- the CX compiler and runtime binaries, the
accompanying runtime headers, and this package as distributed). By downloading,
installing, or using the Software you agree to these terms. If you do not agree,
do not install or use the Software.

The Software is made available by Terence Agius ("the Author"). The Author
retains ownership of the Software and of all intellectual property in it. All
rights not expressly granted below are reserved.

    Author:  Terence Agius
    Contact: hello@cxai.plus
    Website: cxai.plus


1. LICENSE GRANT (FREE, INCLUDING COMMERCIAL USE)

   The Author grants you, at no charge, a worldwide, non-exclusive license to
   download, install, and run the Software, and to use it to develop, build,
   and run your own programs -- for any purpose, INCLUDING commercial and
   production use. There is no fee and no seat limit for using the Software.


2. THIS GRANT IS PER-VERSION, PERPETUAL, AND IRREVOCABLE

   The license granted in Section 1 applies to the specific version of the
   Software you have obtained, and for that version it is PERPETUAL and
   IRREVOCABLE: once you have lawfully obtained a given version of the Software,
   your right to keep using that version under these terms cannot be withdrawn.

   Future versions of the Software may be offered under different terms. Those
   terms apply only to those future versions and do not change, reduce, or
   revoke the grant you already hold for a version you obtained under this
   License.


3. YOUR PROGRAMS ARE WHOLLY YOURS

   Programs that you write in the CX language and build with the Software are
   entirely your own. This License places no conditions on your program source
   code, on the executables you build from it, or on how you license, sell,
   distribute, or deploy them. You owe the Author nothing for them, and no CX
   license term attaches to them or to their output. This is true whether your
   program is used privately, distributed, or sold commercially.


4. BUNDLED EXAMPLE CODE (FREE, NO ATTRIBUTION)

   The example programs distributed with the Software (the files under the
   examples/ directory of this package) are provided for you to learn from and
   build on. You may freely use, copy, modify, and incorporate that example
   code -- in whole or in part -- into your own programs, for any purpose
   including commercial use, WITHOUT restriction and WITHOUT any obligation of
   attribution. The restrictions in Section 6 do not apply to the example code.

   (This Section concerns the bundled examples only. The bundled showcase
   application is covered separately by Section 5, and the CX compiler, runtime,
   and headers remain governed by Sections 1, 2, and 6.)


5. BUNDLED SHOWCASE APPLICATION -- "GIGANTICA" (FREE USE WITH ATTRIBUTION)

   The Software is distributed with a showcase application, "Gigantica" -- the CX
   program source under the gigantica/ directory (the .cx and .cxi files that make
   up the game). You may freely use, copy, modify, and incorporate the Gigantica
   material -- in whole or in part -- into your own works, for any purpose
   including commercial use, ON THE FOLLOWING CONDITION:

   Any use or redistribution of the Gigantica material, or of a work that
   incorporates it in whole or in part, must (a) carry visible credit to "CX+AI",
   and (b) include a copy of this Section 5 with the material. Subject to this
   attribution condition your use is otherwise unrestricted, and the restrictions
   in Section 6 do not apply to the Gigantica material.

   This attribution requirement applies ONLY to the Gigantica material. It does
   NOT apply to the example code of Section 4, which remains free of any
   attribution obligation, and it does not apply to the programs you write
   yourself under Section 3.

   The art, font, and 3D-model assets bundled with Gigantica are included so that
   it runs and to demonstrate the Software. Some of those assets may be covered by
   their own third-party licenses, noted in the showcase's README; this Section
   licenses only the CX program code, not those third-party assets, and nothing
   here grants rights in an asset beyond what its own license allows.


6. RESTRICTIONS

   Except as expressly permitted above, you may not:

   (a) Redistribute the Software itself. You may not copy, publish, mirror,
       repackage, sell, sublicense, or otherwise distribute the CX binaries or
       this package to third parties. Direct others to obtain the Software from
       its official source instead. (This does not restrict distributing the
       programs YOU build with it -- see Section 3.)

   (b) Reverse-engineer the Software. You may not decompile, disassemble, or
       otherwise attempt to derive the source code, internal design, or
       implementation of the CX compiler or runtime from the binaries, except
       to the limited extent that applicable law expressly permits despite this
       restriction.

   (c) Use the Software to clone or compete with it. You may not use the
       Software, or any knowledge of its internal design or implementation
       obtained from it, to develop, or to assist a third party in developing,
       a product that reproduces or substantially copies the CX compiler or
       runtime implementation.

       FOR THE AVOIDANCE OF DOUBT: writing a compiler, interpreter, or language
       implementation AS a CX program -- that is, a program authored in the CX
       language and built with the Software -- is expressly permitted and is
       ordinary, legitimate use under Section 1 and Section 3. The restriction
       in this Section 6(c) targets only the copying of CX's OWN binaries or
       design; it does not restrict the general activity of writing compilers
       or language tools with CX.


7. RESERVATION OF RIGHTS

   The Software is licensed, not sold. The Author reserves all rights not
   expressly granted in this License, including all copyright, trade secret,
   and other intellectual-property rights in the Software's source code, design,
   and implementation, none of which are distributed with the Software.


8. NO WARRANTY

   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. YOU USE THE SOFTWARE
   AT YOUR OWN RISK.


9. LIMITATION OF LIABILITY

   TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL THE
   AUTHOR 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.


10. TERMINATION FOR BREACH

   If you materially breach Section 6, the license granted in Section 1
   terminates as to your future use. The perpetual, irrevocable character of the
   grant in Section 2 protects your continued use of a lawfully obtained version
   only for so long as you comply with Section 6; it is not a shield for
   redistributing, reverse-engineering, or cloning the Software.


11. GENERAL

   This License is the entire agreement between you and the Author regarding the
   Software. If any provision is held unenforceable, the remaining provisions
   remain in effect. The Author's failure to enforce any provision is not a
   waiver of it.

---------------------------------------------------------------------------
Author:  Terence Agius   ("the Author")
Contact: hello@cxai.plus
Website: cxai.plus

Obtain the official CX release from cxai.plus.

Questions about the terms, or about source licensing: hello@cxai.plus.