SpireCore is a component of SpireStudio responsible for processing and converting logic written in XML into the Rust programming language. It operates as a transpiler that sequentially analyzes the XML structure, interprets block definitions, and executes the instructions assigned to them to generate the resulting source code.
Caution
SpireCore is under active development.
APIs, XML structure, and module interfaces may change.
Not recommended for production use yet.
SpireCore can be used anywhere behavior and logic are described in a declarative manner and appropriate modules are available. Example use cases include:
- Games and interactive experiences
- Desktop applications
- Servers and backends
- CLI tools
- Graphics and multimedia
- Data analysis
- Automation and scripting
- Simulations
- And much more...
Example logic written in XML:
<on_start>
<log>
<value>"Hello world!"</value>
</log>
</on_start>After being processed by SpireCore and running the generated code, the following will be printed to the terminal:
Hello world!
- Better error messages
- Fix module conflicts
- Python support
- Cross-compilation
- Asynchronous code
SpireCore is distributed under the SRLv1.0 license — a proprietary source-available license.
Since I respect your time, here is a brief summary of what you can and cannot do, and other things you agree to under this license:
✅ You Can:
- Build and customize your projects using the SpireLite Ecosystem.
- Release games and applications created in this ecosystem under any license of your choice.
- Freely sell and commercialize your projects (games/software) created using these tools (requires a registered account).
- Modify the Tools' source code and distribute modifications under SRLv1.0.
- Use the Tools for hobby and non-commercial projects without registering an account.
❌ You Cannot:
- Use the source code or documentation to train AI models and Machine Learning systems (e.g., LLMs).
- Create "commercial forks" – you cannot repackage or sell the tools as a standalone engine or competing product.
- Sell plugins, modules, or extensions designed for the SpireLite ecosystem (all such additions must be distributed at no cost).
- Remove or modify the SpireLite metadata automatically embedded in compiled binaries without written permission.
🧠 Good to Know:
- Revenue Sharing: The obligation to pay 4% of revenue only applies after exceeding $40,000 USD in annual gross revenue (calculated across all your projects and affiliated entities).
- Reporting Threshold: You must submit an annual revenue report if your gross revenue exceeds $4,000 USD, even if no payment is due.
- License Versioning: When a new license version is released, you have a 360-day grace period to update existing projects. New projects must always use the latest version.
- Dispute Resolution: If you disagree with a decision, you can always appeal via email or through our official Discord server.
Please note: This summary is provided for convenience and informational purposes only. The full text of the SRLv1.0 License is the sole legally binding document.
Can I use SpireCore as a standalone CLI tool?
While possible, SpireCore is primarily designed as the backend for SpireStudio. For the best experience, we recommend using the Studio.
Why Rust?
We chose Rust for its performance and memory safety, ensuring that logic is as fast and reliable as possible. Additionally we also plan to implement Python support to enable the rapid startup times essential for a smooth development workflow.
I have a question not listed here!
I'm open to feedback and questions. Feel free to open a Discussion or reach out to me directly – I’ll be happy to help!
